Lines Matching refs:ino
82 ino_t ino;
205 while (curfile.ino && (curfile.mode & IFMT) == IFDIR) {
215 treescan(char *pname, ino_t ino, long (*todo)(char *, ino_t, int))
223 itp = inotablookup(ino);
228 (void) (*todo)(pname, ino, LEAF);
234 if ((*todo)(pname, ino, NODE) == FAIL)
280 ino_t ino;
286 ino = ROOTINO;
291 if ((dp = searchdir(ino, name)) == NULL)
293 ino = dp->d_ino;
498 ino_t ino;
500 if ((ino = dirlookup(name)) > 0 &&
501 (itp = inotablookup(ino)) != NULL) {
627 ep = lookupino(node.ino);
635 if (node.ino == ROOTINO &&
640 panic("cannot find directory inode %d\n", node.ino);
673 genliteraldir(char *name, ino_t ino)
679 itp = inotablookup(ino);
681 panic("Cannot find directory inode %d named %s\n", ino, name);
695 curfile.ino, curfile.name);
702 curfile.ino, curfile.name);
716 inodetype(ino_t ino)
720 itp = inotablookup(ino);
739 itp->t_next = inotab[INOHASH(ctxp->ino)];
740 inotab[INOHASH(ctxp->ino)] = itp;
741 itp->t_ino = ctxp->ino;
745 node.ino = ctxp->ino;
768 inotablookup(ino_t ino)
772 for (itp = inotab[INOHASH(ino)]; itp != NULL; itp = itp->t_next)
773 if (itp->t_ino == ino)