dev                65 bsp/drv/arm/gba/keypad.c 	device_t	dev;
dev               131 bsp/drv/arm/gba/keypad.c 	device_t dev;
dev               133 bsp/drv/arm/gba/keypad.c 	dev = device_create(self, "keypad", D_CHR);
dev               134 bsp/drv/arm/gba/keypad.c 	sc = device_private(dev);
dev                48 bsp/drv/arm/gba/lcd.c 	device_t	dev;
dev               181 bsp/drv/arm/gba/lcd.c 	device_t dev;
dev               184 bsp/drv/arm/gba/lcd.c 	dev = device_create(self, "lcd", D_CHR|D_TTY);
dev               186 bsp/drv/arm/gba/lcd.c 	sc = device_private(dev);
dev                83 bsp/drv/arm/gba/swkbd.c 	device_t	dev;		/* device object */
dev               485 bsp/drv/arm/gba/swkbd.c 	device_t dev;
dev               487 bsp/drv/arm/gba/swkbd.c 	dev = device_create(self, "swkbd", D_CHR);
dev               489 bsp/drv/arm/gba/swkbd.c 	sc = device_private(dev);
dev               490 bsp/drv/arm/gba/swkbd.c 	sc->dev = dev;
dev                72 bsp/drv/dev/base/cons.c cons_open(device_t dev, int mode)
dev                76 bsp/drv/dev/base/cons.c 	dev = consdev->dev;
dev                77 bsp/drv/dev/base/cons.c 	return consdev->devops->open(dev, mode);
dev                81 bsp/drv/dev/base/cons.c cons_close(device_t dev)
dev                85 bsp/drv/dev/base/cons.c 	dev = consdev->dev;
dev                86 bsp/drv/dev/base/cons.c 	return consdev->devops->close(dev);
dev                90 bsp/drv/dev/base/cons.c cons_read(device_t dev, char *buf, size_t *nbyte, int blkno)
dev                94 bsp/drv/dev/base/cons.c 	dev = consdev->dev;
dev                95 bsp/drv/dev/base/cons.c 	return consdev->devops->read(dev, buf, nbyte, blkno);
dev                99 bsp/drv/dev/base/cons.c cons_write(device_t dev, char *buf, size_t *nbyte, int blkno)
dev               103 bsp/drv/dev/base/cons.c 	dev = consdev->dev;
dev               104 bsp/drv/dev/base/cons.c 	return consdev->devops->write(dev, buf, nbyte, blkno);
dev               108 bsp/drv/dev/base/cons.c cons_ioctl(device_t dev, u_long cmd, void *arg)
dev               112 bsp/drv/dev/base/cons.c 	dev = consdev->dev;
dev               113 bsp/drv/dev/base/cons.c 	return consdev->devops->ioctl(dev, cmd, arg);
dev               117 bsp/drv/dev/base/cons.c cons_devctl(device_t dev, u_long cmd, void *arg)
dev               121 bsp/drv/dev/base/cons.c 	dev = consdev->dev;
dev               122 bsp/drv/dev/base/cons.c 	return consdev->devops->devctl(dev, cmd, arg);
dev               135 bsp/drv/dev/base/cons.c 	return consdev->cngetc(consdev->dev);
dev               148 bsp/drv/dev/base/cons.c 	consdev->cnpollc(consdev->dev, on);
dev               160 bsp/drv/dev/base/cons.c 		consdev->cnputc(consdev->dev, c);
dev               162 bsp/drv/dev/base/cons.c 			consdev->cnputc(consdev->dev, '\r');
dev               172 bsp/drv/dev/base/cons.c 	consdev->cnpollc(consdev->dev, 1);
dev               174 bsp/drv/dev/base/cons.c 		consdev->cnputc(consdev->dev, *str);
dev               176 bsp/drv/dev/base/cons.c 			consdev->cnputc(consdev->dev, '\r');
dev               179 bsp/drv/dev/base/cons.c 	consdev->cnpollc(consdev->dev, 0);
dev                52 bsp/drv/dev/base/pm.c 	device_t	dev;		/* device object */
dev               100 bsp/drv/dev/base/pm.c pm_open(device_t dev, int mode)
dev               115 bsp/drv/dev/base/pm.c pm_close(device_t dev)
dev               130 bsp/drv/dev/base/pm.c pm_ioctl(device_t dev, u_long cmd, void *arg)
dev               491 bsp/drv/dev/base/pm.c pm_attach_lcd(device_t dev)
dev               496 bsp/drv/dev/base/pm.c 	pm_softc->lcd_dev = dev;
dev               503 bsp/drv/dev/base/pm.c 	device_t dev;
dev               506 bsp/drv/dev/base/pm.c 	dev = device_create(self, "pm", D_CHR|D_PROT);
dev               508 bsp/drv/dev/base/pm.c 	sc = device_private(dev);
dev               509 bsp/drv/dev/base/pm.c 	sc->dev = dev;
dev                57 bsp/drv/dev/base/wscons.c 	device_t	dev;		/* our device */
dev               117 bsp/drv/dev/base/wscons.c wscons_read(device_t dev, char *buf, size_t *nbyte, int blkno)
dev               125 bsp/drv/dev/base/wscons.c wscons_write(device_t dev, char *buf, size_t *nbyte, int blkno)
dev               133 bsp/drv/dev/base/wscons.c wscons_ioctl(device_t dev, u_long cmd, void *arg)
dev               415 bsp/drv/dev/base/wscons.c wscons_cngetc(device_t dev)
dev               424 bsp/drv/dev/base/wscons.c wscons_cnputc(device_t dev, int c)
dev               433 bsp/drv/dev/base/wscons.c wscons_cnpollc(device_t dev, int on)
dev               462 bsp/drv/dev/base/wscons.c 	wsconsdev.dev = sc->dev;
dev               480 bsp/drv/dev/base/wscons.c 	device_t dev;
dev               482 bsp/drv/dev/base/wscons.c 	dev = device_create(self, "tty", D_CHR|D_TTY);
dev               484 bsp/drv/dev/base/wscons.c 	sc = device_private(dev);
dev               485 bsp/drv/dev/base/wscons.c 	sc->dev = dev;
dev               491 bsp/drv/dev/base/wscons.c 	sc->tty.t_dev = dev;
dev               102 bsp/drv/dev/block/fdd.c 	device_t	dev;		/* device object */
dev               487 bsp/drv/dev/block/fdd.c fdd_open(device_t dev, int mode)
dev               489 bsp/drv/dev/block/fdd.c 	struct fdd_softc *sc = device_private(dev);
dev               500 bsp/drv/dev/block/fdd.c fdd_close(device_t dev)
dev               502 bsp/drv/dev/block/fdd.c 	struct fdd_softc *sc = device_private(dev);
dev               558 bsp/drv/dev/block/fdd.c fdd_read(device_t dev, char *buf, size_t *nbyte, int blkno)
dev               560 bsp/drv/dev/block/fdd.c 	struct fdd_softc *sc = device_private(dev);
dev               614 bsp/drv/dev/block/fdd.c fdd_write(device_t dev, char *buf, size_t *nbyte, int blkno)
dev               616 bsp/drv/dev/block/fdd.c 	struct fdd_softc *sc = device_private(dev);
dev               678 bsp/drv/dev/block/fdd.c 	device_t dev;
dev               682 bsp/drv/dev/block/fdd.c 	dev = device_create(self, "fd0", D_BLK|D_PROT);
dev               683 bsp/drv/dev/block/fdd.c 	sc = device_private(dev);
dev               684 bsp/drv/dev/block/fdd.c 	sc->dev = dev;
dev                48 bsp/drv/dev/block/ramdisk.c 	device_t	dev;		/* device object */
dev                78 bsp/drv/dev/block/ramdisk.c ramdisk_read(device_t dev, char *buf, size_t *nbyte, int blkno)
dev                80 bsp/drv/dev/block/ramdisk.c 	struct ramdisk_softc *sc = device_private(dev);
dev               109 bsp/drv/dev/block/ramdisk.c ramdisk_write(device_t dev, char *buf, size_t *nbyte, int blkno)
dev               111 bsp/drv/dev/block/ramdisk.c 	struct ramdisk_softc *sc = device_private(dev);
dev               159 bsp/drv/dev/block/ramdisk.c 	device_t dev;
dev               164 bsp/drv/dev/block/ramdisk.c 	dev = device_create(self, "ram0", D_BLK|D_PROT);
dev               166 bsp/drv/dev/block/ramdisk.c 	sc = device_private(dev);
dev               167 bsp/drv/dev/block/ramdisk.c 	sc->dev = dev;
dev                69 bsp/drv/dev/cpufreq/cpufreq.c 	device_t	dev;		/* device object */
dev               303 bsp/drv/dev/cpufreq/cpufreq.c cpufreq_ioctl(device_t dev, u_long cmd, void *arg)
dev               305 bsp/drv/dev/cpufreq/cpufreq.c 	struct cpufreq_softc *sc = device_private(dev);
dev               324 bsp/drv/dev/cpufreq/cpufreq.c cpufreq_devctl(device_t dev, u_long cmd, void *arg)
dev               326 bsp/drv/dev/cpufreq/cpufreq.c 	struct cpufreq_softc *sc = device_private(dev);
dev               353 bsp/drv/dev/cpufreq/cpufreq.c 	device_t dev;
dev               358 bsp/drv/dev/cpufreq/cpufreq.c 	dev = device_create(&cpufreq_driver, "cpufreq", D_CHR|D_PROT);
dev               360 bsp/drv/dev/cpufreq/cpufreq.c 	sc = device_private(dev);
dev               361 bsp/drv/dev/cpufreq/cpufreq.c 	sc->dev = dev;
dev                45 bsp/drv/dev/input/pckbd.c 	device_t	dev;		/* device object */
dev               271 bsp/drv/dev/input/pckbd.c 	device_t dev;
dev               273 bsp/drv/dev/input/pckbd.c 	dev = device_create(self, "kbd", D_CHR);
dev               275 bsp/drv/dev/input/pckbd.c 	sc = device_private(dev);
dev               276 bsp/drv/dev/input/pckbd.c 	sc->dev = dev;
dev                59 bsp/drv/dev/input/psaux.c 	device_t	dev;		/* device object */
dev               173 bsp/drv/dev/input/psaux.c psaux_open(device_t dev, int mode)
dev               176 bsp/drv/dev/input/psaux.c 	DPRINTF(("psaux_open: dev=%x\n", dev));
dev               184 bsp/drv/dev/input/psaux.c psaux_close(device_t dev)
dev               186 bsp/drv/dev/input/psaux.c 	DPRINTF(("psaux_close: dev=%x\n", dev));
dev               194 bsp/drv/dev/input/psaux.c psaux_read(device_t dev, char *buf, size_t *nbyte, int blkno)
dev               204 bsp/drv/dev/input/psaux.c 	device_t dev;
dev               209 bsp/drv/dev/input/psaux.c 	dev = device_create(self, "mouse", D_CHR);
dev               211 bsp/drv/dev/input/psaux.c 	sc = device_private(dev);
dev               212 bsp/drv/dev/input/psaux.c 	sc->dev = dev;
dev                63 bsp/drv/dev/misc/null.c null_read(device_t dev, char *buf, size_t *nbyte, int blkno)
dev                74 bsp/drv/dev/misc/null.c null_write(device_t dev, char *buf, size_t *nbyte, int blkno)
dev                59 bsp/drv/dev/misc/random.c random_read(device_t dev, char *buf, size_t *nbyte, int blkno)
dev                63 bsp/drv/dev/misc/zero.c zero_read(device_t dev, char *buf, size_t *nbyte, int blkno)
dev                79 bsp/drv/dev/misc/zero.c zero_write(device_t dev, char *buf, size_t *nbyte, int blkno)
dev                56 bsp/drv/dev/rtc/rtc.c 	device_t	dev;		/* device object */
dev               178 bsp/drv/dev/rtc/rtc.c rtc_ioctl(device_t dev, u_long cmd, void *arg)
dev               180 bsp/drv/dev/rtc/rtc.c 	struct rtc_softc *sc = device_private(dev);
dev               214 bsp/drv/dev/rtc/rtc.c 	device_t dev;
dev               217 bsp/drv/dev/rtc/rtc.c 	dev = device_create(&rtc_driver, "rtc", D_CHR);
dev               219 bsp/drv/dev/rtc/rtc.c 	sc = device_private(dev);
dev               220 bsp/drv/dev/rtc/rtc.c 	sc->dev = dev;
dev                49 bsp/drv/dev/serial/serial.c 	device_t	dev;		/* device object */
dev                95 bsp/drv/dev/serial/serial.c serial_read(device_t dev, char *buf, size_t *nbyte, int blkno)
dev                97 bsp/drv/dev/serial/serial.c 	struct serial_softc *sc = device_private(dev);
dev               103 bsp/drv/dev/serial/serial.c serial_write(device_t dev, char *buf, size_t *nbyte, int blkno)
dev               105 bsp/drv/dev/serial/serial.c 	struct serial_softc *sc = device_private(dev);
dev               111 bsp/drv/dev/serial/serial.c serial_ioctl(device_t dev, u_long cmd, void *arg)
dev               113 bsp/drv/dev/serial/serial.c 	struct serial_softc *sc = device_private(dev);
dev               153 bsp/drv/dev/serial/serial.c serial_cngetc(device_t dev)
dev               155 bsp/drv/dev/serial/serial.c 	struct serial_softc *sc = device_private(dev);
dev               162 bsp/drv/dev/serial/serial.c serial_cnputc(device_t dev, int c)
dev               164 bsp/drv/dev/serial/serial.c 	struct serial_softc *sc = device_private(dev);
dev               171 bsp/drv/dev/serial/serial.c serial_cnpollc(device_t dev, int on)
dev               173 bsp/drv/dev/serial/serial.c 	struct serial_softc *sc = device_private(dev);
dev               183 bsp/drv/dev/serial/serial.c 	device_t dev;
dev               186 bsp/drv/dev/serial/serial.c 	dev = device_create(&serial_driver, "tty", D_CHR|D_TTY);
dev               188 bsp/drv/dev/serial/serial.c 	sc = device_private(dev);
dev               189 bsp/drv/dev/serial/serial.c 	sc->dev = dev;
dev               194 bsp/drv/dev/serial/serial.c 	sc->tty.t_dev = dev;
dev               204 bsp/drv/dev/serial/serial.c 	serial_consdev.dev = dev;
dev                55 bsp/drv/dev/video/vga.c 	device_t	dev;
dev               207 bsp/drv/dev/video/vga.c vga_devctl(device_t dev, u_long cmd, void *arg)
dev               209 bsp/drv/dev/video/vga.c 	struct vga_softc *sc = device_private(dev);
dev               238 bsp/drv/dev/video/vga.c 	device_t dev;
dev               244 bsp/drv/dev/video/vga.c 	dev = device_create(self, "vga", D_CHR);
dev               246 bsp/drv/dev/video/vga.c 	sc = device_private(dev);
dev               254 bsp/drv/dev/video/vga.c 	pm_attach_lcd(dev);
dev                36 bsp/drv/include/cons.h 	device_t	dev;		/* device */
dev                38 bsp/drv/include/cons.h 	int	(*cngetc)(device_t dev);          /* kernel getchar */
dev                39 bsp/drv/include/cons.h 	void	(*cnputc)(device_t dev, int ch);  /* kernel putchar */
dev                40 bsp/drv/include/cons.h 	void	(*cnpollc)(device_t dev, int on); /* polling control */
dev                90 include/ipc/fs.h 	char	dev[PATH_MAX];		/* mount device */
dev               126 include/sys/prex.h int	device_open(const char *name, int mode, device_t *dev);
dev               127 include/sys/prex.h int	device_close(device_t dev);
dev               128 include/sys/prex.h int	device_read(device_t dev, void *buf, size_t *nbyte, int blkno);
dev               129 include/sys/prex.h int	device_write(device_t dev, void *buf, size_t *nbyte, int blkno);
dev               130 include/sys/prex.h int	device_ioctl(device_t dev, u_long cmd, void *arg);
dev               132 sys/kern/device.c 	device_t dev;
dev               152 sys/kern/device.c 	if ((dev = kmem_alloc(sizeof(*dev))) == NULL)
dev               160 sys/kern/device.c 	strlcpy(dev->name, name, len + 1);
dev               161 sys/kern/device.c 	dev->driver = drv;
dev               162 sys/kern/device.c 	dev->flags = flags;
dev               163 sys/kern/device.c 	dev->active = 1;
dev               164 sys/kern/device.c 	dev->refcnt = 1;
dev               165 sys/kern/device.c 	dev->private = private;
dev               166 sys/kern/device.c 	dev->next = device_list;
dev               167 sys/kern/device.c 	device_list = dev;
dev               170 sys/kern/device.c 	return dev;
dev               179 sys/kern/device.c device_destroy(device_t dev)
dev               183 sys/kern/device.c 	if (!device_valid(dev)) {
dev               187 sys/kern/device.c 	dev->active = 0;
dev               188 sys/kern/device.c 	device_release(dev);
dev               199 sys/kern/device.c 	device_t dev;
dev               201 sys/kern/device.c 	for (dev = device_list; dev != NULL; dev = dev->next) {
dev               202 sys/kern/device.c 		if (!strncmp(dev->name, name, MAXDEVNAME))
dev               203 sys/kern/device.c 			return dev;
dev               212 sys/kern/device.c device_private(device_t dev)
dev               214 sys/kern/device.c 	ASSERT(dev != NULL);
dev               215 sys/kern/device.c 	ASSERT(dev->private != NULL);
dev               217 sys/kern/device.c 	return dev->private;
dev               224 sys/kern/device.c device_valid(device_t dev)
dev               230 sys/kern/device.c 		if (tmp == dev) {
dev               235 sys/kern/device.c 	if (found && dev->active)
dev               244 sys/kern/device.c device_reference(device_t dev)
dev               248 sys/kern/device.c 	if (!device_valid(dev)) {
dev               256 sys/kern/device.c 	dev->refcnt++;
dev               266 sys/kern/device.c device_release(device_t dev)
dev               271 sys/kern/device.c 	if (--dev->refcnt > 0) {
dev               279 sys/kern/device.c 		if (*tmp == dev) {
dev               280 sys/kern/device.c 			*tmp = dev->next;
dev               284 sys/kern/device.c 	kmem_free(dev);
dev               302 sys/kern/device.c 	device_t dev;
dev               311 sys/kern/device.c 	if ((dev = device_lookup(str)) == NULL) {
dev               315 sys/kern/device.c 	error = device_reference(dev);
dev               322 sys/kern/device.c 	ops = dev->driver->devops;
dev               324 sys/kern/device.c 	error = (*ops->open)(dev, mode);
dev               326 sys/kern/device.c 		error = copyout(&dev, devp, sizeof(dev));
dev               328 sys/kern/device.c 	device_release(dev);
dev               339 sys/kern/device.c device_close(device_t dev)
dev               344 sys/kern/device.c 	if ((error = device_reference(dev)) != 0)
dev               347 sys/kern/device.c 	ops = dev->driver->devops;
dev               349 sys/kern/device.c 	error = (*ops->close)(dev);
dev               351 sys/kern/device.c 	device_release(dev);
dev               362 sys/kern/device.c device_read(device_t dev, void *buf, size_t *nbyte, int blkno)
dev               371 sys/kern/device.c 	if ((error = device_reference(dev)) != 0)
dev               375 sys/kern/device.c 		device_release(dev);
dev               379 sys/kern/device.c 	ops = dev->driver->devops;
dev               381 sys/kern/device.c 	error = (*ops->read)(dev, buf, &count, blkno);
dev               385 sys/kern/device.c 	device_release(dev);
dev               395 sys/kern/device.c device_write(device_t dev, void *buf, size_t *nbyte, int blkno)
dev               404 sys/kern/device.c 	if ((error = device_reference(dev)) != 0)
dev               408 sys/kern/device.c 		device_release(dev);
dev               412 sys/kern/device.c 	ops = dev->driver->devops;
dev               414 sys/kern/device.c 	error = (*ops->write)(dev, buf, &count, blkno);
dev               418 sys/kern/device.c 	device_release(dev);
dev               430 sys/kern/device.c device_ioctl(device_t dev, u_long cmd, void *arg)
dev               435 sys/kern/device.c 	if ((error = device_reference(dev)) != 0)
dev               438 sys/kern/device.c 	ops = dev->driver->devops;
dev               440 sys/kern/device.c 	error = (*ops->ioctl)(dev, cmd, arg);
dev               442 sys/kern/device.c 	device_release(dev);
dev               451 sys/kern/device.c device_control(device_t dev, u_long cmd, void *arg)
dev               456 sys/kern/device.c 	ASSERT(dev != NULL);
dev               459 sys/kern/device.c 	ops = dev->driver->devops;
dev               461 sys/kern/device.c 	error = (*ops->devctl)(dev, cmd, arg);
dev               482 sys/kern/device.c 	device_t dev;
dev               488 sys/kern/device.c 	for (dev = device_list; dev != NULL; dev = dev->next) {
dev               492 sys/kern/device.c 		ops = dev->driver->devops;
dev               497 sys/kern/device.c 		error = (*ops->devctl)(dev, cmd, arg);
dev               500 sys/kern/device.c 				 dev->name, error, cmd));
dev               521 sys/kern/device.c 	device_t dev;
dev               525 sys/kern/device.c 	for (dev = device_list; dev != NULL; dev = dev->next) {
dev               528 sys/kern/device.c 			info->id = dev;
dev               529 sys/kern/device.c 			info->flags = dev->flags;
dev               530 sys/kern/device.c 			strlcpy(info->name, dev->name, MAXDEVNAME);
dev               769 usr/lib/libc/gen/fts.c 	dev_t dev;
dev               817 usr/lib/libc/gen/fts.c 		dev = p->fts_dev = sbp->st_dev;
dev               832 usr/lib/libc/gen/fts.c 			if (ino == t->fts_ino && dev == t->fts_dev) {
dev                40 usr/lib/posix/file/mknod.c mknod(const char *path, mode_t mode, dev_t dev)
dev                39 usr/lib/posix/file/mount.c mount(const char *dev, const char *dir, const char *fs, int flags,
dev                44 usr/lib/posix/file/mount.c 	strlcpy(m.dev, (char *)dev, PATH_MAX);
dev                43 usr/sample/cpumon/cpumon.c 	device_t dev;
dev                51 usr/sample/cpumon/cpumon.c 	if (device_open("cpufreq", 0, &dev))
dev                58 usr/sample/cpumon/cpumon.c 	device_ioctl(dev, CFIOC_GET_INFO, &cf_info);
dev                71 usr/sample/cpumon/cpumon.c 		device_ioctl(dev, CFIOC_GET_INFO, &cf_info);
dev                49 usr/server/fs/arfs/arfs_vfsops.c static int arfs_mount	(mount_t mp, char *dev, int flags, void *data);
dev                71 usr/server/fs/arfs/arfs_vfsops.c arfs_mount(mount_t mp, char *dev, int flags, void *data)
dev                77 usr/server/fs/arfs/arfs_vfsops.c 	DPRINTF(("arfs_mount: dev=%s\n", dev));
dev               118 usr/server/fs/devfs/devfs_vnops.c 	device_t dev;
dev               133 usr/server/fs/devfs/devfs_vnops.c 	error = device_open(path, flags & DO_RWMASK, &dev);
dev               139 usr/server/fs/devfs/devfs_vnops.c 	vp->v_data = (void *)dev;	/* Store private data */
dev               171 usr/server/fs/fatfs/fatfs.h 	dev_t	dev;		/* mounted device */
dev                67 usr/server/fs/fatfs/fatfs_fat.c 	if ((error = bread(fmp->dev, sec, &bp)) != 0)
dev                76 usr/server/fs/fatfs/fatfs_fat.c 	if ((error = bread(fmp->dev, sec + 1, &bp)) != 0)
dev               106 usr/server/fs/fatfs/fatfs_fat.c 	bp = getblk(fmp->dev, sec);
dev               115 usr/server/fs/fatfs/fatfs_fat.c 	bp = getblk(fmp->dev, sec + 1);
dev                50 usr/server/fs/fatfs/fatfs_node.c 	if ((error = bread(fmp->dev, sec, &bp)) != 0)
dev                65 usr/server/fs/fatfs/fatfs_node.c 	bp = getblk(fmp->dev, sec);
dev                47 usr/server/fs/fatfs/fatfs_vfsops.c static int fatfs_mount	(mount_t mp, char *dev, int flags, void *data);
dev                82 usr/server/fs/fatfs/fatfs_vfsops.c 	error = device_read(fmp->dev, bpb, &size, 0);
dev               136 usr/server/fs/fatfs/fatfs_vfsops.c fatfs_mount(mount_t mp, char *dev, int flags, void *data)
dev               142 usr/server/fs/fatfs/fatfs_vfsops.c 	DPRINTF(("fatfs_mount device=%s\n", dev));
dev               148 usr/server/fs/fatfs/fatfs_vfsops.c 	fmp->dev = mp->m_dev;
dev               108 usr/server/fs/fatfs/fatfs_vnops.c 	return device_read(fmp->dev, fmp->io_buf, &size, sec);
dev               122 usr/server/fs/fatfs/fatfs_vnops.c 	return device_write(fmp->dev, fmp->io_buf, &size, sec);
dev                39 usr/server/fs/ramfs/ramfs_vfsops.c static int ramfs_mount(mount_t mp, char *dev, int flags, void *data);
dev                61 usr/server/fs/ramfs/ramfs_vfsops.c ramfs_mount(mount_t mp, char *dev, int flags, void *data)
dev                65 usr/server/fs/ramfs/ramfs_vfsops.c 	DPRINTF(("ramfs_mount: dev=%s\n", dev));
dev                98 usr/server/fs/vfs/main.c 		error = sys_mount(msg->dev, msg->dir, msg->fs, msg->flags,
dev               121 usr/server/fs/vfs/vfs.h int	 sys_mount(char *dev, char *dir, char *fsname, int flags, void *data);
dev               134 usr/server/fs/vfs/vfs_bio.c incore(dev_t dev, int blkno)
dev               141 usr/server/fs/vfs/vfs_bio.c 		if (bp->b_blkno == blkno && bp->b_dev == dev &&
dev               157 usr/server/fs/vfs/vfs_bio.c getblk(dev_t dev, int blkno)
dev               161 usr/server/fs/vfs/vfs_bio.c 	DPRINTF(VFSDB_BIO, ("getblk: dev=%x blkno=%d\n", dev, blkno));
dev               164 usr/server/fs/vfs/vfs_bio.c 	bp = incore(dev, blkno);
dev               187 usr/server/fs/vfs/vfs_bio.c 		bp->b_dev = dev;
dev               226 usr/server/fs/vfs/vfs_bio.c bread(dev_t dev, int blkno, struct buf **bpp)
dev               232 usr/server/fs/vfs/vfs_bio.c 	DPRINTF(VFSDB_BIO, ("bread: dev=%x blkno=%d\n", dev, blkno));
dev               233 usr/server/fs/vfs/vfs_bio.c 	bp = getblk(dev, blkno);
dev               237 usr/server/fs/vfs/vfs_bio.c 		error = device_read((device_t)dev, bp->b_data, &size, blkno);
dev               320 usr/server/fs/vfs/vfs_bio.c binval(dev_t dev)
dev               328 usr/server/fs/vfs/vfs_bio.c 		if (bp->b_dev == dev) {
dev                89 usr/server/fs/vfs/vfs_mount.c sys_mount(char *dev, char *dir, char *fsname, int flags, void *data)
dev               111 usr/server/fs/vfs/vfs_mount.c 	if (*dev != '\0') {
dev               112 usr/server/fs/vfs/vfs_mount.c 		if (strncmp(dev, "/dev/", 5))
dev               114 usr/server/fs/vfs/vfs_mount.c 		if ((error = device_open(dev + 5, DO_RDWR, &device)) != 0)
dev               177 usr/server/fs/vfs/vfs_mount.c 	if ((error = VFS_MOUNT(mp, dev, flags, data)) != 0)