fbn               258 mkfs/mkfs.c      uint fbn, off, n1;
fbn               268 mkfs/mkfs.c        fbn = off / BSIZE;
fbn               269 mkfs/mkfs.c        assert(fbn < MAXFILE);
fbn               270 mkfs/mkfs.c        if(fbn < NDIRECT){
fbn               271 mkfs/mkfs.c          if(xint(din.addrs[fbn]) == 0){
fbn               272 mkfs/mkfs.c            din.addrs[fbn] = xint(freeblock++);
fbn               274 mkfs/mkfs.c          x = xint(din.addrs[fbn]);
fbn               280 mkfs/mkfs.c          if(indirect[fbn - NDIRECT] == 0){
fbn               281 mkfs/mkfs.c            indirect[fbn - NDIRECT] = xint(freeblock++);
fbn               284 mkfs/mkfs.c          x = xint(indirect[fbn-NDIRECT]);
fbn               286 mkfs/mkfs.c        n1 = min(n, (fbn + 1) * BSIZE - off);
fbn               288 mkfs/mkfs.c        bcopy(p, buf + off - (fbn * BSIZE), n1);