Lines Matching refs:mutex
80 lck_mtx_t *mutex;
97 lock->mutex = lck_mtx_alloc_init( lockGroup, LCK_ATTR_NULL );
98 if( lock->mutex ) {
120 lck_mtx_free( lock->mutex, lock->group );
126 return( lock->mutex );
136 lck_mtx_lock( lock->mutex );
152 if( lck_mtx_try_lock( lock->mutex )) {
171 lck_mtx_unlock( lock->mutex );
192 res = lck_mtx_sleep(lock->mutex, LCK_SLEEP_DEFAULT, (event_t) event, (wait_interrupt_t) interType);
214 res = lck_mtx_sleep_deadline(lock->mutex, LCK_SLEEP_DEFAULT, (event_t) event,