BSIZE 8 buf.h uchar data[BSIZE]; BSIZE 45 fs.c memset(bp->data, 0, BSIZE); BSIZE 452 fs.c bp = bread(ip->dev, bmap(ip, off/BSIZE)); BSIZE 453 fs.c m = min(n - tot, BSIZE - off%BSIZE); BSIZE 454 fs.c memmove(dst, bp->data + off%BSIZE, m); BSIZE 476 fs.c if(off + n > MAXFILE*BSIZE) BSIZE 480 fs.c bp = bread(ip->dev, bmap(ip, off/BSIZE)); BSIZE 481 fs.c m = min(n - tot, BSIZE - off%BSIZE); BSIZE 482 fs.c memmove(bp->data + off%BSIZE, src, m); BSIZE 24 fs.h #define NINDIRECT (BSIZE / sizeof(uint)) BSIZE 38 fs.h #define IPB (BSIZE / sizeof(struct dinode)) BSIZE 44 fs.h #define BPB (BSIZE*8) BSIZE 78 ide.c int sector_per_block = BSIZE/SECTOR_SIZE; BSIZE 92 ide.c outsl(0x1f0, b->data, BSIZE/4); BSIZE 115 ide.c insl(0x1f0, b->data, BSIZE/4); BSIZE 55 log.c if (sizeof(struct logheader) >= BSIZE) BSIZE 76 log.c memmove(dbuf->data, lbuf->data, BSIZE); // copy block to dst BSIZE 182 log.c memmove(to->data, from->data, BSIZE); BSIZE 24 memide.c disksize = (uint)_binary_fs_img_size/BSIZE; BSIZE 51 memide.c p = memdisk + b->blockno*BSIZE; BSIZE 55 memide.c memmove(p, b->data, BSIZE); BSIZE 57 memide.c memmove(b->data, p, BSIZE); BSIZE 23 mkfs.c int nbitmap = FSSIZE/(BSIZE*8) + 1; BSIZE 31 mkfs.c char zeroes[BSIZE]; BSIZE 73 mkfs.c char buf[BSIZE]; BSIZE 84 mkfs.c assert((BSIZE % sizeof(struct dinode)) == 0); BSIZE 85 mkfs.c assert((BSIZE % sizeof(struct dirent)) == 0); BSIZE 161 mkfs.c off = ((off/BSIZE) + 1) * BSIZE; BSIZE 173 mkfs.c if(lseek(fsfd, sec * BSIZE, 0) != sec * BSIZE){ BSIZE 177 mkfs.c if(write(fsfd, buf, BSIZE) != BSIZE){ BSIZE 186 mkfs.c char buf[BSIZE]; BSIZE 200 mkfs.c char buf[BSIZE]; BSIZE 213 mkfs.c if(lseek(fsfd, sec * BSIZE, 0) != sec * BSIZE){ BSIZE 217 mkfs.c if(read(fsfd, buf, BSIZE) != BSIZE){ BSIZE 240 mkfs.c uchar buf[BSIZE]; BSIZE 244 mkfs.c assert(used < BSIZE*8); BSIZE 245 mkfs.c bzero(buf, BSIZE); BSIZE 261 mkfs.c char buf[BSIZE]; BSIZE 269 mkfs.c fbn = off / BSIZE; BSIZE 287 mkfs.c n1 = min(n, (fbn + 1) * BSIZE - off); BSIZE 289 mkfs.c bcopy(p, buf + off - (fbn * BSIZE), n1);