Searched refs:nd_conf_lk (Results 1 – 1 of 1) sorted by relevance
121 static struct sx nd_conf_lk; variable122 SX_SYSINIT(nd_conf, &nd_conf_lk, "netdump configuration lock");123 #define NETDUMP_WLOCK() sx_xlock(&nd_conf_lk)124 #define NETDUMP_WUNLOCK() sx_xunlock(&nd_conf_lk)125 #define NETDUMP_RLOCK() sx_slock(&nd_conf_lk)126 #define NETDUMP_RUNLOCK() sx_sunlock(&nd_conf_lk)127 #define NETDUMP_ASSERT_WLOCKED() sx_assert(&nd_conf_lk, SA_XLOCKED)128 #define NETDUMP_ASSERT_LOCKED() sx_assert(&nd_conf_lk, SA_LOCKED)