/titanic_41/usr/src/uts/common/io/lvm/stripe/ |
H A D | stripe.c | 446 child_un = MD_UNIT(md_getminor(child_dev)); in reset_stripe() 528 md_shortname(md_getminor(md_dev)), str, in stripe_error() 1109 un = MD_UNIT(md_getminor(dev)); in stripe_shared_by_blk() 1144 un = MD_UNIT(md_getminor(dev)); in stripe_block_count_skip_size() 1183 un = MD_UNIT(md_getminor(dev)); in stripe_shared_by_indx() 1201 un = MD_UNIT(md_getminor(dev)); in stripe_component_count() 1223 un = MD_UNIT(md_getminor(dev)); in stripe_get_dev() 1233 tmpdev = md_resolve_bydevid(md_getminor(dev), tmpdev, in stripe_get_dev() 1253 minor_t mnum = md_getminor(dev); in stripe_replace_done() 1286 mnum = md_getminor(dev); in stripe_replace_dev() [all …]
|
H A D | stripe_ioctl.c | 278 comp_un = MD_UNIT(md_getminor(comp_dev)); in stripe_set() 616 comp_un = MD_UNIT(md_getminor(comp_dev)); in stripe_grow()
|
/titanic_41/usr/src/uts/common/io/lvm/mirror/ |
H A D | mirror_ioctl.c | 247 md_getminor(sm->sm_dev))); in mirror_set() 258 md_getminor(sm->sm_dev))); in mirror_set() 549 mous = MD_UNIT(md_getminor(sm->sm_dev)); in mirror_getcomp_by_dev() 665 ms_un = MD_UNIT(md_getminor(smdev)); in comp_replace() 674 setno = MD_MIN2SET(md_getminor(smdev)); in comp_replace() 788 minor_t ms_mnum = md_getminor(sm->sm_dev); in comp_replace() 892 sm_mnum = md_getminor(sm_dev); in mirror_attach() 925 md_getminor(att->submirror)); in mirror_attach() 1074 su = (md_unit_t *)MD_UNIT(md_getminor(sm_dev)); in mirror_detach() 1082 recids[0] = ((md_unit_t *)MD_UNIT(md_getminor(sm_dev)))->c.un_record_id; in mirror_detach() [all …]
|
H A D | mirror.c | 1473 su = MD_UNIT(md_getminor(sm->sm_dev)); in mirror_commit() 1723 if ((MD_MIN2SET(md_getminor(tmpdev)) >= md_nsets) || in mirror_are_submirrors_available() 1724 (MD_MIN2UNIT(md_getminor(tmpdev)) >= md_nunits)) in mirror_are_submirrors_available() 1727 if (MDI_UNIT(md_getminor(tmpdev)) == NULL) in mirror_are_submirrors_available() 1755 su = MD_UNIT(md_getminor(sm->sm_dev)); in build_submirror() 2088 su = MD_UNIT(md_getminor(un->un_sm[smi].sm_dev)); in reset_mirror() 2473 md_shortname(md_getminor(sm->sm_dev)), devname); in set_sm_comp_state() 2477 md_shortname(md_getminor(sm->sm_dev)), in set_sm_comp_state() 4625 sm_nm = md_shortname(md_getminor(sm->sm_dev)); in mirror_directed_read() 5643 MD_MIN2UNIT(md_getminor(tmpdev))))); in mirror_imp_set() [all …]
|
/titanic_41/usr/src/uts/common/io/lvm/md/ |
H A D | md_rename.c | 201 mnum = md_getminor(delta->dev); in md_rename_lock() 302 (void) mdmderror(ep, MDE_RENAME_CONFIG_ERROR, md_getminor(dev)); in md_build_rendelta() 586 md_getminor(r->dev) == rtxnp->to.mnum)) { in check_dtree() 601 md_getminor(r->dev)); in check_dtree() 611 md_getminor(r->dev)); in check_dtree() 619 md_getminor(r->dev)); in check_dtree() 632 md_getminor(r->dev)); in check_dtree() 752 ASSERT(md_getminor(delta->dev) == rtxnp->from.mnum); in md_rename_update_self() 871 ASSERT(md_getminor(delta->dev) == rtxnp->to.mnum); in md_exchange_child_update_to() 945 ASSERT(md_getminor(delta->dev) == rtxnp->from.mnum); in md_exchange_self_update_from_up() [all …]
|
H A D | md_subr.c | 1322 if ((MD_MIN2SET(md_getminor(dev)) >= md_nsets) || in md_get_named_service() 1323 (MD_MIN2UNIT(md_getminor(dev)) >= md_nunits)) in md_get_named_service() 1327 if ((ui = MDI_UNIT(md_getminor(dev))) == NULL) in md_get_named_service() 2353 ui = MDI_UNIT(md_getminor(dev)); in md_call_ioctl() 2394 if ((MD_MIN2SET(md_getminor(dev)) >= md_nsets) || in md_dev_exists() 2395 (MD_MIN2UNIT(md_getminor(dev)) >= md_nunits)) in md_dev_exists() 2398 if (MDI_UNIT(md_getminor(dev)) != NULL) in md_dev_exists() 2414 ui = MDI_UNIT(md_getminor(dev)); in md_get_parent() 2432 ui = MDI_UNIT(md_getminor(dev)); in md_set_parent() 2448 ui = MDI_UNIT(md_getminor(dev)); in md_reset_parent() [all …]
|
H A D | md_names.c | 3039 if (n->n_minor != md_getminor(retval_targ)) in md_getdevnum() 3040 n->n_minor = md_getminor(retval_targ); in md_getdevnum() 3140 md_getminor(retval_targ)); in md_getdevnum() 4341 n->n_minor = md_getminor(targ_dev); in md_resolve_bydevid()
|
H A D | md_ioctl.c | 1681 mnum = md_getminor(clu->clu_dev); in md_clu_ioctl() 1786 get_info((struct dk_cinfo *)d, md_getminor(dev)); in md_base_ioctl() 2475 mnum = md_getminor(p->dev); in md_base_ioctl() 3091 mnum = md_getminor(p->clu_dev); in md_base_ioctl()
|
H A D | md_mddb.c | 2956 clp->l_mnum = md_getminor(ndev); in ridev() 5186 md_getminor(trip->ri_dev); in get_mbs_n_lbs() 5255 if (slp->l_mnum != md_getminor( in get_mbs_n_lbs() 5306 md_getminor(rip->ri_dev)) in get_mbs_n_lbs() 6042 md_getminor(newdev in load_old_replicas() 6045 md_getminor(newdev[li])) { in load_old_replicas() 6048 md_getminor(newdev in load_old_replicas() 6056 md_getminor(newdev[li])) { in load_old_replicas() 6059 md_getminor(newdev in load_old_replicas() 6108 md_getminor( in load_old_replicas() [all …]
|
/titanic_41/usr/src/uts/common/io/lvm/trans/ |
H A D | trans_ioctl.c | 1205 struct mdc_unit *c = MD_UNIT(md_getminor(ul->un_dev)); in trans_get() 1280 c = MD_UNIT(md_getminor(un->un_m_dev)); in trans_grow() 2256 log_min = md_getminor(un->un_l_dev); in trans_renexch_update_kids() 2257 master_min = md_getminor(un->un_m_dev); in trans_renexch_update_kids() 2317 ASSERT(md_getminor(delta->dev) == rtxnp->from.mnum); in trans_exchange_self_update_from_down() 2328 master_min = md_getminor(un->un_m_dev); in trans_exchange_self_update_from_down() 2329 log_min = md_getminor(un->un_l_dev); in trans_exchange_self_update_from_down() 2443 ASSERT(md_getminor(delta->dev) == rtxnp->to.mnum); in trans_exchange_parent_update_to() 2451 master_min = md_getminor(un->un_m_dev); in trans_exchange_parent_update_to() 2452 log_min = md_getminor(un->un_l_dev); in trans_exchange_parent_update_to() [all …]
|
H A D | mdtrans.c | 226 su = MD_UNIT(md_getminor(un->un_m_dev)); in trans_commit() 377 c = MD_UNIT(md_getminor(un->un_m_dev)); in trans_build_incore() 586 md_shortname(md_getminor(md_dev)), str, in trans_error()
|
H A D | trans_log.c | 120 struct mdc_unit *c = MD_UNIT(md_getminor(ul->un_dev)); in logcommitdb()
|
/titanic_41/usr/src/uts/common/io/lvm/raid/ |
H A D | raid_ioctl.c | 1022 comp_un = MD_UNIT(md_getminor(mr_col->un_dev)); in raid_set() 1277 minor_t new_mnum = md_getminor(tmpdev); in raid_replace() 1296 minor_t old_mnum = md_getminor(odev); in raid_replace() 1909 comp_un = MD_UNIT(md_getminor(mr_col->un_dev)); in raid_grow() 3016 md_getminor(delta->dev)); in raid_rename_check() 3022 md_getminor(delta->dev)); in raid_rename_check() 3029 md_getminor(delta->dev)); in raid_rename_check() 3035 md_getminor(delta->dev)); in raid_rename_check() 3041 md_getminor(delta->dev)); in raid_rename_check() 3047 md_getminor(delta->dev)); in raid_rename_check() [all …]
|
H A D | raid.c | 1114 comp_un = MD_UNIT(md_getminor(comp_dev)); in reset_raid()
|
/titanic_41/usr/src/uts/common/sys/lvm/ |
H A D | mdvar.h | 357 #define MD_DEV2SET(d) (MD_MIN2SET(md_getminor(d))) 827 extern minor_t md_getminor(md_dev64_t);
|
/titanic_41/usr/src/uts/common/io/lvm/softpart/ |
H A D | sp_ioctl.c | 532 child_un = MD_UNIT(md_getminor(un->un_dev)); in sp_set() 536 md_getminor(un->un_dev))); in sp_set() 696 child_un = MD_UNIT(md_getminor(un->un_dev)); in sp_reset()
|
H A D | sp.c | 411 md_shortname(md_getminor(md_dev)), str, in sp_finish_error()
|