Home
last modified time | relevance | path

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

/netbsd-src/external/cddl/osnet/dist/uts/common/fs/zfs/sys/
H A Dmetaslab_impl.h182 refcount_t mc_alloc_slots; member
/netbsd-src/external/cddl/osnet/dist/uts/common/fs/zfs/
H A Dmetaslab.c277 refcount_create_tracked(&mc->mc_alloc_slots); in metaslab_class_create()
291 refcount_destroy(&mc->mc_alloc_slots); in metaslab_class_destroy()
3336 uint64_t reserved_slots = refcount_count(&mc->mc_alloc_slots); in metaslab_class_throttle_reserve()
3346 reserved_slots = refcount_add(&mc->mc_alloc_slots, zio); in metaslab_class_throttle_reserve()
3362 (void) refcount_remove(&mc->mc_alloc_slots, zio); in metaslab_class_throttle_unreserve()
H A Dzio.c2222 VERIFY(refcount_held(&mc->mc_alloc_slots, pio)); in zio_write_gang_block()
3638 VERIFY(refcount_not_held(&mc->mc_alloc_slots, zio)); in zio_done()
H A Dspa.c6958 ASSERT0(refcount_count(&mc->mc_alloc_slots)); in spa_sync()