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.h245 * spa_alloc_locks and spa_alloc_trees are arrays, whose lengths are
250 kmutex_t *spa_alloc_locks; member in struct:spa
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dspa_misc.c676 spa->spa_alloc_locks = kmem_zalloc(spa->spa_alloc_count *
681 mutex_init(&spa->spa_alloc_locks[i], NULL, MUTEX_DEFAULT, NULL);
774 mutex_destroy(&spa->spa_alloc_locks[i]);
776 kmem_free(spa->spa_alloc_locks, spa->spa_alloc_count *
H A Dzio.c3039 ASSERT(MUTEX_HELD(&spa->spa_alloc_locks[allocator]));
3096 mutex_enter(&spa->spa_alloc_locks[zio->io_allocator]);
3101 mutex_exit(&spa->spa_alloc_locks[zio->io_allocator]);
3126 mutex_enter(&spa->spa_alloc_locks[allocator]);
3128 mutex_exit(&spa->spa_alloc_locks[allocator]);
H A Dspa.c8099 mutex_enter(&spa->spa_alloc_locks[i]);
8101 mutex_exit(&spa->spa_alloc_locks[i]);
8208 mutex_enter(&spa->spa_alloc_locks[i]);
8210 mutex_exit(&spa->spa_alloc_locks[i]);

Completed in 136 milliseconds