Searched defs:mg (Results 1 - 10 of 10) sorted by relevance

/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/platform-mem/
H A Dmem_mdesc.c63 mem_grp_t *mg; local
145 mg = topo_mod_zalloc(mod, sizeof (mem_grp_t));
146 seg->sm_grp = mg;
147 mem->mem_group = mg;
160 bm->bm_grp = mg->mg_bank;
161 mg->mg_bank = bm;
205 mem_grp_t *mg; local
210 for (mg = mem->mem_group; mg != NULL; mg
236 mem_grp_t *mg; local
[all...]
/illumos-gate/usr/src/cmd/mdb/common/modules/mac/
H A Dmac.c1064 mac_group_t mg; local
1085 if (mdb_vread(&mg, sizeof (mac_group_t), mgp) == -1) {
1090 ret = wsp->walk_callback(mgp, &mg, wsp->walk_cbdata);
1093 mgp = (uintptr_t)mg.mrg_next;
1098 if (mdb_vread(&mg, sizeof (mac_group_t), mgp) == -1) {
1103 ret = wsp->walk_callback(mgp, &mg, wsp->walk_cbdata);
1106 mgp = (uintptr_t)mg.mrg_next;
1182 mac_group_t mg; local
1201 if (mdb_vread(&mg, sizeof (mac_group_t), addr) == -1) {
1211 if ((args & MAC_GROUP_RX) != 0 && mg
[all...]
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dvdev_removal.c908 metaslab_group_t *mg = vd->vdev_mg; local
947 metaslab_class_t *mc = mg->mg_class;
1756 metaslab_group_t *mg = vd->vdev_mg; local
1767 metaslab_group_passivate(mg);
1789 metaslab_group_activate(mg);
1998 metaslab_group_t *mg = vd->vdev_mg;
1999 metaslab_group_passivate(mg);
2035 metaslab_group_activate(mg);
H A Dvdev.c1299 metaslab_group_t *mg = vd->vdev_mg; local
1300 metaslab_group_passivate(mg);
1314 ASSERT0(mg->mg_histogram[i]);
3381 metaslab_group_t *mg; local
3393 mg = tvd->vdev_mg;
3415 if (tvd->vdev_islog && mg != NULL) {
3419 metaslab_group_passivate(mg);
3439 metaslab_group_activate(mg);
3469 if (tvd->vdev_islog && mg != NULL)
3470 metaslab_group_activate(mg);
[all...]
H A Dmetaslab.c416 metaslab_group_t *mg; local
425 if ((mg = mc->mc_rotor) == NULL)
429 vd = mg->mg_vd;
432 ASSERT3P(mg->mg_class, ==, mc);
434 } while ((mg = mg->mg_next) != mc->mc_rotor);
489 metaslab_group_t *mg = tvd->vdev_mg; local
496 mg->mg_class != mc) {
501 mc_hist[i] += mg->mg_histogram[i];
527 metaslab_group_t *mg local
577 metaslab_group_t *mg = tvd->vdev_mg; local
698 metaslab_group_alloc_update(metaslab_group_t *mg) argument
794 metaslab_group_t *mg; local
829 metaslab_group_destroy(metaslab_group_t *mg) argument
862 metaslab_group_activate(metaslab_group_t *mg) argument
900 metaslab_group_passivate(metaslab_group_t *mg) argument
969 metaslab_group_initialized(metaslab_group_t *mg) argument
978 metaslab_group_get_space(metaslab_group_t *mg) argument
984 metaslab_group_histogram_verify(metaslab_group_t *mg) argument
1019 metaslab_group_histogram_add(metaslab_group_t *mg, metaslab_t *msp) argument
1039 metaslab_group_histogram_remove(metaslab_group_t *mg, metaslab_t *msp) argument
1064 metaslab_group_add(metaslab_group_t *mg, metaslab_t *msp) argument
1079 metaslab_group_remove(metaslab_group_t *mg, metaslab_t *msp) argument
1101 metaslab_group_sort_impl(metaslab_group_t *mg, metaslab_t *msp, uint64_t weight) argument
1114 metaslab_group_sort(metaslab_group_t *mg, metaslab_t *msp, uint64_t weight) argument
1136 metaslab_group_fragmentation(metaslab_group_t *mg) argument
1173 metaslab_group_allocatable(metaslab_group_t *mg, metaslab_group_t *rotor, uint64_t psize, int allocator, int d) argument
2554 metaslab_init(metaslab_group_t *mg, uint64_t id, uint64_t object, uint64_t txg, metaslab_t **msp) argument
2676 metaslab_group_t *mg = msp->ms_group; local
2860 metaslab_group_t *mg = msp->ms_group; local
3020 metaslab_group_t *mg = msp->ms_group; local
3169 metaslab_activate_allocator(metaslab_group_t *mg, metaslab_t *msp, int allocator, uint64_t activation_weight) argument
3288 metaslab_passivate_allocator(metaslab_group_t *mg, metaslab_t *msp, uint64_t weight) argument
3386 metaslab_group_preload(metaslab_group_t *mg) argument
3634 metaslab_group_t *mg = msp->ms_group; local
3733 metaslab_group_t *mg = msp->ms_group; local
3819 metaslab_group_t *mg = msp->ms_group; local
4134 metaslab_group_t *mg = msp->ms_group; local
4322 metaslab_sync_reassess(metaslab_group_t *mg) argument
4374 metaslab_trace_add(zio_alloc_list_t *zal, metaslab_group_t *mg, metaslab_t *msp, uint64_t psize, uint32_t dva_id, uint64_t offset, int allocator) argument
4465 metaslab_group_increment_qdepth(metaslab_group_t *mg, int allocator) argument
4507 metaslab_group_t *mg = vdev_lookup_top(spa, vdev)->vdev_mg; local
4527 metaslab_group_t *mg = msp->ms_group; local
4567 find_valid_metaslab(metaslab_group_t *mg, uint64_t activation_weight, dva_t *dva, int d, boolean_t want_unique, uint64_t asize, int allocator, boolean_t try_hard, zio_alloc_list_t *zal, metaslab_t *search, boolean_t *was_active) argument
4659 metaslab_group_alloc_normal(metaslab_group_t *mg, zio_alloc_list_t *zal, uint64_t asize, uint64_t txg, boolean_t want_unique, dva_t *dva, int d, int allocator, boolean_t try_hard) argument
4964 metaslab_group_alloc(metaslab_group_t *mg, zio_alloc_list_t *zal, uint64_t asize, uint64_t txg, boolean_t want_unique, dva_t *dva, int d, int allocator, boolean_t try_hard) argument
5007 metaslab_group_t *mg, *rotor; local
5912 metaslab_group_disable_wait(metaslab_group_t *mg) argument
5921 metaslab_group_disabled_increment(metaslab_group_t *mg) argument
5943 metaslab_group_t *mg = msp->ms_group; local
5973 metaslab_group_t *mg = msp->ms_group; local
[all...]
H A Dspa.c2010 metaslab_group_t *mg = tvd->vdev_mg; local
2013 metaslab_group_passivate(mg);
2030 metaslab_group_t *mg = tvd->vdev_mg; local
2033 metaslab_group_activate(mg);
8258 metaslab_group_t *mg = tvd->vdev_mg; local
8259 if (mg == NULL || !metaslab_group_initialized(mg))
8262 metaslab_class_t *mc = mg->mg_class;
8273 &(mg->mg_alloc_queue_depth[i])));
8274 mg
[all...]
/illumos-gate/usr/src/cmd/mdb/common/modules/zfs/
H A Dzfs.c1611 mdb_metaslab_group_t mg; local
1612 if (mdb_ctf_vread(&mg, "metaslab_group_t", "mdb_metaslab_group_t",
1621 if (mg.mg_fragmentation == ZFS_FRAG_INVALID)
1624 mdb_printf("%0?p %6llu%%", vd->vdev_mg, mg.mg_fragmentation);
1659 dump_histogram(mg.mg_histogram, RANGE_TREE_HISTOGRAM_SIZE, 0);
1961 mdb_metaslab_group_t mg = { 0 }; local
2004 mdb_ctf_vread(&mg, "metaslab_group_t", "mdb_metaslab_group_t",
2009 if (mg.mg_vd != 0) {
2014 mg.mg_vd, 0) == -1) {
/illumos-gate/usr/src/cmd/zdb/
H A Dzdb.c1003 metaslab_group_t *mg = tvd->vdev_mg; local
1005 if (mg == NULL || mg->mg_class != mc)
1008 metaslab_group_histogram_verify(mg);
1009 mg->mg_fragmentation = metaslab_group_fragmentation(mg);
1015 if (mg->mg_fragmentation == ZFS_FRAG_INVALID) {
1019 (u_longlong_t)mg->mg_fragmentation);
1021 dump_histogram(mg->mg_histogram, RANGE_TREE_HISTOGRAM_SIZE, 0);
3934 metaslab_group_t *mg local
[all...]
/illumos-gate/usr/src/cmd/ztest/
H A Dztest.c2866 metaslab_group_t *mg; local
2871 mg = spa_log_class(spa)->mc_rotor;
2872 while (!mg->mg_vd->vdev_islog)
2873 mg = mg->mg_next;
2875 guid = mg->mg_vd->vdev_guid;
3585 metaslab_group_t *mg; local
3610 mg = tvd->vdev_mg;
3611 mc = mg->mg_class;
3687 if (tvd->vdev_mg != mg || m
[all...]
/illumos-gate/usr/src/uts/common/sys/ib/adapters/hermon/
H A Dhermon_hw.h1294 uint32_t mg :1; /* change GID table */ member in struct:hermon_hw_set_port_s
1327 uint32_t mg :1; /* change GID table size */ member in struct:hermon_hw_set_port_s

Completed in 388 milliseconds