Searched refs:DEV_BSIZE (Results 1 - 25 of 263) sorted by relevance

1234567891011

/netbsd-6-1-5-RELEASE/sys/arch/hpc/stand/include/machine/
H A Dparam.h5 #define DEV_BSIZE 512 macro
6 #define DEV_BSHIFT 9 /* log2(DEV_BSIZE) */
/netbsd-6-1-5-RELEASE/sys/arch/cesfic/include/
H A Ddisklabel.h37 #define LABELSECTOR (1024 / DEV_BSIZE) /* sector containing label */
/netbsd-6-1-5-RELEASE/sys/arch/sbmips/stand/common/
H A Dblkdev.c107 char *msg, buf[DEV_BSIZE];
126 (daddr_t)LABELSECTOR, DEV_BSIZE, buf, &cnt);
127 if (i || cnt != DEV_BSIZE) {
164 if (reqcnt & (DEV_BSIZE - 1)) {
168 res = cfe_readblk(booted_dev_fd,(bn+blkdev_part_offset)*DEV_BSIZE,addr,reqcnt);
/netbsd-6-1-5-RELEASE/sys/miscfs/genfs/
H A Dgenfs_vfsops.c44 sbp->f_bsize = DEV_BSIZE;
45 sbp->f_frsize = DEV_BSIZE;
46 sbp->f_iosize = DEV_BSIZE;
/netbsd-6-1-5-RELEASE/sys/arch/pmax/include/
H A Dparam.h53 #define DEV_BSIZE 512 macro
54 #define DEV_BSHIFT 9 /* log2(DEV_BSIZE) */
/netbsd-6-1-5-RELEASE/sys/arch/sbmips/include/
H A Dparam.h49 #define DEV_BSIZE 512 macro
50 #define DEV_BSHIFT 9 /* log2(DEV_BSIZE) */
/netbsd-6-1-5-RELEASE/sys/arch/sgimips/include/
H A Dparam.h49 #define DEV_BSIZE 512 macro
50 #define DEV_BSHIFT 9 /* log2(DEV_BSIZE) */
/netbsd-6-1-5-RELEASE/sys/arch/cobalt/include/
H A Dparam.h45 #define DEV_BSIZE 512 macro
46 #define DEV_BSHIFT 9 /* log2(DEV_BSIZE) */
/netbsd-6-1-5-RELEASE/sys/arch/evbmips/include/
H A Dparam.h49 #define DEV_BSIZE 512 macro
50 #define DEV_BSHIFT 9 /* log2(DEV_BSIZE) */
/netbsd-6-1-5-RELEASE/sys/arch/ews4800mips/include/
H A Dparam.h45 #define DEV_BSIZE 512 macro
46 #define DEV_BSHIFT 9 /* log2(DEV_BSIZE) */
/netbsd-6-1-5-RELEASE/sys/arch/algor/include/
H A Dparam.h53 #define DEV_BSIZE 512 macro
54 #define DEV_BSHIFT 9 /* log2(DEV_BSIZE) */
/netbsd-6-1-5-RELEASE/sys/arch/ews4800mips/ews4800mips/
H A Dsector.c55 rw->buf = geteblk(DEV_BSIZE);
78 buf += DEV_BSIZE;
93 b->b_bcount = DEV_BSIZE;
101 memcpy(buf, b->b_data, DEV_BSIZE);
114 buf += DEV_BSIZE;
129 b->b_bcount = DEV_BSIZE;
133 memcpy(b->b_data, buf, DEV_BSIZE);
/netbsd-6-1-5-RELEASE/sys/arch/ofppc/stand/ofwboot/
H A Dmbr.c72 if (strategy(devp, F_READ, poff + LABELSECTOR, DEV_BSIZE,
73 buf, &read) == 0 && read == DEV_BSIZE)
102 if (strategy(devp, F_READ, off, DEV_BSIZE, buf, &read)
103 || read != DEV_BSIZE)
125 if (strategy(devp, F_READ, off, DEV_BSIZE, buf, &read)
126 || read != DEV_BSIZE) {
/netbsd-6-1-5-RELEASE/sys/arch/pmax/stand/common/
H A Drz.c73 if (reqcnt & (DEV_BSIZE - 1)) {
86 offset *= DEV_BSIZE;
111 char buf[DEV_BSIZE];
152 lp->d_secsize = DEV_BSIZE;
158 i = rzstrategy(sc, F_READ, (daddr_t)LABELSECTOR, DEV_BSIZE, buf, &cnt);
159 if (i || cnt != DEV_BSIZE) {
/netbsd-6-1-5-RELEASE/sys/fs/sysvbfs/
H A Dbfs_sysvbfs.c93 buf += DEV_BSIZE;
106 if (bread(bio->vp, block, DEV_BSIZE, bio->cred, 0, &bp) != 0)
108 memcpy(buf, bp->b_data, DEV_BSIZE);
129 buf += DEV_BSIZE;
145 if ((bp = getblk(bio->vp, block, DEV_BSIZE, 0, 0)) == 0) {
149 memcpy(bp->b_data, buf, DEV_BSIZE);
/netbsd-6-1-5-RELEASE/sys/arch/atari/stand/ahdilabel/
H A Dmagic.c45 nsec = (BBMINSIZE + (DEV_BSIZE - 1)) / DEV_BSIZE;
/netbsd-6-1-5-RELEASE/sys/arch/newsmips/include/
H A Dparam.h57 #define DEV_BSIZE 512 macro
58 #define DEV_BSHIFT 9 /* log2(DEV_BSIZE) */
/netbsd-6-1-5-RELEASE/sys/arch/sh3/include/
H A Dparam.h54 #define DEV_BSHIFT 9 /* log2(DEV_BSIZE) */
55 #define DEV_BSIZE (1 << DEV_BSHIFT) macro
/netbsd-6-1-5-RELEASE/sys/arch/hpcmips/include/
H A Dparam.h57 #define DEV_BSIZE 512 macro
58 #define DEV_BSHIFT 9 /* log2(DEV_BSIZE) */
/netbsd-6-1-5-RELEASE/sys/arch/mipsco/include/
H A Dparam.h57 #define DEV_BSIZE 512 macro
58 #define DEV_BSHIFT 9 /* log2(DEV_BSIZE) */
/netbsd-6-1-5-RELEASE/sys/arch/acorn32/stand/lib/
H A Driscospart.c156 buf = alloc(DEV_BSIZE);
158 FILECORE_BOOT_SECTOR, DEV_BSIZE, buf, &rsize);
172 labelsect, DEV_BSIZE, buf, &rsize);
180 dealloc(buf, DEV_BSIZE);
/netbsd-6-1-5-RELEASE/sys/arch/alpha/stand/common/
H A Dblkdev.c117 char *msg, buf[DEV_BSIZE];
134 (daddr_t)LABELSECTOR, DEV_BSIZE, buf, &cnt);
135 if (i || cnt != DEV_BSIZE) {
180 if (reqcnt & (DEV_BSIZE - 1)) {
/netbsd-6-1-5-RELEASE/sys/arch/shark/stand/ofwboot/
H A Dofdev.c194 if (strategy(devp, F_READ, off, DEV_BSIZE, buf, &nread)
195 || nread != DEV_BSIZE)
214 DEV_BSIZE, buf, &nread) == 0
215 && nread == DEV_BSIZE) {
221 if (strategy(devp, F_READ, off, DEV_BSIZE, buf, &nread)
222 || nread != DEV_BSIZE) {
232 if (strategy(devp, F_READ, off, DEV_BSIZE, buf, &nread)
233 || nread != DEV_BSIZE) {
249 char buf[DEV_BSIZE];
300 ofdev.bsize = DEV_BSIZE;
[all...]
/netbsd-6-1-5-RELEASE/sys/arch/hp700/stand/common/
H A Ddk.c44 char buf[DEV_BSIZE];
47 if (iodcstrategy(dp, F_READ, LABELSECTOR, DEV_BSIZE, buf, &ret) ||
48 ret != DEV_BSIZE)
/netbsd-6-1-5-RELEASE/sys/arch/mipsco/stand/common/
H A Dsaio.c111 offset = bn * DEV_BSIZE;
117 if (reqcnt & (DEV_BSIZE - 1)) {
120 offset += pp->p_offset * DEV_BSIZE;
152 char buf[DEV_BSIZE];
186 lp->d_secsize = DEV_BSIZE;
192 i = saiostrategy(sc, F_READ, (daddr_t)LABELSECTOR, DEV_BSIZE, buf, &cnt);
193 if (i || cnt != DEV_BSIZE) {

Completed in 335 milliseconds

1234567891011