Lines Matching defs:inp
52 struct inoinfo **inpp, *inp;
63 inp = *inpp;
64 state = statemap[inp->i_number];
65 if (inp->i_number == UFSROOTINO ||
66 (inp->i_parent != 0 && !S_IS_DUNFOUND(state)))
77 if (inp->i_dotdot >= UFSROOTINO) {
78 LINK_RANGE(flow, lncntp[inp->i_dotdot], 1);
80 dp = ginode(inp->i_dotdot);
81 LINK_CLEAR(flow, inp->i_dotdot,
83 if (statemap[inp->i_dotdot] == USTATE)
86 TRACK_LNCNTP(inp->i_dotdot,
87 lncntp[inp->i_dotdot]++);
93 orphan = inp->i_number;
102 if (inp->i_parent == 0 ||
103 !INO_IS_DUNFOUND(inp->i_parent) ||
106 inp = getinoinfo(inp->i_parent);
111 if (inp == NULL)
114 inp->i_parent);
130 if (dp->di_nlink == 0 && inp->i_dotdot == 0 &&
131 inp->i_parent == 0) {
137 setcurino(&curino, dp, inp);
162 if (linkup(orphan, inp->i_dotdot, NULL)) {
167 inp->i_dotdot = lfdir;
168 inp->i_parent = inp->i_dotdot;
185 * Can never get here with inp->i_parent zero, because
191 idesc.id_number = inp->i_parent;
206 if ((ckinode(ginode(inp->i_parent),
210 if (linkup(orphan, inp->i_parent, namebuf)) {
211 if (cleardirentry(inp->i_parent, orphan) & FOUND) {
216 inp->i_parent = inp->i_dotdot = lfdir;
400 setcurino(struct inodesc *idesc, struct dinode *dp, struct inoinfo *inp)
402 (void) memmove((void *)&dp->di_db[0], (void *)&inp->i_blks[0],
403 inp->i_blkssize);
406 idesc->id_number = inp->i_number;
407 idesc->id_parent = inp->i_parent;
417 struct inoinfo *inp = getinoinfo(orphan);
430 setcurino(&idesc, dp, inp);