Searched refs:pd_lock (Results 1 – 7 of 7) sorted by relevance
89 mutex_enter(&prov_desc->pd_lock); in crypto_register_provider()91 mutex_exit(&prov_desc->pd_lock); in crypto_register_provider()116 mutex_enter(&desc->pd_lock); in crypto_unregister_provider()122 mutex_exit(&desc->pd_lock); in crypto_unregister_provider()138 mutex_exit(&desc->pd_lock); in crypto_unregister_provider()148 mutex_exit(&desc->pd_lock); in crypto_unregister_provider()171 mutex_enter(&desc->pd_lock); in crypto_unregister_provider()173 cv_wait(&desc->pd_remove_cv, &desc->pd_lock); in crypto_unregister_provider()174 mutex_exit(&desc->pd_lock); in crypto_unregister_provider()
73 struct mtx pd_lock; /* Protect data + events. */ member79 #define PROCDESC_LOCK_DESTROY(pd) mtx_destroy(&(pd)->pd_lock)80 #define PROCDESC_LOCK_INIT(pd) mtx_init(&(pd)->pd_lock, "procdesc", NULL, \82 #define PROCDESC_LOCK(pd) mtx_lock(&(pd)->pd_lock)83 #define PROCDESC_UNLOCK(pd) mtx_unlock(&(pd)->pd_lock)
104 struct mtx pd_lock; /* protects members of this struct */ member155 #define PWDDESC_LOCK(pdp) (&(pdp)->pd_lock)
214 mutex_init(&desc->pd_lock, NULL, MUTEX_DEFAULT, NULL); in kcf_alloc_provider_desc()230 mutex_enter(&desc->pd_lock); in kcf_provider_zero_refcnt()235 mutex_exit(&desc->pd_lock); in kcf_provider_zero_refcnt()239 mutex_exit(&desc->pd_lock); in kcf_provider_zero_refcnt()263 mutex_destroy(&desc->pd_lock); in kcf_free_provider_desc()
84 mutex_enter(&pd->pd_lock); in kcf_free_context()92 mutex_exit(&pd->pd_lock); in kcf_free_context()96 mutex_exit(&pd->pd_lock); in kcf_free_context()
116 kmutex_t pd_lock; member
221 knlist_init_mtx(&pd->pd_selinfo.si_note, &pd->pd_lock); in procdesc_new()