inum 15 file.h uint inum; // Inode number inum 171 fs.c static struct inode* iget(uint dev, uint inum); inum 179 fs.c int inum; inum 183 fs.c for(inum = 1; inum < sb.ninodes; inum++){ inum 184 fs.c bp = bread(dev, IBLOCK(inum, sb)); inum 185 fs.c dip = (struct dinode*)bp->data + inum%IPB; inum 191 fs.c return iget(dev, inum); inum 205 fs.c bp = bread(ip->dev, IBLOCK(ip->inum, sb)); inum 206 fs.c dip = (struct dinode*)bp->data + ip->inum%IPB; inum 221 fs.c iget(uint dev, uint inum) inum 230 fs.c if(ip->ref > 0 && ip->dev == dev && ip->inum == inum){ inum 245 fs.c ip->inum = inum; inum 282 fs.c bp = bread(ip->dev, IBLOCK(ip->inum, sb)); inum 283 fs.c dip = (struct dinode*)bp->data + ip->inum%IPB; inum 426 fs.c st->ino = ip->inum; inum 508 fs.c uint off, inum; inum 517 fs.c if(de.inum == 0) inum 523 fs.c inum = de.inum; inum 524 fs.c return iget(dp->dev, inum); inum 533 fs.c dirlink(struct inode *dp, char *name, uint inum) inum 549 fs.c if(de.inum == 0) inum 554 fs.c de.inum = inum; inum 53 fs.h ushort inum; inum 58 ls.c if(de.inum == 0) inum 39 mkfs.c void rinode(uint inum, struct dinode *ip); inum 42 mkfs.c void iappend(uint inum, void *p, int n); inum 71 mkfs.c uint rootino, inum, off; inum 121 mkfs.c de.inum = xshort(rootino); inum 126 mkfs.c de.inum = xshort(rootino); inum 145 mkfs.c inum = ialloc(T_FILE); inum 148 mkfs.c de.inum = xshort(inum); inum 153 mkfs.c iappend(inum, buf, cc); inum 184 mkfs.c winode(uint inum, struct dinode *ip) inum 190 mkfs.c bn = IBLOCK(inum, sb); inum 192 mkfs.c dip = ((struct dinode*)buf) + (inum % IPB); inum 198 mkfs.c rinode(uint inum, struct dinode *ip) inum 204 mkfs.c bn = IBLOCK(inum, sb); inum 206 mkfs.c dip = ((struct dinode*)buf) + (inum % IPB); inum 226 mkfs.c uint inum = freeinode++; inum 233 mkfs.c winode(inum, &din); inum 234 mkfs.c return inum; inum 256 mkfs.c iappend(uint inum, void *xp, int n) inum 265 mkfs.c rinode(inum, &din); inum 296 mkfs.c winode(inum, &din); inum 144 sysfile.c if(dp->dev != ip->dev || dirlink(dp, name, ip->inum) < 0){ inum 174 sysfile.c if(de.inum != 0) inum 271 sysfile.c if(dirlink(ip, ".", ip->inum) < 0 || dirlink(ip, "..", dp->inum) < 0) inum 275 sysfile.c if(dirlink(dp, name, ip->inum) < 0) inum 771 usertests.c ushort inum; inum 804 usertests.c if(de.inum == 0)