Searched refs:pd_lock (Results 1 – 7 of 7) sorted by relevance
79 mutex_enter(&prov_desc->pd_lock); in crypto_register_provider()81 mutex_exit(&prov_desc->pd_lock); in crypto_register_provider()106 mutex_enter(&desc->pd_lock); in crypto_unregister_provider()112 mutex_exit(&desc->pd_lock); in crypto_unregister_provider()128 mutex_exit(&desc->pd_lock); in crypto_unregister_provider()138 mutex_exit(&desc->pd_lock); in crypto_unregister_provider()161 mutex_enter(&desc->pd_lock); in crypto_unregister_provider()163 cv_wait(&desc->pd_remove_cv, &desc->pd_lock); in crypto_unregister_provider()164 mutex_exit(&desc->pd_lock); in crypto_unregister_provider()
76 struct mtx pd_lock; /* Protect data + events. */ member88 #define PROCDESC_LOCK_DESTROY(pd) mtx_destroy(&(pd)->pd_lock)89 #define PROCDESC_LOCK_INIT(pd) mtx_init(&(pd)->pd_lock, "procdesc", NULL, \91 #define PROCDESC_LOCK(pd) mtx_lock(&(pd)->pd_lock)92 #define PROCDESC_UNLOCK(pd) mtx_unlock(&(pd)->pd_lock)
104 struct mtx pd_lock; /* protects members of this struct */ member157 #define PWDDESC_LOCK(pdp) (&(pdp)->pd_lock)
205 mutex_init(&desc->pd_lock, NULL, MUTEX_DEFAULT, NULL); in kcf_alloc_provider_desc()221 mutex_enter(&desc->pd_lock); in kcf_provider_zero_refcnt()226 mutex_exit(&desc->pd_lock); in kcf_provider_zero_refcnt()230 mutex_exit(&desc->pd_lock); in kcf_provider_zero_refcnt()254 mutex_destroy(&desc->pd_lock); in kcf_free_provider_desc()
75 mutex_enter(&pd->pd_lock); in kcf_free_context()83 mutex_exit(&pd->pd_lock); in kcf_free_context()87 mutex_exit(&pd->pd_lock); in kcf_free_context()
107 kmutex_t pd_lock; member
178 knlist_init_mtx(&pd->pd_selinfo.si_note, &pd->pd_lock); in procdesc_alloc()