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

/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dspa_misc.c62 * spa_namespace_lock (global mutex)
97 * spa_namespace_lock -> spa_refcount
107 * spa_namespace_lock -> spa_config_lock[]
112 * The spa_namespace_lock can be acquired directly and is globally visible.
115 * require the spa_namespace_lock to be held.
135 * called with spa_namespace_lock held if the
143 * zero. Must be called with spa_namespace_lock
222 * locking is, always, based on spa_namespace_lock and spa_config_lock[].
229 kmutex_t spa_namespace_lock; variable
491 * Lookup the named spa_t in the AVL tree. The spa_namespace_lock mus
[all...]
H A Dspa_config.c121 mutex_enter(&spa_namespace_lock);
133 mutex_exit(&spa_namespace_lock);
211 ASSERT(MUTEX_HELD(&spa_namespace_lock));
321 mutex_enter(&spa_namespace_lock);
332 mutex_exit(&spa_namespace_lock);
502 ASSERT(MUTEX_HELD(&spa_namespace_lock));
H A Dspa.c777 mutex_enter(&spa_namespace_lock);
788 mutex_exit(&spa_namespace_lock);
1228 ASSERT(MUTEX_HELD(&spa_namespace_lock));
2244 ASSERT(MUTEX_HELD(&spa_namespace_lock));
3066 if (mutex_owner(&spa_namespace_lock) != curthread) {
3067 mutex_enter(&spa_namespace_lock);
3073 mutex_exit(&spa_namespace_lock);
3106 mutex_exit(&spa_namespace_lock);
3127 mutex_exit(&spa_namespace_lock);
3151 mutex_exit(&spa_namespace_lock);
[all...]
H A Dzio_inject.c672 mutex_enter(&spa_namespace_lock);
690 mutex_exit(&spa_namespace_lock);
H A Dzfs_ioctl.c2844 mutex_enter(&spa_namespace_lock);
2849 mutex_exit(&spa_namespace_lock);
2882 mutex_enter(&spa_namespace_lock);
2885 mutex_exit(&spa_namespace_lock);
4605 mutex_enter(&spa_namespace_lock);
4608 mutex_exit(&spa_namespace_lock);
4616 mutex_exit(&spa_namespace_lock);
H A Darc.c6261 * Lock out the removal of spas (spa_namespace_lock), then removal
6265 mutex_enter(&spa_namespace_lock);
6307 mutex_exit(&spa_namespace_lock);
/illumos-gate/usr/src/cmd/ztest/
H A Dztest.c784 mutex_enter(&spa_namespace_lock);
786 mutex_exit(&spa_namespace_lock);
2733 mutex_enter(&spa_namespace_lock);
2736 mutex_exit(&spa_namespace_lock);
5306 mutex_enter(&spa_namespace_lock);
5310 mutex_exit(&spa_namespace_lock);
5800 mutex_enter(&spa_namespace_lock);
5804 mutex_exit(&spa_namespace_lock);
/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Dspa.h684 extern kmutex_t spa_namespace_lock;
/illumos-gate/usr/src/cmd/zdb/
H A Dzdb.c3788 mutex_enter(&spa_namespace_lock);
3794 mutex_exit(&spa_namespace_lock);

Completed in 130 milliseconds