Home
last modified time | relevance | path

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

/xnu-11215/bsd/miscfs/specfs/
H A Dspec_vnops.c291 dev_t dev = (dev_t)vp->v_rdev; in set_fsblocksize()
356 dev_t bdev, dev = (dev_t)vp->v_rdev; in spec_open()
576 vp->v_rdev, blkno, iolen, 0); in spec_read()
580 (vp->v_rdev, uio, ap->a_ioflag); in spec_read()
603 dev = vp->v_rdev; in spec_read()
688 dev = vp->v_rdev; in spec_write()
719 vp->v_rdev, blkno, iolen, 0); in spec_write()
750 dev = (vp->v_rdev); in spec_write()
835 dev_t dev = ap->a_vp->v_rdev; in spec_ioctl()
875 dev = ap->a_vp->v_rdev; in spec_select()
[all …]
H A Dspecdev.h97 #define v_rdev v_specinfo->si_rdev macro
/xnu-11215/bsd/vfs/
H A Dvfs_vnops.c1744 if (major(vp->v_rdev) >= nblkdev) { in vn_ioctl()
1748 *(int *)data = bdevsw[major(vp->v_rdev)].d_type; in vn_ioctl()
1750 if (major(vp->v_rdev) >= nchrdev) { in vn_ioctl()
1754 *(int *)data = cdevsw[major(vp->v_rdev)].d_type; in vn_ioctl()
H A Dvfs_subr.c2186 if (nvp_rdev == vp->v_rdev && nvp->v_type == vp->v_type) { in checkalias()
2225 nvp->v_rdev = nvp_rdev; in checkalias()
2238 if (nvp_rdev == vp->v_rdev && nvp->v_type == vp->v_type) { in checkalias()
3237 if (vq->v_rdev != vp->v_rdev || in vn_revoke()
3352 if (vq->v_rdev != vp->v_rdev || in vgone()
3391 if (dev != vp->v_rdev || type != vp->v_type) { in get_vp_from_dev()
3561 if (vq->v_rdev == vp->v_rdev && vq->v_type == vp->v_type) { in vcount()
4137 if (vq->v_rdev != vp->v_rdev || in vfs_mountedon()
4205 if (vq->v_rdev != vp->v_rdev || in vfs_setmounting()
7118 u_int maj = major(vp->v_rdev); in vnode_create_internal()
H A Dvfs_bio.c1103 bp->b_dev = vp->v_rdev; in buf_setdevice()
1446 bp->b_dev = devvp->v_rdev; in buf_strategy()
2101 bp->b_dev = vp->v_rdev; in bgetvp_locked()
4532 bp->b_dev = vp->v_rdev; in alloc_io_buf()
H A Dvfs_cache.c1080 major(vp->v_rdev), minor(vp->v_rdev)); in vnode_getname_printable()
H A Dkpi_vfs.c847 if (major(devvp->v_rdev) >= nblkdev) { in vfs_setdevvp()
1877 return vp->v_rdev; in vnode_specrdev()
H A Dvfs_syscalls.c1456 if (major(devvp->v_rdev) >= nblkdev) { in mount_common()
1543 dev = (dev_t)device_vnode->v_rdev; in mount_common()
H A Dvfs_cluster.c596 if (bootcache_check_fn(vp->v_mount->mnt_devvp->v_rdev, blkno)) { in cluster_io_present_in_BC()
/xnu-11215/bsd/miscfs/devfs/
H A Ddevfs_vnops.c468 VATTR_RETURN(vap, va_rdev, vp->v_rdev); in devfs_getattr()
472 VATTR_RETURN(vap, va_rdev, vp->v_rdev); in devfs_getattr()