Searched refs:topology_lock (Results 1 – 3 of 3) sorted by relevance
356 extern struct sx topology_lock;380 if (sx_xlocked(&topology_lock)) { in g_free()391 sx_xlock(&topology_lock); \394 #define g_topology_try_lock() sx_try_xlock(&topology_lock)398 sx_xunlock(&topology_lock); \401 #define g_topology_locked() sx_xlocked(&topology_lock)405 sx_assert(&topology_lock, SX_XLOCKED); \410 sx_assert(&topology_lock, SX_UNLOCKED); \414 sx_sleep(chan, &topology_lock, 0, "gtopol", timo)
58 struct sx topology_lock; variable142 sx_init(&topology_lock, "GEOM topology"); in g_init()
46 #define g_topology_locked() sx_xlocked(&topology_lock)