Searched refs:agent_lock (Results 1 – 1 of 1) sorted by relevance
102 lck_rw_t agent_lock; member151 #define NETAGENT_LOCK_EXCLUSIVE(wrapper) lck_rw_lock_exclusive(&wrapper->agent_lock)152 #define NETAGENT_LOCK_SHARED(wrapper) lck_rw_lock_shared(&wrapper->agent_lock)153 …ne NETAGENT_LOCK_SHARED_TO_EXCLUSIVE(wrapper) lck_rw_lock_shared_to_exclusive(&wrapper->agent_lock)154 #define NETAGENT_UNLOCK(wrapper) lck_rw_done(&wrapper->agent_lock)155 #define NETAGENT_ASSERT_LOCKED(wrapper) LCK_RW_ASSERT(&wrapper->agent_lock, LCK_RW_ASSERT_HELD)770 lck_rw_init(&new_wrapper->agent_lock, &netagent_mtx_grp, LCK_ATTR_NULL); in netagent_alloc_wrapper_memory()790 lck_rw_destroy(&wrapper->agent_lock, &netagent_mtx_grp); in netagent_free_wrapper_memory()