Home
last modified time | relevance | path

Searched refs:topology_lock (Results 1 – 3 of 3) sorted by relevance

/freebsd/sys/geom/
H A Dgeom.h356 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)
H A Dgeom_kern.c58 struct sx topology_lock; variable
142 sx_init(&topology_lock, "GEOM topology"); in g_init()
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dvdev_geom.c46 #define g_topology_locked() sx_xlocked(&topology_lock)