Lines Matching defs:Lock
115 lck_rw_t Lock; /* Synchronization */
359 decl_mutex_data(, msync_req_lock) /* Lock for this structure */
657 lck_rw_sleep(&(object)->Lock, LCK_SLEEP_DEFAULT, (event_t)(event), (interruptible))
783 lck_rw_init(&(object)->Lock, &vm_object_lck_grp, \
788 #define vm_object_lock_destroy(object) lck_rw_destroy(&(object)->Lock, &vm_object_lck_grp)
790 #define vm_object_unlock(object) lck_rw_done(&(object)->Lock)
791 #define vm_object_lock_upgrade(object) lck_rw_lock_shared_to_exclusive(&(object)->Lock)
792 #define vm_object_lock_try_scan(object) lck_rw_try_lock_exclusive(&(object)->Lock)
801 lck_rw_assert(&(object)->Lock, LCK_RW_ASSERT_HELD)
803 lck_rw_assert(&(object)->Lock, LCK_RW_ASSERT_SHARED)
805 lck_rw_assert(&(object)->Lock, LCK_RW_ASSERT_EXCLUSIVE)