Home
last modified time | relevance | path

Searched refs:mc_alloc_slots (Results 1 – 4 of 4) sorted by relevance

/freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/
H A Dmetaslab_impl.h188 refcount_t *mc_alloc_slots; member
/freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dmetaslab.c304 mc->mc_alloc_slots = kmem_zalloc(spa->spa_alloc_count * in metaslab_class_create()
309 refcount_create_tracked(&mc->mc_alloc_slots[i]); in metaslab_class_create()
324 refcount_destroy(&mc->mc_alloc_slots[i]); in metaslab_class_destroy()
325 kmem_free(mc->mc_alloc_slots, mc->mc_spa->spa_alloc_count * in metaslab_class_destroy()
3885 refcount_count(&mc->mc_alloc_slots[allocator]); in metaslab_class_throttle_reserve()
3896 refcount_add(&mc->mc_alloc_slots[allocator], in metaslab_class_throttle_reserve()
3914 (void) refcount_remove(&mc->mc_alloc_slots[allocator], in metaslab_class_throttle_unreserve()
H A Dzio.c2358 VERIFY(refcount_held(&mc->mc_alloc_slots[pio->io_allocator], in zio_write_gang_block()
3871 VERIFY(refcount_not_held(&mc->mc_alloc_slots[zio->io_allocator], in zio_done()
H A Dspa.c8059 ASSERT0(refcount_count(&mc->mc_alloc_slots[i]));