bp                 34 fs.c             struct buf *bp;
bp                 36 fs.c             bp = bread(dev, 1);
bp                 37 fs.c             memmove(sb, bp->data, sizeof(*sb));
bp                 38 fs.c             brelse(bp);
bp                 45 fs.c             struct buf *bp;
bp                 47 fs.c             bp = bread(dev, bno);
bp                 48 fs.c             memset(bp->data, 0, BSIZE);
bp                 49 fs.c             log_write(bp);
bp                 50 fs.c             brelse(bp);
bp                 60 fs.c             struct buf *bp;
bp                 62 fs.c             bp = 0;
bp                 64 fs.c               bp = bread(dev, BBLOCK(b, sb));
bp                 67 fs.c                 if((bp->data[bi/8] & m) == 0){  // Is block free?
bp                 68 fs.c                   bp->data[bi/8] |= m;  // Mark block in use.
bp                 69 fs.c                   log_write(bp);
bp                 70 fs.c                   brelse(bp);
bp                 75 fs.c               brelse(bp);
bp                 84 fs.c             struct buf *bp;
bp                 87 fs.c             bp = bread(dev, BBLOCK(b, sb));
bp                 90 fs.c             if((bp->data[bi/8] & m) == 0)
bp                 92 fs.c             bp->data[bi/8] &= ~m;
bp                 93 fs.c             log_write(bp);
bp                 94 fs.c             brelse(bp);
bp                198 fs.c             struct buf *bp;
bp                202 fs.c               bp = bread(dev, IBLOCK(inum, sb));
bp                203 fs.c               dip = (struct dinode*)bp->data + inum%IPB;
bp                207 fs.c                 log_write(bp);   // mark it allocated on the disk
bp                208 fs.c                 brelse(bp);
bp                211 fs.c               brelse(bp);
bp                223 fs.c             struct buf *bp;
bp                226 fs.c             bp = bread(ip->dev, IBLOCK(ip->inum, sb));
bp                227 fs.c             dip = (struct dinode*)bp->data + ip->inum%IPB;
bp                234 fs.c             log_write(bp);
bp                235 fs.c             brelse(bp);
bp                290 fs.c             struct buf *bp;
bp                299 fs.c               bp = bread(ip->dev, IBLOCK(ip->inum, sb));
bp                300 fs.c               dip = (struct dinode*)bp->data + ip->inum%IPB;
bp                307 fs.c               brelse(bp);
bp                376 fs.c             struct buf *bp;
bp                389 fs.c               bp = bread(ip->dev, addr);
bp                390 fs.c               a = (uint*)bp->data;
bp                393 fs.c                 log_write(bp);
bp                395 fs.c               brelse(bp);
bp                411 fs.c             struct buf *bp;
bp                422 fs.c               bp = bread(ip->dev, ip->addrs[NDIRECT]);
bp                423 fs.c               a = (uint*)bp->data;
bp                428 fs.c               brelse(bp);
bp                456 fs.c             struct buf *bp;
bp                470 fs.c               bp = bread(ip->dev, bmap(ip, off/BSIZE));
bp                472 fs.c               memmove(dst, bp->data + off%BSIZE, m);
bp                473 fs.c               brelse(bp);
bp                485 fs.c             struct buf *bp;
bp                499 fs.c               bp = bread(ip->dev, bmap(ip, off/BSIZE));
bp                501 fs.c               memmove(bp->data + off%BSIZE, src, m);
bp                502 fs.c               log_write(bp);
bp                503 fs.c               brelse(bp);
bp                 27 umalloc.c        Header *bp, *p;
bp                 29 umalloc.c        bp = (Header*)ap - 1;
bp                 30 umalloc.c        for(p = freep; !(bp > p && bp < p->s.ptr); p = p->s.ptr)
bp                 31 umalloc.c          if(p >= p->s.ptr && (bp > p || bp < p->s.ptr))
bp                 33 umalloc.c        if(bp + bp->s.size == p->s.ptr){
bp                 34 umalloc.c          bp->s.size += p->s.ptr->s.size;
bp                 35 umalloc.c          bp->s.ptr = p->s.ptr->s.ptr;
bp                 37 umalloc.c          bp->s.ptr = p->s.ptr;
bp                 38 umalloc.c        if(p + p->s.size == bp){
bp                 39 umalloc.c          p->s.size += bp->s.size;
bp                 40 umalloc.c          p->s.ptr = bp->s.ptr;
bp                 42 umalloc.c          p->s.ptr = bp;