Searched refs:mut (Results 1 – 5 of 5) sorted by relevance
58 struct mutex mut; member98 static DEFINE_MUTEX(mut);119 mutex_lock(&mut); in ucma_get_ctx()123 mutex_unlock(&mut); in ucma_get_ctx()152 mutex_lock(&mut); in ucma_alloc_ctx()154 mutex_unlock(&mut); in ucma_alloc_ctx()182 mutex_lock(&mut); in ucma_alloc_multicast()184 mutex_unlock(&mut); in ucma_alloc_multicast()268 mutex_lock(&ctx->file->mut); in ucma_event_handler()292 mutex_unlock(&ctx->file->mut); in ucma_event_handler()[all …]
44 mut() in mut() function114 RLock _(mut()); in __find_c_from_i()125 WLock _(mut()); in __insert_ic()148 WLock _(mut()); in __insert_c()196 WLock _(mut()); in __erase_i()229 WLock _(mut()); in __invalidate_all()255 mut().lock(); in __find_c_and_lock()260 mut().unlock(); in __find_c_and_lock()269 mut().unlock(); in __find_c_and_lock()279 mut().unlock(); in __find_c_and_lock()[all …]
219 static pthread_mutex_t mut = PTHREAD_MUTEX_INITIALIZER; variable246 pthread_mutex_lock(&mut); in __call_once()248 pthread_cond_wait(&cv, &mut); in __call_once()256 pthread_mutex_unlock(&mut); in __call_once()258 pthread_mutex_lock(&mut); in __call_once()260 pthread_mutex_unlock(&mut); in __call_once()266 pthread_mutex_lock(&mut); in __call_once()268 pthread_mutex_unlock(&mut); in __call_once()275 pthread_mutex_unlock(&mut); in __call_once()
135 pthread_mutex_t mut; member161 static pthread_mutex_t mut = PTHREAD_MUTEX_INITIALIZER; variable216 pthread_mutex_lock(&mut); in ucma_init()218 pthread_mutex_unlock(&mut); in ucma_init()263 pthread_mutex_unlock(&mut); in ucma_init()274 pthread_mutex_unlock(&mut); in ucma_init()357 pthread_mutex_destroy(&id_priv->mut); in ucma_free_id()377 pthread_mutex_init(&id_priv->mut, NULL); in ucma_alloc_id()452 pthread_mutex_lock(&id_priv->mut); in rdma_destroy_id()454 pthread_cond_wait(&id_priv->cond, &id_priv->mut); in rdma_destroy_id()[all …]
68 static pthread_mutex_t mut = PTHREAD_MUTEX_INITIALIZER; variable121 pthread_mutex_t mut; member153 pthread_mutex_lock(&mut); in ucm_init()156 pthread_mutex_unlock(&mut); in ucm_init()232 pthread_mutex_destroy(&cm_id_priv->mut); in ib_cm_free_id()248 pthread_mutex_init(&cm_id_priv->mut, NULL); in ib_cm_alloc_id()309 pthread_mutex_lock(&cm_id_priv->mut); in ib_cm_destroy_id()311 pthread_cond_wait(&cm_id_priv->cond, &cm_id_priv->mut); in ib_cm_destroy_id()312 pthread_mutex_unlock(&cm_id_priv->mut); in ib_cm_destroy_id()1040 pthread_mutex_lock(&cm_id_priv->mut); in ib_cm_ack_event()[all …]