Searched refs:F_READ (Results 1 - 25 of 79) sorted by relevance

1234

/netbsd-6-1-5-RELEASE/sys/lib/libsa/
H A Dread.c77 if ((unsigned int)fd >= SOPEN_MAX || !(f->f_flags & F_READ)) {
87 errno = DEV_STRATEGY(f->f_dev)(f->f_devdata, F_READ,
H A Dcd9660.c153 rc = DEV_STRATEGY(f->f_dev)(f->f_devdata, F_READ, cdb2devb(bno),
184 rc = DEV_STRATEGY(f->f_dev)(f->f_devdata, F_READ, cdb2devb(bno),
239 rc = DEV_STRATEGY(f->f_dev)(f->f_devdata, F_READ,
329 rc = DEV_STRATEGY(f->f_dev)(f->f_devdata, F_READ, cdb2devb(bno),
/netbsd-6-1-5-RELEASE/sys/arch/shark/stand/ofwboot/
H A Dofdev.c112 if (rw != F_READ)
194 if (strategy(devp, F_READ, off, DEV_BSIZE, buf, &nread)
213 if (strategy(devp, F_READ, poff + LABELSECTOR,
221 if (strategy(devp, F_READ, off, DEV_BSIZE, buf, &nread)
232 if (strategy(devp, F_READ, off, DEV_BSIZE, buf, &nread)
257 if (of->f_flags != F_READ)
302 if (strategy(&ofdev, F_READ,
/netbsd-6-1-5-RELEASE/sys/arch/ofppc/stand/ofwboot/
H A Dmbr.c72 if (strategy(devp, F_READ, poff + LABELSECTOR, DEV_BSIZE,
102 if (strategy(devp, F_READ, off, DEV_BSIZE, buf, &read)
125 if (strategy(devp, F_READ, off, DEV_BSIZE, buf, &read)
/netbsd-6-1-5-RELEASE/sys/arch/hpcmips/stand/lcboot/
H A Ddev_flash.c45 if (rw != F_READ)
/netbsd-6-1-5-RELEASE/sys/arch/atari/dev/
H A Dfdreg.h52 #define F_READ 0x80 /* (MHE00) read sector */ macro
/netbsd-6-1-5-RELEASE/sys/arch/acorn32/stand/lib/
H A Driscospart.c157 err = DEV_STRATEGY(f->f_dev)(f->f_devdata, F_READ,
171 err = DEV_STRATEGY(f->f_dev)(f->f_devdata, F_READ,
H A Driscosfile.c50 switch (f->f_flags & (F_READ | F_WRITE)) {
51 case F_READ:
57 case F_READ | F_WRITE:
/netbsd-6-1-5-RELEASE/sys/arch/acorn26/stand/lib/
H A Driscosfile.c50 switch (f->f_flags & (F_READ | F_WRITE)) {
51 case F_READ:
57 case F_READ | F_WRITE:
/netbsd-6-1-5-RELEASE/sys/arch/macppc/stand/ofwboot/
H A Dofdev.c74 if (rw != F_READ)
193 if (strategy(devp, F_READ, blkno, DEV_BSIZE, pme, &nread)
240 if (strategy(devp, F_READ, off, DEV_BSIZE, buf, &nread)
259 if (strategy(devp, F_READ, poff + 1,
267 if (strategy(devp, F_READ, off, DEV_BSIZE, buf, &nread)
278 if (strategy(devp, F_READ, off, DEV_BSIZE, buf, &nread)
391 if (of->f_flags != F_READ)
440 if (strategy(&ofdev, F_READ,
/netbsd-6-1-5-RELEASE/sys/arch/hp300/stand/common/
H A Dhpib.c141 if (flag == F_READ)
146 if (flag == F_READ)
/netbsd-6-1-5-RELEASE/sys/arch/sun68k/stand/bootxx/
H A Dbootxx.c120 if ((fp->f_dev->dv_strategy)(fp->f_devdata, F_READ, blknum,
/netbsd-6-1-5-RELEASE/sys/arch/sun68k/stand/bootyy/
H A Dbootyy.c126 if ((fp->f_dev->dv_strategy)(fp->f_devdata, F_READ,
/netbsd-6-1-5-RELEASE/sys/arch/vax/boot/boot/
H A Drom.c75 err = romstrategy(0, F_READ, LABELSECTOR, DEV_BSIZE, io_buf, &i);
/netbsd-6-1-5-RELEASE/sys/arch/sbmips/stand/common/
H A Dblkdev.c125 i = diskstrategy(NULL, F_READ,
/netbsd-6-1-5-RELEASE/sys/arch/hp700/stand/common/
H A Ddk.c47 if (iodcstrategy(dp, F_READ, LABELSECTOR, DEV_BSIZE, buf, &ret) ||
/netbsd-6-1-5-RELEASE/sys/arch/zaurus/stand/zboot/
H A Dunixdev.c52 ((rw == F_READ) ? "reading" : "writing"), (int)size, (int)blk);
57 rc = (rw == F_READ) ? uread(fd, buf, size) :
/netbsd-6-1-5-RELEASE/sys/arch/sparc/stand/bootxx/
H A Dbootxx.c124 if ((f->f_dev->dv_strategy)(f->f_devdata, F_READ, blk,
/netbsd-6-1-5-RELEASE/sys/arch/sun68k/stand/libsa/
H A Ddev_disk.c131 si_flag = (flag == F_READ) ? SAIO_F_READ : SAIO_F_WRITE;
/netbsd-6-1-5-RELEASE/sys/arch/i386/stand/bootxx/
H A Dboot1.c132 if (flag != F_READ)
/netbsd-6-1-5-RELEASE/sys/arch/landisk/stand/bootxx/
H A Dboot1.c125 if (flag != F_READ)
/netbsd-6-1-5-RELEASE/sys/arch/mvme68k/stand/bootxx/
H A Dbootxx.c123 if ((fp->f_dev->dv_strategy)(fp->f_devdata, F_READ,
/netbsd-6-1-5-RELEASE/sys/arch/atari/stand/libsa/
H A Ddiskio.c97 if ((flag == F_READ) && !(size & 511) && (stb + nb <= dd->rend)) {
/netbsd-6-1-5-RELEASE/sys/arch/emips/stand/common/
H A Draw.c118 er = acestrategy(f->f_devdata, F_READ, start_sector, DEV_BSIZE * sector_count,
/netbsd-6-1-5-RELEASE/sys/arch/amiga/stand/bootblock/boot/
H A Dxd.c95 if (flag != F_READ)

Completed in 366 milliseconds

1234