bp                 33 kernel/fs.c      struct buf *bp;
bp                 35 kernel/fs.c      bp = bread(dev, 1);
bp                 36 kernel/fs.c      memmove(sb, bp->data, sizeof(*sb));
bp                 37 kernel/fs.c      brelse(bp);
bp                 53 kernel/fs.c      struct buf *bp;
bp                 55 kernel/fs.c      bp = bread(dev, bno);
bp                 56 kernel/fs.c      memset(bp->data, 0, BSIZE);
bp                 57 kernel/fs.c      log_write(bp);
bp                 58 kernel/fs.c      brelse(bp);
bp                 69 kernel/fs.c      struct buf *bp;
bp                 71 kernel/fs.c      bp = 0;
bp                 73 kernel/fs.c        bp = bread(dev, BBLOCK(b, sb));
bp                 76 kernel/fs.c          if((bp->data[bi/8] & m) == 0){  // Is block free?
bp                 77 kernel/fs.c            bp->data[bi/8] |= m;  // Mark block in use.
bp                 78 kernel/fs.c            log_write(bp);
bp                 79 kernel/fs.c            brelse(bp);
bp                 84 kernel/fs.c        brelse(bp);
bp                 94 kernel/fs.c      struct buf *bp;
bp                 97 kernel/fs.c      bp = bread(dev, BBLOCK(b, sb));
bp                100 kernel/fs.c      if((bp->data[bi/8] & m) == 0)
bp                102 kernel/fs.c      bp->data[bi/8] &= ~m;
bp                103 kernel/fs.c      log_write(bp);
bp                104 kernel/fs.c      brelse(bp);
bp                202 kernel/fs.c      struct buf *bp;
bp                206 kernel/fs.c        bp = bread(dev, IBLOCK(inum, sb));
bp                207 kernel/fs.c        dip = (struct dinode*)bp->data + inum%IPB;
bp                211 kernel/fs.c          log_write(bp);   // mark it allocated on the disk
bp                212 kernel/fs.c          brelse(bp);
bp                215 kernel/fs.c        brelse(bp);
bp                228 kernel/fs.c      struct buf *bp;
bp                231 kernel/fs.c      bp = bread(ip->dev, IBLOCK(ip->inum, sb));
bp                232 kernel/fs.c      dip = (struct dinode*)bp->data + ip->inum%IPB;
bp                239 kernel/fs.c      log_write(bp);
bp                240 kernel/fs.c      brelse(bp);
bp                295 kernel/fs.c      struct buf *bp;
bp                304 kernel/fs.c        bp = bread(ip->dev, IBLOCK(ip->inum, sb));
bp                305 kernel/fs.c        dip = (struct dinode*)bp->data + ip->inum%IPB;
bp                312 kernel/fs.c        brelse(bp);
bp                386 kernel/fs.c      struct buf *bp;
bp                407 kernel/fs.c        bp = bread(ip->dev, addr);
bp                408 kernel/fs.c        a = (uint*)bp->data;
bp                413 kernel/fs.c            log_write(bp);
bp                416 kernel/fs.c        brelse(bp);
bp                429 kernel/fs.c      struct buf *bp;
bp                440 kernel/fs.c        bp = bread(ip->dev, ip->addrs[NDIRECT]);
bp                441 kernel/fs.c        a = (uint*)bp->data;
bp                446 kernel/fs.c        brelse(bp);
bp                475 kernel/fs.c      struct buf *bp;
bp                486 kernel/fs.c        bp = bread(ip->dev, addr);
bp                488 kernel/fs.c        if(either_copyout(user_dst, dst, bp->data + (off % BSIZE), m) == -1) {
bp                489 kernel/fs.c          brelse(bp);
bp                493 kernel/fs.c        brelse(bp);
bp                509 kernel/fs.c      struct buf *bp;
bp                520 kernel/fs.c        bp = bread(ip->dev, addr);
bp                522 kernel/fs.c        if(either_copyin(bp->data + (off % BSIZE), user_src, src, m) == -1) {
bp                523 kernel/fs.c          brelse(bp);
bp                526 kernel/fs.c        log_write(bp);
bp                527 kernel/fs.c        brelse(bp);
bp                 27 user/umalloc.c   Header *bp, *p;
bp                 29 user/umalloc.c   bp = (Header*)ap - 1;
bp                 30 user/umalloc.c   for(p = freep; !(bp > p && bp < p->s.ptr); p = p->s.ptr)
bp                 31 user/umalloc.c     if(p >= p->s.ptr && (bp > p || bp < p->s.ptr))
bp                 33 user/umalloc.c   if(bp + bp->s.size == p->s.ptr){
bp                 34 user/umalloc.c     bp->s.size += p->s.ptr->s.size;
bp                 35 user/umalloc.c     bp->s.ptr = p->s.ptr->s.ptr;
bp                 37 user/umalloc.c     bp->s.ptr = p->s.ptr;
bp                 38 user/umalloc.c   if(p + p->s.size == bp){
bp                 39 user/umalloc.c     p->s.size += bp->s.size;
bp                 40 user/umalloc.c     p->s.ptr = bp->s.ptr;
bp                 42 user/umalloc.c     p->s.ptr = bp;