BSIZE              10 kernel/buf.h     uchar data[BSIZE];
BSIZE             155 kernel/file.c      int max = ((MAXOPBLOCKS-1-1-2) / 2) * BSIZE;
BSIZE              56 kernel/fs.c      memset(bp->data, 0, BSIZE);
BSIZE             483 kernel/fs.c        uint addr = bmap(ip, off/BSIZE);
BSIZE             487 kernel/fs.c        m = min(n - tot, BSIZE - off%BSIZE);
BSIZE             488 kernel/fs.c        if(either_copyout(user_dst, dst, bp->data + (off % BSIZE), m) == -1) {
BSIZE             513 kernel/fs.c      if(off + n > MAXFILE*BSIZE)
BSIZE             517 kernel/fs.c        uint addr = bmap(ip, off/BSIZE);
BSIZE             521 kernel/fs.c        m = min(n - tot, BSIZE - off%BSIZE);
BSIZE             522 kernel/fs.c        if(either_copyin(bp->data + (off % BSIZE), user_src, src, m) == -1) {
BSIZE              28 kernel/fs.h    #define NINDIRECT (BSIZE / sizeof(uint))
BSIZE              42 kernel/fs.h    #define IPB           (BSIZE / sizeof(struct dinode))
BSIZE              48 kernel/fs.h    #define BPB           (BSIZE*8)
BSIZE              57 kernel/log.c     if (sizeof(struct logheader) >= BSIZE)
BSIZE              76 kernel/log.c       memmove(dbuf->data, lbuf->data, BSIZE);  // copy block to dst
BSIZE             186 kernel/log.c       memmove(to->data, from->data, BSIZE);
BSIZE             218 kernel/virtio_disk.c   uint64 sector = b->blockno * (BSIZE / 512);
BSIZE             253 kernel/virtio_disk.c   disk.desc[idx[1]].len = BSIZE;
BSIZE              31 mkfs/mkfs.c    char zeroes[BSIZE];
BSIZE              74 mkfs/mkfs.c      char buf[BSIZE];
BSIZE              85 mkfs/mkfs.c      assert((BSIZE % sizeof(struct dinode)) == 0);
BSIZE              86 mkfs/mkfs.c      assert((BSIZE % sizeof(struct dirent)) == 0);
BSIZE             168 mkfs/mkfs.c      off = ((off/BSIZE) + 1) * BSIZE;
BSIZE             180 mkfs/mkfs.c      if(lseek(fsfd, sec * BSIZE, 0) != sec * BSIZE)
BSIZE             182 mkfs/mkfs.c      if(write(fsfd, buf, BSIZE) != BSIZE)
BSIZE             189 mkfs/mkfs.c      char buf[BSIZE];
BSIZE             203 mkfs/mkfs.c      char buf[BSIZE];
BSIZE             216 mkfs/mkfs.c      if(lseek(fsfd, sec * BSIZE, 0) != sec * BSIZE)
BSIZE             218 mkfs/mkfs.c      if(read(fsfd, buf, BSIZE) != BSIZE)
BSIZE             239 mkfs/mkfs.c      uchar buf[BSIZE];
BSIZE             244 mkfs/mkfs.c      bzero(buf, BSIZE);
BSIZE             260 mkfs/mkfs.c      char buf[BSIZE];
BSIZE             268 mkfs/mkfs.c        fbn = off / BSIZE;
BSIZE             286 mkfs/mkfs.c        n1 = min(n, (fbn + 1) * BSIZE - off);
BSIZE             288 mkfs/mkfs.c        bcopy(p, buf + off - (fbn * BSIZE), n1);
BSIZE              20 user/usertests.c #define BUFSZ  ((MAXOPBLOCKS+2)*BSIZE)
BSIZE             594 user/usertests.c     if(write(fd, buf, BSIZE) != BSIZE){
BSIZE             610 user/usertests.c     i = read(fd, buf, BSIZE);
BSIZE             617 user/usertests.c     } else if(i != BSIZE){
BSIZE            1711 user/usertests.c   for(sz = 499; sz < (MAXOPBLOCKS+2)*BSIZE; sz += 471){
BSIZE            2367 user/usertests.c       int cc = write(fd, buf, BSIZE);
BSIZE            2368 user/usertests.c       if(cc < BSIZE)
BSIZE            2855 user/usertests.c       char buf[BSIZE];
BSIZE            2856 user/usertests.c       if(write(fd, buf, BSIZE) != BSIZE){