Searched refs:mc_alloc_slots (Results 1 – 4 of 4) sorted by relevance
189 zfs_refcount_t *mc_alloc_slots; member
383 mc->mc_alloc_slots = kmem_zalloc(spa->spa_alloc_count * in metaslab_class_create()388 zfs_refcount_create_tracked(&mc->mc_alloc_slots[i]); in metaslab_class_create()403 zfs_refcount_destroy(&mc->mc_alloc_slots[i]); in metaslab_class_destroy()404 kmem_free(mc->mc_alloc_slots, mc->mc_spa->spa_alloc_count * in metaslab_class_destroy()5518 zfs_refcount_count(&mc->mc_alloc_slots[allocator]); in metaslab_class_throttle_reserve()5528 zfs_refcount_add_few(&mc->mc_alloc_slots[allocator], slots, in metaslab_class_throttle_reserve()5544 zfs_refcount_remove_few(&mc->mc_alloc_slots[allocator], slots, zio); in metaslab_class_throttle_unreserve()
2470 VERIFY(zfs_refcount_held(&mc->mc_alloc_slots[pio->io_allocator], in zio_write_gang_block()4211 &zio->io_metaslab_class->mc_alloc_slots[zio->io_allocator], in zio_done()
8388 ASSERT0(zfs_refcount_count(&normal->mc_alloc_slots[i]));8389 ASSERT0(zfs_refcount_count(&special->mc_alloc_slots[i]));8390 ASSERT0(zfs_refcount_count(&dedup->mc_alloc_slots[i]));