Searched refs:pd_lock (Results 1 – 8 of 8) sorted by relevance
75 struct mtx pd_lock; /* Protect data + events. */ member81 #define PROCDESC_LOCK_DESTROY(pd) mtx_destroy(&(pd)->pd_lock)82 #define PROCDESC_LOCK_INIT(pd) mtx_init(&(pd)->pd_lock, "procdesc", NULL, \84 #define PROCDESC_LOCK(pd) mtx_lock(&(pd)->pd_lock)85 #define PROCDESC_UNLOCK(pd) mtx_unlock(&(pd)->pd_lock)
97 struct mtx pd_lock; /* protects members of this struct */ member144 #define PWDDESC_LOCK(pdp) (&(pdp)->pd_lock)
299 mutex_enter(&desc->pd_lock); in crypto_unregister_provider()341 mutex_exit(&desc->pd_lock); in crypto_unregister_provider()434 mutex_enter(&pd->pd_lock); in crypto_provider_notification()505 mutex_exit(&pd->pd_lock); in crypto_provider_notification()769 mutex_enter(&p2->pd_lock); in add_provider_to_array()774 mutex_exit(&p2->pd_lock); in add_provider_to_array()788 mutex_enter(&p2->pd_lock); in remove_provider_from_array()797 mutex_exit(&p2->pd_lock); in remove_provider_from_array()805 mutex_exit(&p2->pd_lock); in remove_provider_from_array()853 mutex_enter(&pp->pd_lock); in remove_provider()[all …]
353 mutex_init(&desc->pd_lock, NULL, MUTEX_DEFAULT, NULL); in kcf_alloc_provider_desc()370 mutex_enter(&desc->pd_lock); in kcf_provider_zero_refcnt()377 mutex_exit(&desc->pd_lock); in kcf_provider_zero_refcnt()384 mutex_exit(&desc->pd_lock); in kcf_provider_zero_refcnt()490 mutex_destroy(&desc->pd_lock); in kcf_free_provider_desc()
262 mutex_enter(&pd->pd_lock); in process_req_hwp()264 cv_wait(&pd->pd_resume_cv, &pd->pd_lock); in process_req_hwp()265 mutex_exit(&pd->pd_lock); in process_req_hwp()828 mutex_enter(&pd->pd_lock); in kcf_free_context()836 mutex_exit(&pd->pd_lock); in kcf_free_context()840 mutex_exit(&pd->pd_lock); in kcf_free_context()
153 mutex_enter(&old->pd_lock); in kcf_get_hardware_provider()212 mutex_exit(&old->pd_lock); in kcf_get_hardware_provider()
224 knlist_init_mtx(&pd->pd_selinfo.si_note, &pd->pd_lock); in procdesc_new()
209 kmutex_t pd_lock; member