Home
last modified time | relevance | path

Searched refs:mg_alloc_queue_depth (Results 1 – 3 of 3) sorted by relevance

/freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/
H A Dmetaslab_impl.h261 refcount_t *mg_alloc_queue_depth; member
/freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dmetaslab.c739 mg->mg_alloc_queue_depth = kmem_zalloc(allocators * sizeof (refcount_t), in metaslab_group_create()
744 refcount_create_tracked(&mg->mg_alloc_queue_depth[i]); in metaslab_group_create()
776 refcount_destroy(&mg->mg_alloc_queue_depth[i]); in metaslab_group_destroy()
779 kmem_free(mg->mg_alloc_queue_depth, mg->mg_allocators * in metaslab_group_destroy()
1137 qdepth = refcount_count(&mg->mg_alloc_queue_depth[allocator]); in metaslab_group_allocatable()
1159 &mgp->mg_alloc_queue_depth[allocator]); in metaslab_group_allocatable()
2954 (void) refcount_add(&mg->mg_alloc_queue_depth[allocator], tag); in metaslab_group_alloc_increment()
2985 (void) refcount_remove(&mg->mg_alloc_queue_depth[allocator], tag); in metaslab_group_alloc_decrement()
3001 VERIFY(refcount_not_held(&mg->mg_alloc_queue_depth[allocator], in metaslab_group_alloc_verify()
H A Dspa.c8048 ASSERT0(refcount_count(&(mg->mg_alloc_queue_depth[i])));