Lines Matching refs:uh_mtx
59 mtx_init(&V_dn_cfg.uh_mtx, "dn_uh", NULL, MTX_DEF); \
63 mtx_destroy(&V_dn_cfg.uh_mtx); \
67 #define DN_UH_RLOCK() mtx_lock(&V_dn_cfg.uh_mtx)
68 #define DN_UH_RUNLOCK() mtx_unlock(&V_dn_cfg.uh_mtx)
69 #define DN_UH_WLOCK() mtx_lock(&V_dn_cfg.uh_mtx)
70 #define DN_UH_WUNLOCK() mtx_unlock(&V_dn_cfg.uh_mtx)
71 #define DN_UH_LOCK_ASSERT() mtx_assert(&V_dn_cfg.uh_mtx, MA_OWNED)
74 #define DN_BH_RLOCK() mtx_lock(&V_dn_cfg.uh_mtx)
75 #define DN_BH_RUNLOCK() mtx_unlock(&V_dn_cfg.uh_mtx)
76 #define DN_BH_WLOCK() mtx_lock(&V_dn_cfg.uh_mtx)
77 #define DN_BH_WUNLOCK() mtx_unlock(&V_dn_cfg.uh_mtx)
78 #define DN_BH_LOCK_ASSERT() mtx_assert(&V_dn_cfg.uh_mtx, MA_OWNED)
174 * uh_mtx arbitrates between system calls and also
181 spinlock_t uh_mtx;
184 struct mtx uh_mtx;