Home
last modified time | relevance | path

Searched refs:v_rdev (Results 1 – 25 of 92) sorted by relevance

1234

/titanic_41/usr/src/uts/common/os/
H A Ddriver_lyr.c379 mod_major_to_name(getmajor(vp->v_rdev)), in handle_alloc()
380 getminor(vp->v_rdev))); in handle_alloc()
416 mod_major_to_name(getmajor(vp->v_rdev)), in handle_alloc()
417 getminor(vp->v_rdev))); in handle_alloc()
437 mod_major_to_name(getmajor(lhp->lh_vp->v_rdev)), in handle_release()
438 getminor(lhp->lh_vp->v_rdev))); in handle_release()
760 if (devopsp[getmajor(vp->v_rdev)]->devo_cb_ops == NULL) in ldi_open_by_vp()
1014 dev = vp->v_rdev; in ldi_usage_walker_tgt_helper()
1365 major = getmajor(stp->sd_vnode->v_rdev); in ldi_mlink_fp()
1417 major = getmajor(stp->sd_vnode->v_rdev); in ldi_munlink_fp()
[all …]
H A Dfbio.c210 bp->b_dev = cmpdev(devvp->v_rdev); /* store in old dev format */ in fbiwrite()
211 bp->b_edev = devvp->v_rdev; in fbiwrite()
/titanic_41/usr/src/uts/common/io/
H A Dconsconfig_dacf.c385 DPRINTF(DPRINT_L0, "create vnode = 0x%p - dev 0x%lx\n", vp, vp->v_rdev); in i_consconfig_createvp()
767 wc_dev = sp->cons_wc_vp->v_rdev; in consconfig_relink_wc()
770 ASSERT(wc_dev == sp->cons_wc_vp->v_rdev); in consconfig_relink_wc()
852 if (e_ddi_hold_devi_by_dev(sp->cons_wc_vp->v_rdev, 0) == NULL) in cons_build_upper_layer()
918 wc_dev = sp->cons_wc_vp->v_rdev; in cons_build_upper_layer()
925 ASSERT(wc_dev == sp->cons_wc_vp->v_rdev); in cons_build_upper_layer()
1032 (void) e_ddi_hold_devi_by_dev(vsconsvp->v_rdev, 0); in consconfig_virtual_console_vp()
1062 ASSERT(fbvp->v_rdev == fbdev); in consconfig_init_framebuffer()
1345 cons_final_dev = sp->cons_wc_vp->v_rdev; in consconfig_init_input()
1363 rconsdev = rconsvp->v_rdev; in consconfig_init_input()
[all …]
H A Dzcons.c803 slave_filep->f_vnode->v_rdev) { in zc_wput()
861 if (zcs->zc_slave_vnode->v_rdev != in zc_wput()
862 slave_filep->f_vnode->v_rdev) { in zc_wput()
/titanic_41/usr/src/uts/common/syscall/
H A Dutssys.c424 (fvp->v_rdev == vp->v_rdev)) in dofusers()
495 if (fvp->v_rdev == vp->v_rdev) in dofusers()
582 if (fvp->v_rdev == vp->v_rdev) { in dofusers()
653 if (fvp->v_rdev != ldi_usage->tgt_devt) { in dofkusers_walker()
H A Dumount.c180 vfsp = vfs_dev2vfsp(fsrootvp->v_rdev); in umount2()
/titanic_41/usr/src/uts/common/fs/hsfs/
H A Dhsfs_vfsops.c535 bp = bread(devvp->v_rdev, secno * 4, CHECKSUM_SIZE); in compute_cdrom_id()
843 fsp->hsfs_rootvp->v_rdev = devvp->v_rdev; in hs_mountfs()
1010 secno = hs_findvoldesc(vp->v_rdev, HS_VOLDESC_SEC); in hs_findhsvol()
1011 secbp = bread(vp->v_rdev, secno * 4, HS_SECTOR_SIZE); in hs_findhsvol()
1050 secbp = bread(vp->v_rdev, secno * 4, HS_SECTOR_SIZE); in hs_findhsvol()
1144 secno = hs_findvoldesc(vp->v_rdev, ISO_VOLDESC_SEC); in hs_findisovol()
1145 secbp = bread(vp->v_rdev, secno * 4, ISO_SECTOR_SIZE); in hs_findisovol()
1210 secbp = bread(vp->v_rdev, secno * 4, HS_SECTOR_SIZE); in hs_findisovol()
1225 secbp = bread(vp->v_rdev, secno * 4, HS_SECTOR_SIZE); in hs_findisovol()
1391 dev = *pdev = bvp->v_rdev; in hs_getmdev()
H A Dhsfs_susp_subr.c385 secbp = bread(fsp->hsfs_devvp->v_rdev, secno * 4, HS_SECTOR_SIZE); in hs_check_root_dirent()
494 secbp = bread(fsp->hsfs_devvp->v_rdev, secno * 4, HS_SECTOR_SIZE); in get_cont_area()
531 secbp = bread(fsp->hsfs_devvp->v_rdev, (secno + 1) * 4, in get_cont_area()
/titanic_41/usr/src/uts/common/fs/fifofs/
H A Dfifosubr.c280 vp1->v_rdev = vp2->v_rdev = fifodev; in pipe_constructor()
300 ASSERT(vp1->v_rdev == fifodev); in pipe_destructor()
301 ASSERT(vp2->v_rdev == fifodev); in pipe_destructor()
498 newvp->v_rdev = vp->v_rdev; in fifovp()
549 nvp1->v_rdev = fifodev; in makepipe()
550 nvp2->v_rdev = fifodev; in makepipe()
/titanic_41/usr/src/uts/common/fs/specfs/
H A Dspecsubr.c132 ASSERT(vp->v_rdev == dev); in specvp()
187 svp->v_rdev = dev; in specvp()
254 svp->v_rdev = dev; in makespecvp()
357 if ((dip == NULL) && (getmajor(vp->v_rdev) == clone_major)) in spec_assoc_vp_with_devi()
565 svp->v_rdev = dev; in get_cvp()
611 svp->v_rdev = dev; in commonvp()
884 if (vp = makespecvp(ovp->v_rdev, VCHR)) { in makectty()
H A Dspecvnops.c331 dev = cvp->v_rdev; in spec_size()
451 dev_t dev = (*vpp)->v_rdev; in spec_clone()
589 newdev = dev = vp->v_rdev; in spec_open()
1524 rc = cdev_ioctl(vp->v_rdev, DKIOCFLUSHWRITECACHE, in spec_fsync()
2194 bp->b_edev = vp->v_rdev; in spec_startio()
2195 bp->b_dev = cmpdev(vp->v_rdev); in spec_startio()
2225 dev = vp->v_rdev; in spec_poll()
2405 return (spec_char_map(vp->v_rdev, off, as, addrp, len, prot, in spec_map()
2570 return (bdev_dump(vp->v_rdev, addr, (daddr_t)bn, (int)count)); in spec_dump()
/titanic_41/usr/src/uts/common/fs/devfs/
H A Ddevfs_subr.c296 vp->v_rdev = devfsdev; in dv_mkroot()
351 vp->v_rdev = DVTOV(ddv)->v_rdev; in dv_mkdir()
402 vp->v_rdev = dmd->ddm_dev; in dv_mknod()
413 dv->dv_ino = dv_mkino(devi, vp->v_type, vp->v_rdev); in dv_mknod()
587 vap->va_fsid = vp->v_rdev; in dv_vattr_merge()
589 vap->va_rdev = vp->v_rdev; in dv_vattr_merge()
590 vap->va_fsid = DVTOV(dv->dv_dotdot)->v_rdev; in dv_vattr_merge()
1239 *vpp = specvp_devfs(vp, vp->v_rdev, vp->v_type, cred, in dv_find()
/titanic_41/usr/src/cmd/mdb/common/modules/genunix/
H A Dldi.c337 if ((name = mdb_major_to_name(getmajor(vnode.v_rdev))) == NULL) { in ldi_handle_print()
344 mdb_printf("%5d ", getminor(vnode.v_rdev)); in ldi_handle_print()
/titanic_41/usr/src/uts/common/fs/namefs/
H A Dnamevno.c126 newvp->v_rdev = outfilevp->v_rdev; in nm_open()
133 newnamep->nm_vattr.va_rdev = outfilevp->v_rdev; in nm_open()
/titanic_41/usr/src/uts/common/fs/
H A Dlookup.c770 getmajor(v1->v_rdev) == getmajor(v2->v_rdev)) in vnode_match()
774 getmajor(v1->v_rdev) == getminor(v2->v_rdev)) in vnode_match()
778 getmajor(v2->v_rdev) == getminor(v1->v_rdev)) in vnode_match()
/titanic_41/usr/src/uts/common/cpr/
H A Dcpr_misc.c300 else if (vfs_devismounted(vp->v_rdev)) in cpr_verify_statefile_path()
404 if (ufsvfsp_save->vfs_devvp->v_rdev != vp->v_rdev) { in cpr_verify_statefile_path()
677 space = cpr_get_devsize(vp->v_rdev); in cpr_statefile_ok()
/titanic_41/usr/src/uts/common/fs/fd/
H A Dfdops.c180 vap->va_nodeid = (ino64_t)fdtoi(getminor(vp->v_rdev)); in fdgetattr()
183 vap->va_rdev = vp->v_rdev; in fdgetattr()
353 vp->v_rdev = makedevice(fdrmaj, n); in fdget()
/titanic_41/usr/src/uts/common/gssapi/
H A Dgssd_handle.c115 gssg->gss_config.knc_rdev = vp->v_rdev; in getgssd_handle()
/titanic_41/usr/src/uts/common/rpc/
H A Dsvc_gen.c234 getmajor(fp->f_vnode->v_rdev) == udpmaj) in svc_tli_kcreate()
/titanic_41/usr/src/uts/common/fs/smbclnt/netsmb/
H A Dsmb_dev.c572 dev = vp->v_rdev; in smb_usr_dup_dev()
619 dev = vp->v_rdev; in smb_dev2share()
/titanic_41/usr/src/uts/common/fs/zfs/
H A Dzfs_onexit.c133 *minorp = getminor(fp->f_vnode->v_rdev); in zfs_onexit_fd_hold()
/titanic_41/usr/src/uts/common/fs/dev/
H A Dsdev_ipnetops.c72 if (getminor(SDEVTOV(dv)->v_rdev) != getminor(dev)) in devipnet_validate()
/titanic_41/usr/src/uts/common/fs/pcfs/
H A Dpc_vfsops.c416 *xdev = lvp->v_rdev; in pcfs_device_identify()
418 *xdev = svp->v_rdev; in pcfs_device_identify()
916 (void) cmpldev(&d32, fsp->pcfs_devvp->v_rdev); in pcfs_statvfs()
1139 getmajor(fsp->pcfs_devvp->v_rdev), in pc_badfs()
1140 getminor(fsp->pcfs_devvp->v_rdev), fsp->pcfs_ldrive); in pc_badfs()
1518 dev_t dev = fsp->pcfs_devvp->v_rdev; in findTheDrive()
2463 dev_t dev = devvp->v_rdev; in pc_getfattype()
/titanic_41/usr/src/lib/smbsrv/libfksmbsrv/common/
H A Dvncache.c117 vp->v_rdev = NODEV; in vn_reinit()
/titanic_41/usr/src/uts/common/avs/ns/
H A Dcontract.h87 int v_rdev; /* nskern too */ member

1234