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.c880 mutex_enter(&spa_namespace_lock);
891 mutex_exit(&spa_namespace_lock);
1421 ASSERT(MUTEX_HELD(&spa_namespace_lock));
2269 ASSERT(MUTEX_HELD(&spa_namespace_lock));
3867 ASSERT(MUTEX_HELD(&spa_namespace_lock));
3893 ASSERT(MUTEX_HELD(&spa_namespace_lock));
3967 ASSERT(MUTEX_HELD(&spa_namespace_lock));
4113 ASSERT(MUTEX_HELD(&spa_namespace_lock));
4500 if (mutex_owner(&spa_namespace_lock) != curthread) {
4501 mutex_enter(&spa_namespace_lock);
[all...]
H A Dspa_misc.c66 * spa_namespace_lock (global mutex)
101 * spa_namespace_lock -> spa_refcount
111 * spa_namespace_lock -> spa_config_lock[]
116 * The spa_namespace_lock can be acquired directly and is globally visible.
119 * require the spa_namespace_lock to be held.
139 * called with spa_namespace_lock held if the
147 * zero. Must be called with spa_namespace_lock
226 * locking is, always, based on spa_namespace_lock and spa_config_lock[].
230 kmutex_t spa_namespace_lock; variable
544 * Lookup the named spa_t in the AVL tree. The spa_namespace_lock mus
[all...]
H A Dvdev_initialize.c583 ASSERT(MUTEX_HELD(&spa_namespace_lock));
625 ASSERT(MUTEX_HELD(&spa_namespace_lock));
657 ASSERT(MUTEX_HELD(&spa_namespace_lock));
676 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.c949 ASSERT(MUTEX_HELD(&spa_namespace_lock));
988 ASSERT(MUTEX_HELD(&spa_namespace_lock));
1023 ASSERT(MUTEX_HELD(&spa_namespace_lock));
1045 ASSERT(MUTEX_HELD(&spa_namespace_lock));
1435 ASSERT(MUTEX_HELD(&spa_namespace_lock));
H A Dvdev_removal.c1732 ASSERT(MUTEX_HELD(&spa_namespace_lock));
1759 ASSERT(MUTEX_HELD(&spa_namespace_lock));
1776 * spa_namespace_lock held. Once this completes the device
1779 ASSERT(MUTEX_HELD(&spa_namespace_lock));
1839 ASSERT(MUTEX_HELD(&spa_namespace_lock));
2069 boolean_t locked = MUTEX_HELD(&spa_namespace_lock);
2077 ASSERT(MUTEX_HELD(&spa_namespace_lock));
H A Dzio_inject.c737 mutex_enter(&spa_namespace_lock);
755 mutex_exit(&spa_namespace_lock);
H A Dzfs_ioctl.c2962 mutex_enter(&spa_namespace_lock);
2967 mutex_exit(&spa_namespace_lock);
3000 mutex_enter(&spa_namespace_lock);
3003 mutex_exit(&spa_namespace_lock);
5194 mutex_enter(&spa_namespace_lock);
5197 mutex_exit(&spa_namespace_lock);
5205 mutex_exit(&spa_namespace_lock);
H A Darc.c7721 * Lock out the removal of spas (spa_namespace_lock), then removal
7725 mutex_enter(&spa_namespace_lock);
7767 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.h877 extern kmutex_t spa_namespace_lock;
/illumos-gate/usr/src/cmd/zdb/
H A Dzdb.c4550 mutex_enter(&spa_namespace_lock);
4554 mutex_exit(&spa_namespace_lock);
6023 mutex_enter(&spa_namespace_lock);
6029 mutex_exit(&spa_namespace_lock);

Completed in 284 milliseconds