Home
last modified time | relevance | path

Searched refs:modules_sx (Results 1 – 2 of 2) sorted by relevance

/NextBSD/sys/sys/
HDmodule.h205 extern struct sx modules_sx;
207 #define MOD_XLOCK sx_xlock(&modules_sx)
208 #define MOD_SLOCK sx_slock(&modules_sx)
209 #define MOD_XUNLOCK sx_xunlock(&modules_sx)
210 #define MOD_SUNLOCK sx_sunlock(&modules_sx)
211 #define MOD_LOCK_ASSERT sx_assert(&modules_sx, SX_LOCKED)
212 #define MOD_XLOCK_ASSERT sx_assert(&modules_sx, SX_XLOCKED)
/NextBSD/sys/kern/
HDkern_module.c64 struct sx modules_sx; variable
86 sx_init(&modules_sx, "module subsystem sx lock"); in module_init()