Lines Matching defs:newdev
449 spec_clone(struct vnode **vpp, dev_t newdev, int vtype, struct stdata *stp)
453 major_t newmaj = getmajor(newdev);
462 ASSERT(dev != newdev);
480 newvp = makespecvp(newdev, vtype);
500 * If we cloned to an opened newdev that already has called
506 * Establish s_dip association for newdev.
530 /* derive association from newdev */
531 dip = e_ddi_hold_devi_by_dev(newdev, 0);
563 dev_t dev, newdev;
589 newdev = dev = vp->v_rdev;
678 error = dev_open(&newdev, flag, type, cr);
681 if (error == 0 && dev != newdev) {
682 error = spec_clone(vpp, newdev, vp->v_type, NULL);
700 if (contract_device_open(newdev, spec_type, NULL) != 0) {
709 int nmaj = getmajor(newdev);
782 error = stropen(cvp, &newdev, flag, cr);
786 if ((error == 0) && (dev != newdev)) {
789 error = spec_clone(vpp, newdev, vp->v_type, stp);
809 if (contract_device_open(newdev, S_IFCHR, &ct) != 0) {