Searched refs:modules_sx (Results 1 – 2 of 2) sorted by relevance
214 extern struct sx modules_sx;216 #define MOD_XLOCK sx_xlock(&modules_sx)217 #define MOD_SLOCK sx_slock(&modules_sx)218 #define MOD_XUNLOCK sx_xunlock(&modules_sx)219 #define MOD_SUNLOCK sx_sunlock(&modules_sx)220 #define MOD_LOCK_ASSERT sx_assert(&modules_sx, SX_LOCKED)221 #define MOD_XLOCK_ASSERT sx_assert(&modules_sx, SX_XLOCKED)
61 struct sx modules_sx; variable83 sx_init(&modules_sx, "module subsystem sx lock"); in module_init()