off                39 bootmain.c         readseg(pa, ph->filesz, ph->off);
off                27 elf.h            uint off;
off                14 exec.c           int i, off;
off                40 exec.c           for(i=0, off=elf.phoff; i<elf.phnum; i++, off+=sizeof(ph)){
off                41 exec.c             if(readi(ip, (char*)&ph, off, sizeof(ph)) != sizeof(ph))
off                49 exec.c             if(loaduvm(pgdir, (char*)ph.vaddr, ip, ph.off, ph.filesz) < 0)
off               106 file.c             if((r = readi(f->ip, addr, f->off, n)) > 0)
off               107 file.c               f->off += r;
off               141 file.c               if ((r = writei(f->ip, addr + i, f->off, n1)) > 0)
off               142 file.c                 f->off += r;
off                 8 file.h           uint off;
off               435 fs.c           readi(struct inode *ip, char *dst, uint off, uint n)
off               446 fs.c             if(off > ip->size || off + n < off)
off               448 fs.c             if(off + n > ip->size)
off               449 fs.c               n = ip->size - off;
off               451 fs.c             for(tot=0; tot<n; tot+=m, off+=m, dst+=m){
off               452 fs.c               bp = bread(ip->dev, bmap(ip, off/BSIZE));
off               453 fs.c               m = min(n - tot, BSIZE - off%BSIZE);
off               454 fs.c               memmove(dst, bp->data + off%BSIZE, m);
off               463 fs.c           writei(struct inode *ip, char *src, uint off, uint n)
off               474 fs.c             if(off > ip->size || off + n < off)
off               476 fs.c             if(off + n > MAXFILE*BSIZE)
off               479 fs.c             for(tot=0; tot<n; tot+=m, off+=m, src+=m){
off               480 fs.c               bp = bread(ip->dev, bmap(ip, off/BSIZE));
off               481 fs.c               m = min(n - tot, BSIZE - off%BSIZE);
off               482 fs.c               memmove(bp->data + off%BSIZE, src, m);
off               487 fs.c             if(n > 0 && off > ip->size){
off               488 fs.c               ip->size = off;
off               508 fs.c             uint off, inum;
off               514 fs.c             for(off = 0; off < dp->size; off += sizeof(de)){
off               515 fs.c               if(readi(dp, (char*)&de, off, sizeof(de)) != sizeof(de))
off               522 fs.c                   *poff = off;
off               535 fs.c             int off;
off               546 fs.c             for(off = 0; off < dp->size; off += sizeof(de)){
off               547 fs.c               if(readi(dp, (char*)&de, off, sizeof(de)) != sizeof(de))
off               555 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               213 mmu.h          #define SETGATE(gate, istrap, sel, off, d)                \
off               215 mmu.h            (gate).off_15_0 = (uint)(off) & 0xffff;                \
off               223 mmu.h            (gate).off_31_16 = (uint)(off) >> 16;                  \
off               168 sysfile.c        int off;
off               171 sysfile.c        for(off=2*sizeof(de); off<dp->size; off+=sizeof(de)){
off               172 sysfile.c          if(readi(dp, (char*)&de, off, sizeof(de)) != sizeof(de))
off               187 sysfile.c        uint off;
off               204 sysfile.c        if((ip = dirlookup(dp, name, &off)) == 0)
off               216 sysfile.c        if(writei(dp, (char*)&de, off, sizeof(de)) != sizeof(de))
off               241 sysfile.c        uint off;
off               249 sysfile.c        if((ip = dirlookup(dp, name, &off)) != 0){
off               327 sysfile.c        f->off = 0;