Lines Matching refs:lock
71 #include <kern/lock.h>
281 lck_mtx_t bs_lock; /* lock for the structure */
529 #define DPT_LOCK_INIT(lock) lck_mtx_init(&(lock), &default_pager_lck_grp, &default_pager_lck_attr)
530 #define DPT_LOCK_DESTROY(lock) lck_mtx_destroy(&(lock), &default_pager_lck_grp)
531 #define DPT_LOCK(lock) lck_mtx_lock(&(lock))
532 #define DPT_UNLOCK(lock) lck_mtx_unlock(&(lock))
533 #define DPT_SLEEP(lock, e, i) lck_mtx_sleep(&(lock), LCK_SLEEP_DEFAULT, (event_t)(e), i)
558 VS_LOCK_TYPE vs_lock; /* data for the lock */