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.h247 * spa_alloc_locks and spa_alloc_trees are arrays, whose lengths are
252 kmutex_t *spa_alloc_locks; member in struct:spa
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dspa_misc.c692 spa->spa_alloc_locks = kmem_zalloc(spa->spa_alloc_count *
697 mutex_init(&spa->spa_alloc_locks[i], NULL, MUTEX_DEFAULT, NULL);
796 mutex_destroy(&spa->spa_alloc_locks[i]);
798 kmem_free(spa->spa_alloc_locks, spa->spa_alloc_count *
H A Dzio.c3069 ASSERT(MUTEX_HELD(&spa->spa_alloc_locks[allocator]));
3126 mutex_enter(&spa->spa_alloc_locks[zio->io_allocator]);
3131 mutex_exit(&spa->spa_alloc_locks[zio->io_allocator]);
3156 mutex_enter(&spa->spa_alloc_locks[allocator]);
3158 mutex_exit(&spa->spa_alloc_locks[allocator]);
H A Dspa.c8547 mutex_enter(&spa->spa_alloc_locks[i]);
8549 mutex_exit(&spa->spa_alloc_locks[i]);
8656 mutex_enter(&spa->spa_alloc_locks[i]);
8658 mutex_exit(&spa->spa_alloc_locks[i]);

Completed in 67 milliseconds