Searched refs:agent_lock (Results 1 – 1 of 1) sorted by relevance
150 lck_rw_t agent_lock; member199 #define NETAGENT_LOCK_EXCLUSIVE(wrapper) lck_rw_lock_exclusive(&wrapper->agent_lock)200 #define NETAGENT_LOCK_SHARED(wrapper) lck_rw_lock_shared(&wrapper->agent_lock)201 …ne NETAGENT_LOCK_SHARED_TO_EXCLUSIVE(wrapper) lck_rw_lock_shared_to_exclusive(&wrapper->agent_lock)202 #define NETAGENT_UNLOCK(wrapper) lck_rw_done(&wrapper->agent_lock)203 #define NETAGENT_ASSERT_LOCKED(wrapper) LCK_RW_ASSERT(&wrapper->agent_lock, LCK_RW_ASSERT_HELD)814 lck_rw_init(&new_wrapper->agent_lock, &netagent_mtx_grp, LCK_ATTR_NULL); in netagent_alloc_wrapper_memory()834 lck_rw_destroy(&wrapper->agent_lock, &netagent_mtx_grp); in netagent_free_wrapper_memory()