Lines Matching refs:dev
69 * $FreeBSD: src/sys/dev/vn/vn.c,v 1.105.2.4 2001/11/18 07:11:00 dillon Exp $
208 dev_t dev,
214 dev_t dev,
218 vnunit(dev_t dev)
220 return (minor(dev));
224 vnclose(__unused dev_t dev, __unused int flags,
231 vnopen(dev_t dev, int flags, __unused int devtype, __unused proc_t p)
236 unit = vnunit(dev);
237 if (vnunit(dev) >= NVNDEVICE) {
491 vnread(dev_t dev, struct uio *uio, int ioflag)
502 unit = vnunit(dev);
503 if (vnunit(dev) >= NVNDEVICE) {
568 vnwrite(dev_t dev, struct uio *uio, int ioflag)
579 unit = vnunit(dev);
580 if (vnunit(dev) >= NVNDEVICE) {
872 vnioctl(dev_t dev, u_long cmd, caddr_t data,
887 unit = vnunit(dev);
888 if (vnunit(dev) >= NVNDEVICE) {
1024 error = vniocattach_shadow(vn, viop, dev, 0, p);
1052 error = vniocattach_file(vn, viop, dev, 0, p);
1110 vnioctl_chr(dev_t dev, u_long cmd, caddr_t data, int flag, proc_t p)
1112 return (vnioctl(dev, cmd, data, flag, p, TRUE));
1116 vnioctl_blk(dev_t dev, u_long cmd, caddr_t data, int flag, proc_t p)
1118 return (vnioctl(dev, cmd, data, flag, p, FALSE));
1131 dev_t dev,
1199 cdev = makedev(vndevice_cdev_major, minor(dev));
1203 minor(dev));
1214 __unused dev_t dev, int in_kernel, proc_t p)
1334 vnsize(dev_t dev)
1341 unit = vnunit(dev);
1342 if (vnunit(dev) >= NVNDEVICE) {
1389 dev_t dev = makedev(vndevice_bdev_major, i);
1390 vn_table[i].sc_bdev = devfs_make_node(dev, DEVFS_BLOCK,