Searched refs:lwait (Results 1 – 2 of 2) sorted by relevance
411 struct lock_wait *lwait = arg; in sync_ast_routine() local421 struct lock_wait lwait; in _sync_lock() local439 &lwait.lksb, in _sync_lock()448 pthread_cond_wait(&lwait.cond, &lwait.mutex); in _sync_lock()451 *lockid = lwait.lksb.sb_lkid; in _sync_lock()453 errno = lwait.lksb.sb_status; in _sync_lock()455 if (lwait.lksb.sb_status) in _sync_lock()464 struct lock_wait lwait; in _sync_unlock() local472 status = dlm_ls_unlock(lockspace, lockid, 0, &lwait.lksb, &lwait); in _sync_unlock()478 pthread_cond_wait(&lwait.cond, &lwait.mutex); in _sync_unlock()[all …]
511 struct lock_wait *lwait; in lock_lock_state() local520 if (!lwait) in lock_lock_state()525 lwait->status = error; in lock_lock_state()526 pthread_mutex_lock(&lwait->mutex); in lock_lock_state()527 pthread_cond_signal(&lwait->cond); in lock_lock_state()729 struct lock_wait lwait; in _lock_resource() local740 pthread_mutex_lock(&lwait.mutex); in _lock_resource()758 pthread_cond_wait(&lwait.cond, &lwait.mutex); in _lock_resource()771 struct lock_wait lwait; in _unlock_resource() local775 pthread_mutex_lock(&lwait.mutex); in _unlock_resource()[all …]