off                39 bootmain.c         readseg(pa, ph->filesz, ph->off);
off                27 elf.h            uint off;
off                14 exec.c           int i, off;
off                43 exec.c           for(i=0, off=elf.phoff; i<elf.phnum; i++, off+=sizeof(ph)){
off                44 exec.c             if(readi(ip, (char*)&ph, off, sizeof(ph)) != sizeof(ph))
off                56 exec.c             if(loaduvm(pgdir, (char*)ph.vaddr, ip, ph.off, ph.filesz) < 0)
off               107 file.c             if((r = readi(f->ip, addr, f->off, n)) > 0)
off               108 file.c               f->off += r;
off               142 file.c               if ((r = writei(f->ip, addr + i, f->off, n1)) > 0)
off               143 file.c                 f->off += r;
off                 8 file.h           uint off;
off               453 fs.c           readi(struct inode *ip, char *dst, uint off, uint n)
off               464 fs.c             if(off > ip->size || off + n < off)
off               466 fs.c             if(off + n > ip->size)
off               467 fs.c               n = ip->size - off;
off               469 fs.c             for(tot=0; tot<n; tot+=m, off+=m, dst+=m){
off               470 fs.c               bp = bread(ip->dev, bmap(ip, off/BSIZE));
off               471 fs.c               m = min(n - tot, BSIZE - off%BSIZE);
off               472 fs.c               memmove(dst, bp->data + off%BSIZE, m);
off               482 fs.c           writei(struct inode *ip, char *src, uint off, uint n)
off               493 fs.c             if(off > ip->size || off + n < off)
off               495 fs.c             if(off + n > MAXFILE*BSIZE)
off               498 fs.c             for(tot=0; tot<n; tot+=m, off+=m, src+=m){
off               499 fs.c               bp = bread(ip->dev, bmap(ip, off/BSIZE));
off               500 fs.c               m = min(n - tot, BSIZE - off%BSIZE);
off               501 fs.c               memmove(bp->data + off%BSIZE, src, m);
off               506 fs.c             if(n > 0 && off > ip->size){
off               507 fs.c               ip->size = off;
off               527 fs.c             uint off, inum;
off               533 fs.c             for(off = 0; off < dp->size; off += sizeof(de)){
off               534 fs.c               if(readi(dp, (char*)&de, off, sizeof(de)) != sizeof(de))
off               541 fs.c                   *poff = off;
off               554 fs.c             int off;
off               565 fs.c             for(off = 0; off < dp->size; off += sizeof(de)){
off               566 fs.c               if(readi(dp, (char*)&de, off, sizeof(de)) != sizeof(de))
off               574 fs.c             if(writei(dp, (char*)&de, off, sizeof(de)) != sizeof(de))
off                71 mkfs.c           uint rootino, inum, off;
off               160 mkfs.c           off = xint(din.size);
off               161 mkfs.c           off = ((off/BSIZE) + 1) * BSIZE;
off               162 mkfs.c           din.size = xint(off);
off               259 mkfs.c           uint fbn, off, n1;
off               266 mkfs.c           off = xint(din.size);
off               269 mkfs.c             fbn = off / BSIZE;
off               287 mkfs.c             n1 = min(n, (fbn + 1) * BSIZE - off);
off               289 mkfs.c             bcopy(p, buf + off - (fbn * BSIZE), n1);
off               292 mkfs.c             off += n1;
off               295 mkfs.c           din.size = xint(off);
off               168 mmu.h          #define SETGATE(gate, istrap, sel, off, d)                \
off               170 mmu.h            (gate).off_15_0 = (uint)(off) & 0xffff;                \
off               178 mmu.h            (gate).off_31_16 = (uint)(off) >> 16;                  \
off               171 sysfile.c        int off;
off               174 sysfile.c        for(off=2*sizeof(de); off<dp->size; off+=sizeof(de)){
off               175 sysfile.c          if(readi(dp, (char*)&de, off, sizeof(de)) != sizeof(de))
off               190 sysfile.c        uint off;
off               207 sysfile.c        if((ip = dirlookup(dp, name, &off)) == 0)
off               219 sysfile.c        if(writei(dp, (char*)&de, off, sizeof(de)) != sizeof(de))
off               329 sysfile.c        f->off = 0;