Home
last modified time | relevance | path

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

/freebsd/sys/sys/
H A Dmodule.h214 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)
/freebsd/sys/kern/
H A Dkern_module.c61 struct sx modules_sx; variable
83 sx_init(&modules_sx, "module subsystem sx lock"); in module_init()