Searched refs:spa_alloc_locks (Results 1 - 4 of 4) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Dspa_impl.h246 * spa_alloc_locks and spa_alloc_trees are arrays, whose lengths are
251 kmutex_t *spa_alloc_locks; member in struct:spa
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dspa_misc.c687 spa->spa_alloc_locks = kmem_zalloc(spa->spa_alloc_count *
692 mutex_init(&spa->spa_alloc_locks[i], NULL, MUTEX_DEFAULT, NULL);
791 mutex_destroy(&spa->spa_alloc_locks[i]);
793 kmem_free(spa->spa_alloc_locks, spa->spa_alloc_count *
H A Dzio.c3065 ASSERT(MUTEX_HELD(&spa->spa_alloc_locks[allocator]));
3122 mutex_enter(&spa->spa_alloc_locks[zio->io_allocator]);
3127 mutex_exit(&spa->spa_alloc_locks[zio->io_allocator]);
3152 mutex_enter(&spa->spa_alloc_locks[allocator]);
3154 mutex_exit(&spa->spa_alloc_locks[allocator]);
H A Dspa.c8475 mutex_enter(&spa->spa_alloc_locks[i]);
8477 mutex_exit(&spa->spa_alloc_locks[i]);
8584 mutex_enter(&spa->spa_alloc_locks[i]);
8586 mutex_exit(&spa->spa_alloc_locks[i]);

Completed in 189 milliseconds