Searched refs:md_major (Results 1 - 19 of 19) sorted by relevance

/illumos-gate/usr/src/lib/lvm/libpreen/common/
H A Dmdpreen.c152 static int md_major = -1; local
169 if (md_major == -1 &&
170 get_major_from_n2m(MD_MODULE, &md_major) != 0)
179 if (major(statb.st_rdev) != md_major) {
/illumos-gate/usr/src/uts/common/io/lvm/trans/
H A Dtrans_ioctl.c66 extern major_t md_major;
1277 if (md_getmajor(un->un_m_dev) == md_major) {
1383 if (md_getmajor(unit_dev) != md_major) {
1394 if (md_getmajor(unit_dev) != md_major) {
2185 un->un_dev = makedevice(md_major, to_min);
2267 ASSERT(md_getmajor(un->un_m_dev) == md_major);
2268 ASSERT(!(un->un_l_unit && (md_getmajor(un->un_l_dev) != md_major)));
2270 if ((md_getmajor(un->un_m_dev) == md_major) &&
2275 un->un_m_dev = makedevice(md_major, to_min);
2278 } else if ((md_getmajor(un->un_m_dev) == md_major)
[all...]
H A Dtrans_log.c54 extern major_t md_major;
311 if ((md_getmajor(ul->un_dev) == md_major) &&
474 if (md_getmajor(ul->un_dev) == md_major)
504 if ((md_getmajor(tmpdev) != md_major) &&
H A Dmdtrans.c69 extern major_t md_major;
225 if (md_getmajor(un->un_m_dev) == md_major) {
261 if ((md_getmajor(tmpdev) != md_major) &&
328 if ((md_getmajor(un->un_m_dev) == md_major) &&
360 un->un_dev = md_makedevice(md_major, mnum);
374 if (md_getmajor(un->un_m_dev) == md_major) {
/illumos-gate/usr/src/uts/common/io/lvm/md/
H A Dmd_rename.c47 extern major_t md_major;
401 md_makedevice(md_major, MD_PARENT(rtxnp->from.unp)),
411 md_makedevice(md_major, MD_SID(rtxnp->to.unp)),
465 md_makedevice(md_major, rtxnp->from.mnum),
480 md_makedevice(md_major, rtxnp->from.mnum),
1303 if (!md_dev_exists(md_makedevice(md_major, from_min))) {
1331 (md_dev_exists(md_makedevice(md_major, to_min)) == NULL)) {
1376 md_dev_exists(md_makedevice(md_major, to_min))) {
1445 from_dev = md_makedevice(md_major, from_min);
H A Dmd_subr.c81 extern major_t md_major;
1319 if (md_getmajor(dev) != md_major)
1932 if (major == md_major) {
1988 if (major == md_major) {
2310 if (getmajor(bp->b_edev) != md_major) {
2348 if (md_getmajor(dev) != md_major) {
2411 if (md_getmajor(dev) != md_major)
2429 if (md_getmajor(dev) != md_major)
2445 if (md_getmajor(dev) != md_major)
2575 if (((maj != md_major) || (MD_MIN2UNI
[all...]
H A Dmd.c163 major_t md_major, md_major_targ; variable
410 md_major = ddi_name_to_major("md");
1032 if ((odev == NODEV64) || (md_getmajor(odev) == md_major))
H A Dmd_ioctl.c66 extern major_t md_major;
399 if (nm->major != md_major) {
1677 (md_getmajor(clu->clu_dev)) != md_major) {
2470 if ((p->dev <= 0) || (md_getmajor(p->dev)) != md_major) {
H A Dmd_names.c76 extern major_t md_major, md_major_targ;
1330 n->n_drv_key, 0L)) == md_major) {
3139 retval = md_makedevice(md_major,
4286 if (device != NODEV64 && (md_getmajor(device) == md_major))
/illumos-gate/usr/src/uts/common/io/lvm/stripe/
H A Dstripe.c70 extern major_t md_major;
227 if ((md_getmajor(tmpdev) != md_major) &&
445 if (md_getmajor(child_dev) == md_major) {
669 if ((md_getmajor(wb_edev) != md_major) && (wb_bcount > md_maxphys)) {
1482 if (md_getmajor(comp->un_dev) == md_major) {
1504 if (md_getmajor(comp->un_dev) == md_major) {
1715 self_devt = md_makedevice(md_major, *self_id);
H A Dstripe_ioctl.c64 extern major_t md_major;
276 if (md_getmajor(comp_dev) == md_major) {
615 if (md_getmajor(comp_dev) == md_major) {
785 if (md_getmajor(unit_dev) != md_major) {
/illumos-gate/usr/src/uts/common/io/lvm/softpart/
H A Dsp_ioctl.c94 extern major_t md_major;
291 if ((md_getmajor(device) != md_major) &&
530 if (md_getmajor(un->un_dev) == md_major) {
695 if (md_getmajor(un->un_dev) == md_major) {
946 if (md_getmajor(unit_dev) != md_major) {
H A Dsp.c115 extern major_t md_major;
644 if ((md_getmajor(new_edev) != md_major) && (new_bcount > md_maxphys)) {
1461 if ((md_getmajor(tmpdev) != md_major) &&
1794 self_devt = md_makedevice(md_major, *self_id);
/illumos-gate/usr/src/uts/common/io/lvm/raid/
H A Draid_ioctl.c94 extern major_t md_major;
1021 if (md_getmajor(mr_col->un_dev) == md_major) {
1276 if (md_getmajor(tmpdev) == md_major) {
1295 if (md_getmajor(odev) == md_major) {
1333 if (md_getmajor(odev) != md_major) {
1408 if ((md_getmajor(tmpdev) != md_major) &&
1908 if (md_getmajor(mr_col->un_dev) == md_major) {
2202 if (md_getmajor(unit_dev) != md_major) {
2218 if (md_getmajor(unit_dev) != md_major) {
H A Draid_resync.c73 extern major_t md_major;
345 if ((md_getmajor(tmpdev) != md_major) &&
H A Draid.c86 extern major_t md_major;
1113 if (md_getmajor(comp_dev) == md_major) {
3857 if ((md_getmajor(tmpdev) != md_major) &&
4352 self_devt = md_makedevice(md_major, *self_id);
/illumos-gate/usr/src/uts/common/io/lvm/mirror/
H A Dmirror.c113 extern major_t md_major;
992 if (major == md_major) {
1471 if (md_getmajor(sm->sm_dev) != md_major)
1720 md_getmajor(tmpdev) != md_major)
1754 if (md_getmajor(sm->sm_dev) == md_major) {
5642 (md_makedevice(md_major, MD_MKMIN(setno,
5661 (md_major, MD_MKMIN(setno, MD_MIN2UNIT
5679 self_devt = md_makedevice(md_major, *self_id);
H A Dmirror_ioctl.c72 extern major_t md_major;
245 if (md_getmajor(sm->sm_dev) != md_major)
341 if (md_getmajor(unit_dev) != md_major) {
727 if ((md_getmajor(this_dev) != md_major) &&
1355 if (md_getmajor(sm->sm_dev) != md_major)
3468 sm->sm_dev = md_makedevice(md_major, rtxnp->to.mnum);
3558 found->sm_dev = md_makedevice(md_major, rtxnp->from.mnum);
3661 found->sm_dev = md_makedevice(md_major, rtxnp->to.mnum);
H A Dmirror_resync.c63 extern major_t md_major;
974 bp->b_edev = makedevice(md_major, MD_SID(un));

Completed in 129 milliseconds