BSIZE 10 buf.h uchar data[BSIZE]; BSIZE 48 fs.c memset(bp->data, 0, BSIZE); BSIZE 470 fs.c bp = bread(ip->dev, bmap(ip, off/BSIZE)); BSIZE 471 fs.c m = min(n - tot, BSIZE - off%BSIZE); BSIZE 472 fs.c memmove(dst, bp->data + off%BSIZE, m); BSIZE 495 fs.c if(off + n > MAXFILE*BSIZE) BSIZE 499 fs.c bp = bread(ip->dev, bmap(ip, off/BSIZE)); BSIZE 500 fs.c m = min(n - tot, BSIZE - off%BSIZE); BSIZE 501 fs.c memmove(bp->data + off%BSIZE, src, m); BSIZE 25 fs.h #define NINDIRECT (BSIZE / sizeof(uint)) BSIZE 39 fs.h #define IPB (BSIZE / sizeof(struct dinode)) BSIZE 45 fs.h #define BPB (BSIZE*8) BSIZE 80 ide.c int sector_per_block = BSIZE/SECTOR_SIZE; BSIZE 96 ide.c outsl(0x1f0, b->data, BSIZE/4); BSIZE 119 ide.c insl(0x1f0, b->data, BSIZE/4); BSIZE 56 log.c if (sizeof(struct logheader) >= BSIZE) BSIZE 77 log.c memmove(dbuf->data, lbuf->data, BSIZE); // copy block to dst BSIZE 185 log.c memmove(to->data, from->data, BSIZE); BSIZE 25 memide.c disksize = (uint)_binary_fs_img_size/BSIZE; BSIZE 52 memide.c p = memdisk + b->blockno*BSIZE; BSIZE 56 memide.c memmove(p, b->data, BSIZE); BSIZE 58 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);