Lines Matching defs:mga

851 		metaslab_group_allocator_t *mga = &mg->mg_allocator[i];
852 zfs_refcount_create_tracked(&mga->mga_alloc_queue_depth);
876 metaslab_group_allocator_t *mga = &mg->mg_allocator[i];
877 zfs_refcount_destroy(&mga->mga_alloc_queue_depth);
964 metaslab_group_allocator_t *mga = &mg->mg_allocator[i];
965 metaslab_t *msp = mga->mga_primary;
972 msp = mga->mga_secondary;
1253 metaslab_group_allocator_t *mga = &mg->mg_allocator[allocator];
1255 uint64_t qmax = mga->mga_cur_max_alloc_queue_depth;
1283 qdepth = zfs_refcount_count(&mga->mga_alloc_queue_depth);
3343 metaslab_group_allocator_t *mga = &mg->mg_allocator[allocator];
3359 &mga->mga_primary : &mga->mga_secondary);
3475 metaslab_group_allocator_t *mga = &mg->mg_allocator[msp->ms_allocator];
3477 ASSERT3P(mga->mga_primary, ==, msp);
3479 mga->mga_primary = NULL;
3481 ASSERT3P(mga->mga_secondary, ==, msp);
3483 mga->mga_secondary = NULL;
4590 metaslab_group_allocator_t *mga = &mg->mg_allocator[allocator];
4591 (void) zfs_refcount_add(&mga->mga_alloc_queue_depth, tag);
4597 metaslab_group_allocator_t *mga = &mg->mg_allocator[allocator];
4601 uint64_t cur = mga->mga_cur_max_alloc_queue_depth;
4603 if (atomic_cas_64(&mga->mga_cur_max_alloc_queue_depth,
4608 cur = mga->mga_cur_max_alloc_queue_depth;
4624 metaslab_group_allocator_t *mga = &mg->mg_allocator[allocator];
4625 (void) zfs_refcount_remove(&mga->mga_alloc_queue_depth, tag);
4641 metaslab_group_allocator_t *mga = &mg->mg_allocator[allocator];
4642 VERIFY(zfs_refcount_not_held(&mga->mga_alloc_queue_depth, tag));
4825 metaslab_group_allocator_t *mga = &mg->mg_allocator[allocator];
4847 mga->mga_primary != NULL) {
4848 msp = mga->mga_primary;
4863 mga->mga_secondary != NULL) {
4864 msp = mga->mga_secondary;