Searched refs:mdc (Results 1 – 7 of 7) sorted by relevance
/titanic_41/usr/src/uts/common/io/lvm/stripe/ |
H A D | stripe.c | 143 struct ms_comp *mdc; in stripe_close_all_devs() local 144 mdc = &mdcomp[c++]; in stripe_close_all_devs() 154 if (mdc->un_dev == NODEV64) in stripe_close_all_devs() 158 (mdc->un_mirror.ms_flags & MDM_S_PROBEOPEN)) { in stripe_close_all_devs() 159 md_layered_close(mdc->un_dev, in stripe_close_all_devs() 161 mdc->un_mirror.ms_flags &= ~MDM_S_PROBEOPEN; in stripe_close_all_devs() 162 } else if (mdc->un_mirror.ms_flags & MDM_S_ISOPEN) { in stripe_close_all_devs() 163 md_layered_close(mdc->un_dev, md_cflags); in stripe_close_all_devs() 164 mdc->un_mirror.ms_flags &= ~MDM_S_ISOPEN; in stripe_close_all_devs() 205 struct ms_comp *mdc; in stripe_open_all_devs() local [all …]
|
H A D | stripe_ioctl.c | 271 ms_comp_t *mdc = &mdcomp[c++]; in stripe_set() local 275 comp_dev = mdc->un_dev; in stripe_set() 280 md_set_parent(mdc->un_dev, MD_SID(un)); in stripe_set() 609 struct ms_comp *mdc = &new_comp[c++]; in stripe_grow() local 613 comp_dev = mdc->un_dev; in stripe_grow() 622 md_dev64_t tmpdev = mdc->un_dev; in stripe_grow() 629 mdc->un_mirror.ms_hs_id ? in stripe_grow() 630 mdc->un_mirror.ms_hs_key : mdc->un_key); in stripe_grow() 633 mdc->un_dev = tmpdev; in stripe_grow() 634 mdc->un_mirror.ms_flags |= MDM_S_ISOPEN; in stripe_grow() [all …]
|
/titanic_41/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_raid.c | 1193 mr_column_t *mdc, in attach_raid_col() argument 1208 mdc->un_devstate = state; in attach_raid_col() 1212 mdc->un_devtimestamp = tmp_time; in attach_raid_col() 1214 if ((mdc->un_orig_devstart = metagetstart(sp, colnp, ep)) == in attach_raid_col() 1224 mdc->un_orig_pwstart = mdc->un_orig_devstart; in attach_raid_col() 1225 mdc->un_orig_devstart += mr->un_pwsize; in attach_raid_col() 1228 if ((mdc->un_orig_devstart >= size) || in attach_raid_col() 1229 ((size - mdc->un_orig_devstart) < column_size)) { in attach_raid_col() 1232 size -= mdc->un_orig_devstart; in attach_raid_col() 1245 mdc->un_orig_dev = colnp->dev; in attach_raid_col() [all …]
|
H A D | meta_stripe.c | 277 struct ms_comp *mdc = &mdcomp[c]; in meta_get_stripe_common() local 278 diskaddr_t comp_start_blk = mdc->un_start_block; in meta_get_stripe_common() 282 cp->compnamep = metakeyname(&sp, mdc->un_key, fast, ep); in meta_get_stripe_common() 287 if (mdc->un_mirror.ms_hs_id != 0) { in meta_get_stripe_common() 288 diskaddr_t hs_start_blk = mdc->un_start_block; in meta_get_stripe_common() 292 mdc->un_mirror.ms_hs_key, fast, ep); in meta_get_stripe_common() 324 comp_start_blk = mdc->un_mirror.ms_orig_blk; in meta_get_stripe_common() 356 cp->state = mdc->un_mirror.ms_state; in meta_get_stripe_common() 359 cp->timestamp = mdc->un_mirror.ms_timestamp; in meta_get_stripe_common() 362 cp->lasterrcnt = mdc->un_mirror.ms_lasterrcnt; in meta_get_stripe_common() [all …]
|
H A D | meta_statconcise.c | 905 ms_comp_t *mdc = &mdcomp[c]; in process_stripe() local 906 md_m_shared_t *mdm = &mdc->un_mirror; in process_stripe() 917 if (tmpmdrec->n_key == mdc->un_key) { in process_stripe() 928 print_physical_device(phys_nm, mdc->un_key); in process_stripe()
|
/titanic_41/usr/src/cmd/mdb/common/modules/md/ |
H A D | metastat.c | 448 mdc_unit_t mdc; in metastat() local 483 if (mdb_vread(&mdc, sizeof (mdc_unit_t), un_addr) == -1) { in metastat() 487 print_device((void *)un_addr, (void *)&mdc, verbose); in metastat()
|
/titanic_41/usr/src/uts/common/io/lvm/md/ |
H A D | md_rename.c | 1669 mdc_unit_t *mdc; in md_rename() local 1683 mdc = (mdc_unit_t *)md_set[setno].s_un[MD_MIN2UNIT(mrp->from.mnum)]; in md_rename() 1684 while (mdc != NULL) { in md_rename() 1685 if (!MD_HAS_PARENT(mdc->un_parent)) { in md_rename() 1688 mdc = (mdc_unit_t *)md_set[setno].s_un[MD_MIN2UNIT in md_rename() 1689 (mdc->un_parent)]; in md_rename() 1693 if (mdc && mdc->un_type == MD_METATRANS) { in md_rename()
|