/netbsd-6-1-5-RELEASE/sys/arch/hpc/stand/include/machine/ |
H A D | param.h | 5 #define DEV_BSIZE 512 macro 6 #define DEV_BSHIFT 9 /* log2(DEV_BSIZE) */
|
/netbsd-6-1-5-RELEASE/sys/arch/cesfic/include/ |
H A D | disklabel.h | 37 #define LABELSECTOR (1024 / DEV_BSIZE) /* sector containing label */
|
/netbsd-6-1-5-RELEASE/sys/arch/sbmips/stand/common/ |
H A D | blkdev.c | 107 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 D | genfs_vfsops.c | 44 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 D | param.h | 53 #define DEV_BSIZE 512 macro 54 #define DEV_BSHIFT 9 /* log2(DEV_BSIZE) */
|
/netbsd-6-1-5-RELEASE/sys/arch/sbmips/include/ |
H A D | param.h | 49 #define DEV_BSIZE 512 macro 50 #define DEV_BSHIFT 9 /* log2(DEV_BSIZE) */
|
/netbsd-6-1-5-RELEASE/sys/arch/sgimips/include/ |
H A D | param.h | 49 #define DEV_BSIZE 512 macro 50 #define DEV_BSHIFT 9 /* log2(DEV_BSIZE) */
|
/netbsd-6-1-5-RELEASE/sys/arch/cobalt/include/ |
H A D | param.h | 45 #define DEV_BSIZE 512 macro 46 #define DEV_BSHIFT 9 /* log2(DEV_BSIZE) */
|
/netbsd-6-1-5-RELEASE/sys/arch/evbmips/include/ |
H A D | param.h | 49 #define DEV_BSIZE 512 macro 50 #define DEV_BSHIFT 9 /* log2(DEV_BSIZE) */
|
/netbsd-6-1-5-RELEASE/sys/arch/ews4800mips/include/ |
H A D | param.h | 45 #define DEV_BSIZE 512 macro 46 #define DEV_BSHIFT 9 /* log2(DEV_BSIZE) */
|
/netbsd-6-1-5-RELEASE/sys/arch/algor/include/ |
H A D | param.h | 53 #define DEV_BSIZE 512 macro 54 #define DEV_BSHIFT 9 /* log2(DEV_BSIZE) */
|
/netbsd-6-1-5-RELEASE/sys/arch/ews4800mips/ews4800mips/ |
H A D | sector.c | 55 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 D | mbr.c | 72 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 D | rz.c | 73 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 D | bfs_sysvbfs.c | 93 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 D | magic.c | 45 nsec = (BBMINSIZE + (DEV_BSIZE - 1)) / DEV_BSIZE;
|
/netbsd-6-1-5-RELEASE/sys/arch/newsmips/include/ |
H A D | param.h | 57 #define DEV_BSIZE 512 macro 58 #define DEV_BSHIFT 9 /* log2(DEV_BSIZE) */
|
/netbsd-6-1-5-RELEASE/sys/arch/sh3/include/ |
H A D | param.h | 54 #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 D | param.h | 57 #define DEV_BSIZE 512 macro 58 #define DEV_BSHIFT 9 /* log2(DEV_BSIZE) */
|
/netbsd-6-1-5-RELEASE/sys/arch/mipsco/include/ |
H A D | param.h | 57 #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 D | riscospart.c | 156 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 D | blkdev.c | 117 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 D | ofdev.c | 194 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 D | dk.c | 44 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 D | saio.c | 111 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) {
|