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.c907 metaslab_group_t *mg = vd->vdev_mg; local
949 metaslab_class_t *mc = mg->mg_class;
1753 metaslab_group_t *mg = vd->vdev_mg; local
1764 metaslab_group_passivate(mg);
1786 metaslab_group_activate(mg);
1995 metaslab_group_t *mg = vd->vdev_mg;
1996 metaslab_group_passivate(mg);
2032 metaslab_group_activate(mg);
H A Dmetaslab.c324 metaslab_group_t *mg; local
333 if ((mg = mc->mc_rotor) == NULL)
337 vd = mg->mg_vd;
340 ASSERT3P(mg->mg_class, ==, mc);
342 } while ((mg = mg->mg_next) != mc->mc_rotor);
397 metaslab_group_t *mg = tvd->vdev_mg; local
404 mg->mg_class != mc) {
409 mc_hist[i] += mg->mg_histogram[i];
435 metaslab_group_t *mg local
485 metaslab_group_t *mg = tvd->vdev_mg; local
561 metaslab_group_alloc_update(metaslab_group_t *mg) argument
657 metaslab_group_t *mg; local
692 metaslab_group_destroy(metaslab_group_t *mg) argument
725 metaslab_group_activate(metaslab_group_t *mg) argument
763 metaslab_group_passivate(metaslab_group_t *mg) argument
832 metaslab_group_initialized(metaslab_group_t *mg) argument
841 metaslab_group_get_space(metaslab_group_t *mg) argument
847 metaslab_group_histogram_verify(metaslab_group_t *mg) argument
882 metaslab_group_histogram_add(metaslab_group_t *mg, metaslab_t *msp) argument
902 metaslab_group_histogram_remove(metaslab_group_t *mg, metaslab_t *msp) argument
927 metaslab_group_add(metaslab_group_t *mg, metaslab_t *msp) argument
942 metaslab_group_remove(metaslab_group_t *mg, metaslab_t *msp) argument
956 metaslab_group_sort_impl(metaslab_group_t *mg, metaslab_t *msp, uint64_t weight) argument
967 metaslab_group_sort(metaslab_group_t *mg, metaslab_t *msp, uint64_t weight) argument
989 metaslab_group_fragmentation(metaslab_group_t *mg) argument
1026 metaslab_group_allocatable(metaslab_group_t *mg, metaslab_group_t *rotor, uint64_t psize, int allocator, int d) argument
1982 metaslab_init(metaslab_group_t *mg, uint64_t id, uint64_t object, uint64_t txg, metaslab_t **msp) argument
2100 metaslab_group_t *mg = msp->ms_group; local
2284 metaslab_group_t *mg = msp->ms_group; local
2445 metaslab_group_t *mg = msp->ms_group; local
2585 metaslab_activate_allocator(metaslab_group_t *mg, metaslab_t *msp, int allocator, uint64_t activation_weight) argument
2647 metaslab_passivate_allocator(metaslab_group_t *mg, metaslab_t *msp, uint64_t weight) argument
2740 metaslab_group_preload(metaslab_group_t *mg) argument
2977 metaslab_group_t *mg = msp->ms_group; local
3076 metaslab_group_t *mg = msp->ms_group; local
3162 metaslab_group_t *mg = msp->ms_group; local
3453 metaslab_group_t *mg = msp->ms_group; local
3625 metaslab_sync_reassess(metaslab_group_t *mg) argument
3707 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
3798 metaslab_group_increment_qdepth(metaslab_group_t *mg, int allocator) argument
3840 metaslab_group_t *mg = vdev_lookup_top(spa, vdev)->vdev_mg; local
3860 metaslab_group_t *mg = msp->ms_group; local
3899 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, zio_alloc_list_t *zal, metaslab_t *search, boolean_t *was_active) argument
3955 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) argument
4158 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) argument
4201 metaslab_group_t *mg, *rotor; local
5095 metaslab_group_disable_wait(metaslab_group_t *mg) argument
5104 metaslab_group_disabled_increment(metaslab_group_t *mg) argument
5126 metaslab_group_t *mg = msp->ms_group; local
5156 metaslab_group_t *mg = msp->ms_group; local
[all...]
H A Dvdev.c1297 metaslab_group_t *mg = vd->vdev_mg; local
1298 metaslab_group_passivate(mg);
1312 ASSERT0(mg->mg_histogram[i]);
3385 metaslab_group_t *mg; local
3397 mg = tvd->vdev_mg;
3419 if (tvd->vdev_islog && mg != NULL) {
3423 metaslab_group_passivate(mg);
3443 metaslab_group_activate(mg);
3473 if (tvd->vdev_islog && mg != NULL)
3474 metaslab_group_activate(mg);
[all...]
H A Dspa.c2003 metaslab_group_t *mg = tvd->vdev_mg; local
2006 metaslab_group_passivate(mg);
2023 metaslab_group_t *mg = tvd->vdev_mg; local
2026 metaslab_group_activate(mg);
8249 metaslab_group_t *mg = tvd->vdev_mg; local
8250 if (mg == NULL || !metaslab_group_initialized(mg))
8253 metaslab_class_t *mc = mg->mg_class;
8264 &(mg->mg_alloc_queue_depth[i])));
8265 mg
[all...]
/illumos-gate/usr/src/cmd/mdb/common/modules/zfs/
H A Dzfs.c1609 mdb_metaslab_group_t mg; local
1610 if (mdb_ctf_vread(&mg, "metaslab_group_t", "mdb_metaslab_group_t",
1619 if (mg.mg_fragmentation == ZFS_FRAG_INVALID)
1622 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.c1010 metaslab_group_t *mg = tvd->vdev_mg; local
1012 if (mg == NULL || mg->mg_class != mc)
1015 metaslab_group_histogram_verify(mg);
1016 mg->mg_fragmentation = metaslab_group_fragmentation(mg);
1022 if (mg->mg_fragmentation == ZFS_FRAG_INVALID) {
1026 (u_longlong_t)mg->mg_fragmentation);
1028 dump_histogram(mg->mg_histogram, RANGE_TREE_HISTOGRAM_SIZE, 0);
3941 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 267 milliseconds