inum 19 kernel/file.h uint inum; // Inode number inum 192 kernel/fs.c static struct inode* iget(uint dev, uint inum); inum 201 kernel/fs.c int inum; inum 205 kernel/fs.c for(inum = 1; inum < sb.ninodes; inum++){ inum 206 kernel/fs.c bp = bread(dev, IBLOCK(inum, sb)); inum 207 kernel/fs.c dip = (struct dinode*)bp->data + inum%IPB; inum 213 kernel/fs.c return iget(dev, inum); inum 231 kernel/fs.c bp = bread(ip->dev, IBLOCK(ip->inum, sb)); inum 232 kernel/fs.c dip = (struct dinode*)bp->data + ip->inum%IPB; inum 247 kernel/fs.c iget(uint dev, uint inum) inum 256 kernel/fs.c if(ip->ref > 0 && ip->dev == dev && ip->inum == inum){ inum 271 kernel/fs.c ip->inum = inum; inum 304 kernel/fs.c bp = bread(ip->dev, IBLOCK(ip->inum, sb)); inum 305 kernel/fs.c dip = (struct dinode*)bp->data + ip->inum%IPB; inum 461 kernel/fs.c st->ino = ip->inum; inum 554 kernel/fs.c uint off, inum; inum 563 kernel/fs.c if(de.inum == 0) inum 569 kernel/fs.c inum = de.inum; inum 570 kernel/fs.c return iget(dp->dev, inum); inum 580 kernel/fs.c dirlink(struct inode *dp, char *name, uint inum) inum 596 kernel/fs.c if(de.inum == 0) inum 601 kernel/fs.c de.inum = inum; inum 57 kernel/fs.h ushort inum; inum 152 kernel/sysfile.c if(dp->dev != ip->dev || dirlink(dp, name, ip->inum) < 0){ inum 182 kernel/sysfile.c if(de.inum != 0) inum 278 kernel/sysfile.c if(dirlink(ip, ".", ip->inum) < 0 || dirlink(ip, "..", dp->inum) < 0) inum 282 kernel/sysfile.c if(dirlink(dp, name, ip->inum) < 0) inum 39 mkfs/mkfs.c void rinode(uint inum, struct dinode *ip); inum 42 mkfs/mkfs.c void iappend(uint inum, void *p, int n); inum 72 mkfs/mkfs.c uint rootino, inum, off; inum 121 mkfs/mkfs.c de.inum = xshort(rootino); inum 126 mkfs/mkfs.c de.inum = xshort(rootino); inum 152 mkfs/mkfs.c inum = ialloc(T_FILE); inum 155 mkfs/mkfs.c de.inum = xshort(inum); inum 160 mkfs/mkfs.c iappend(inum, buf, cc); inum 187 mkfs/mkfs.c winode(uint inum, struct dinode *ip) inum 193 mkfs/mkfs.c bn = IBLOCK(inum, sb); inum 195 mkfs/mkfs.c dip = ((struct dinode*)buf) + (inum % IPB); inum 201 mkfs/mkfs.c rinode(uint inum, struct dinode *ip) inum 207 mkfs/mkfs.c bn = IBLOCK(inum, sb); inum 209 mkfs/mkfs.c dip = ((struct dinode*)buf) + (inum % IPB); inum 225 mkfs/mkfs.c uint inum = freeinode++; inum 232 mkfs/mkfs.c winode(inum, &din); inum 233 mkfs/mkfs.c return inum; inum 255 mkfs/mkfs.c iappend(uint inum, void *xp, int n) inum 264 mkfs/mkfs.c rinode(inum, &din); inum 295 mkfs/mkfs.c winode(inum, &din); inum 60 user/ls.c if(de.inum == 0) inum 1403 user/usertests.c ushort inum; inum 1439 user/usertests.c if(de.inum == 0)