Home
last modified time | relevance | path

Searched refs:f_dev (Results 1 – 25 of 83) sorted by relevance

1234

/netbsd/sys/arch/ews4800mips/stand/common/
H A Ddevopen.c83 f->f_dev = &dkdevsw; in devopen()
108 f->f_dev = &netdevsw; in devopen()
123 f->f_dev = &dkdevsw; in devopen()
158 f->f_dev = &dkdevsw; in devopen()
169 f->f_dev = &dkdevsw; in devopen()
/netbsd/sys/lib/libsa/
H A Dopen.c100 f->f_dev = (struct devsw *)0; in open()
113 f->f_dev == (struct devsw *)0) in open()
149 if (DEV_CLOSE(f->f_dev) != NULL) in open()
151 (void)DEV_CLOSE(f->f_dev)(f); in open()
H A Dclose.c90 if (f->f_dev != NULL) in close()
92 err2 = DEV_CLOSE(f->f_dev)(f); in close()
H A Dcd9660.c156 rc = DEV_STRATEGY(f->f_dev)(f->f_devdata, F_READ, cdb2devb(bno), in cd9660_open()
187 rc = DEV_STRATEGY(f->f_dev)(f->f_devdata, F_READ, cdb2devb(bno), in cd9660_open()
242 rc = DEV_STRATEGY(f->f_dev)(f->f_devdata, F_READ, in cd9660_open()
332 rc = DEV_STRATEGY(f->f_dev)(f->f_devdata, F_READ, cdb2devb(bno), in cd9660_read()
H A Dufs.c377 rc = DEV_STRATEGY(f->f_dev)(f->f_devdata, F_READ, in read_inode()
488 rc = DEV_STRATEGY(f->f_dev)(f->f_devdata, F_READ, in block_map()
559 rc = DEV_STRATEGY(f->f_dev)(f->f_devdata, F_READ, in buf_read_file()
647 rc = DEV_STRATEGY(f->f_dev)(f->f_devdata, F_READ, in ffs_find_superblock()
662 rc = DEV_STRATEGY(f->f_dev)(f->f_devdata, F_READ, in ffs_find_superblock()
850 rc = DEV_STRATEGY(f->f_dev)(f->f_devdata, in ufs_open()
H A Dminixfs3.c200 rc = DEV_STRATEGY(f->f_dev)(f->f_devdata, F_READ, in read_inode()
308 rc = DEV_STRATEGY(f->f_dev)(f->f_devdata, F_READ, in block_map()
362 rc = DEV_STRATEGY(f->f_dev)(f->f_devdata, F_READ, in buf_read_file()
459 rc = DEV_STRATEGY(f->f_dev)(f->f_devdata, F_READ, in read_sblock()
670 rc = DEV_STRATEGY(f->f_dev)(f->f_devdata, in minixfs3_open()
H A Dext2fs.c181 rc = DEV_STRATEGY(f->f_dev)(f->f_devdata, F_READ, in read_inode()
286 rc = DEV_STRATEGY(f->f_dev)(f->f_devdata, F_READ, in block_map()
338 rc = DEV_STRATEGY(f->f_dev)(f->f_devdata, F_READ, in buf_read_file()
419 rc = DEV_STRATEGY(f->f_dev)(f->f_devdata, F_READ, in read_sblock()
468 rc = DEV_STRATEGY(f->f_dev)(f->f_devdata, F_READ, in read_gdblock()
647 rc = DEV_STRATEGY(f->f_dev)(f->f_devdata, in ext2fs_open()
/netbsd/sys/arch/i386/stand/efiboot/
H A Ddevopen.c182 f->f_dev = &devsw[0]; /* must be biosdisk */ in devopen()
229 f->f_dev = &devsw[1]; /* must be net */ in devopen()
234 error = DEV_OPEN(f->f_dev)(f, &desc); in devopen()
281 DEV_CLOSE(f->f_dev)(f); in devopen()
282 f->f_dev = NULL; in devopen()
301 f->f_dev = &devsw[0]; /* must be biosdisk */ in devopen()
/netbsd/sys/arch/sandpoint/stand/altboot/
H A Ddevopen.c69 of->f_dev = NULL; in devopen()
76 of->f_dev = &devnet; in devopen()
84 of->f_dev = &devnet; in devopen()
93 of->f_dev = &devdsk; in devopen()
/netbsd/sys/arch/i386/stand/boot/
H A Ddevopen.c137 f->f_dev = &devsw[0]; /* must be biosdisk */ in devopen()
149 f->f_dev = &devsw[0]; /* must be biosdisk */ in devopen()
157 f->f_dev = &devsw[0]; /* must be biosdisk */ in devopen()
/netbsd/sys/arch/evbarm/stand/boot2440/
H A Ddevopen.c82 of->f_dev = &devsw[0]; in devopen()
91 of->f_dev = &devsw[0]; in devopen()
106 of->f_dev = &devsw[1]; in devopen()
/netbsd/sys/arch/hpcmips/stand/lcboot/
H A Ddevopen.c59 f->f_dev = &devsw[i]; in devopen()
60 return DEV_OPEN(f->f_dev)(f, basename, file); in devopen()
/netbsd/sys/arch/sun68k/stand/bootyy/
H A Dbootyy.c97 f.f_dev->dv_close(&f); in main()
126 if ((fp->f_dev->dv_strategy)(fp->f_devdata, F_READ, in copyboot()
/netbsd/sys/arch/sun68k/stand/bootxx/
H A Dbootxx.c88 f.f_dev->dv_close(&f); in main()
120 if ((fp->f_dev->dv_strategy)(fp->f_devdata, F_READ, blknum, in copyboot()
/netbsd/sys/arch/i386/stand/pxeboot/
H A Ddevopen.c93 f->f_dev = dp; in devopen()
144 f->f_dev = NULL; in devopen()
/netbsd/sys/arch/hpcmips/stand/libsa/
H A Ddevopen.c121 f->f_dev = &devsw[0]; /* Windows block device. */ in devopen()
122 return (*f->f_dev->dv_open)(f, devname, unit, partition); in devopen()
/netbsd/sys/arch/acorn32/stand/lib/
H A Driscospart.c157 err = DEV_STRATEGY(f->f_dev)(f->f_devdata, F_READ, in getdisklabel_acorn()
172 err = DEV_STRATEGY(f->f_dev)(f->f_devdata, F_READ, in getdisklabel_acorn()
/netbsd/sys/arch/mvme68k/stand/bootxx/
H A Dbootxx.c91 f.f_dev->dv_close(&f); in main()
123 if ((fp->f_dev->dv_strategy)(fp->f_devdata, F_READ, in copyboot()
/netbsd/sys/arch/sparc/stand/bootxx/
H A Dbootxx.c93 (io.f_dev->dv_close)(&io); in main()
124 if ((f->f_dev->dv_strategy)(f->f_devdata, F_READ, blk, in loadboot()
/netbsd/sys/arch/hppa/stand/common/
H A Dlif.c69 err = (*f->f_dev->dv_strategy)(f->f_devdata, F_READ, 0, in lif_open()
121 if (!(err =(f->f_dev->dv_strategy)(f->f_devdata, F_READ, in lif_open()
177 (err = (f->f_dev->dv_strategy)(f->f_devdata, F_READ, in lif_read()
H A Ddev_hppa.c120 f->f_dev = &devsw[dp->dev_type]; in devopen()
128 f->f_dev = &devsw[dp->dev_type]; in devopen()
/netbsd/sys/arch/xen/xenbus/
H A Dxenbus_probe.c272 error = config_detach(xdev->xbusd_u.f.f_dev, in otherend_changed()
276 device_xname(xdev->xbusd_u.f.f_dev), error); in otherend_changed()
286 xdev->xbusd_u.b.b_cookie : xdev->xbusd_u.f.f_dev, state); in otherend_changed()
474 xbusd->xbusd_u.f.f_dev = config_found(xenbus_dev, in xenbus_probe_device_type()
477 if (xbusd->xbusd_u.f.f_dev == NULL) { in xenbus_probe_device_type()
/netbsd/sys/arch/hp300/stand/inst/
H A Dinst.c185 if ((error = (*disk_ofp->f_dev->dv_strategy)(disk_ofp->f_devdata, in dsklabel()
207 (void)(*disk_ofp->f_dev->dv_strategy)(disk_ofp->f_devdata, in dsklabel()
495 if ((error = (*ofp->f_dev->dv_strategy)(ofp->f_devdata, F_WRITE, in disklabel_write()
688 if ((*disk_ofp->f_dev->dv_strategy)(disk_ofp->f_devdata, in miniroot()
/netbsd/sys/arch/sparc/stand/common/
H A Dpromdev.c150 f->f_dev = &oldmon_devsw; in devopen()
175 f->f_dev = &obp_v0_devsw; in devopen()
184 f->f_dev = &obp_v2_devsw; in devopen()
247 error = f->f_dev->dv_strategy(disk_pd, F_READ, LABELSECTOR, in devopen()
/netbsd/sys/arch/mvmeppc/stand/boot/
H A Ddevopen.c24 f->f_dev = dp; in devopen()

1234