Searched refs:spa_namespace_lock (Results 1 - 13 of 13) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dspa_config.c122 mutex_enter(&spa_namespace_lock);
134 mutex_exit(&spa_namespace_lock);
213 ASSERT(MUTEX_HELD(&spa_namespace_lock));
330 mutex_enter(&spa_namespace_lock);
341 mutex_exit(&spa_namespace_lock);
523 ASSERT(MUTEX_HELD(&spa_namespace_lock));
H A Dspa.c888 mutex_enter(&spa_namespace_lock);
899 mutex_exit(&spa_namespace_lock);
1429 ASSERT(MUTEX_HELD(&spa_namespace_lock));
2278 ASSERT(MUTEX_HELD(&spa_namespace_lock));
3886 ASSERT(MUTEX_HELD(&spa_namespace_lock));
3912 ASSERT(MUTEX_HELD(&spa_namespace_lock));
3988 ASSERT(MUTEX_HELD(&spa_namespace_lock));
4134 ASSERT(MUTEX_HELD(&spa_namespace_lock));
4526 if (mutex_owner(&spa_namespace_lock) != curthread) {
4527 mutex_enter(&spa_namespace_lock);
[all...]
H A Dspa_misc.c70 * spa_namespace_lock (global mutex)
105 * spa_namespace_lock -> spa_refcount
115 * spa_namespace_lock -> spa_config_lock[]
120 * The spa_namespace_lock can be acquired directly and is globally visible.
123 * require the spa_namespace_lock to be held.
143 * called with spa_namespace_lock held if the
151 * zero. Must be called with spa_namespace_lock
230 * locking is, always, based on spa_namespace_lock and spa_config_lock[].
234 kmutex_t spa_namespace_lock; variable
548 * Lookup the named spa_t in the AVL tree. The spa_namespace_lock mus
[all...]
H A Dvdev_initialize.c593 ASSERT(MUTEX_HELD(&spa_namespace_lock));
635 ASSERT(MUTEX_HELD(&spa_namespace_lock));
667 ASSERT(MUTEX_HELD(&spa_namespace_lock));
686 ASSERT(MUTEX_HELD(&spa_namespace_lock));
H A Dmmp.c717 mutex_enter(&spa_namespace_lock);
722 mutex_exit(&spa_namespace_lock);
H A Dvdev_trim.c954 ASSERT(MUTEX_HELD(&spa_namespace_lock));
993 ASSERT(MUTEX_HELD(&spa_namespace_lock));
1028 ASSERT(MUTEX_HELD(&spa_namespace_lock));
1050 ASSERT(MUTEX_HELD(&spa_namespace_lock));
1442 ASSERT(MUTEX_HELD(&spa_namespace_lock));
H A Dvdev_removal.c1735 ASSERT(MUTEX_HELD(&spa_namespace_lock));
1762 ASSERT(MUTEX_HELD(&spa_namespace_lock));
1779 * spa_namespace_lock held. Once this completes the device
1782 ASSERT(MUTEX_HELD(&spa_namespace_lock));
1842 ASSERT(MUTEX_HELD(&spa_namespace_lock));
2072 boolean_t locked = MUTEX_HELD(&spa_namespace_lock);
2080 ASSERT(MUTEX_HELD(&spa_namespace_lock));
H A Dzio_inject.c832 mutex_enter(&spa_namespace_lock);
850 mutex_exit(&spa_namespace_lock);
H A Dzfs_ioctl.c3006 mutex_enter(&spa_namespace_lock);
3011 mutex_exit(&spa_namespace_lock);
3044 mutex_enter(&spa_namespace_lock);
3047 mutex_exit(&spa_namespace_lock);
5301 mutex_enter(&spa_namespace_lock);
5304 mutex_exit(&spa_namespace_lock);
5312 mutex_exit(&spa_namespace_lock);
H A Darc.c7736 * Lock out the removal of spas (spa_namespace_lock), then removal
7740 mutex_enter(&spa_namespace_lock);
7782 mutex_exit(&spa_namespace_lock);
/illumos-gate/usr/src/cmd/ztest/
H A Dztest.c879 mutex_enter(&spa_namespace_lock);
881 mutex_exit(&spa_namespace_lock);
3191 mutex_enter(&spa_namespace_lock);
3194 mutex_exit(&spa_namespace_lock);
6149 mutex_enter(&spa_namespace_lock);
6153 mutex_exit(&spa_namespace_lock);
6650 mutex_enter(&spa_namespace_lock);
6654 mutex_exit(&spa_namespace_lock);
/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Dspa.h845 extern kmutex_t spa_namespace_lock;
/illumos-gate/usr/src/cmd/zdb/
H A Dzdb.c4545 mutex_enter(&spa_namespace_lock);
4549 mutex_exit(&spa_namespace_lock);
6025 mutex_enter(&spa_namespace_lock);
6031 mutex_exit(&spa_namespace_lock);

Completed in 133 milliseconds