Lines Matching refs:e2d_ino
239 if (fs2h32(dirp->e2d_ino) != 0 && dirp->e2d_namlen == 1 &&
241 if (fs2h32(dirp->e2d_ino) != idesc->id_number) {
243 dirp->e2d_ino = h2fs32(idesc->id_number);
258 proto.e2d_ino = h2fs32(idesc->id_number);
267 if (fs2h32(dirp->e2d_ino) != 0 && strcmp(dirp->e2d_name, "..") != 0) {
282 lncntp[fs2h32(dirp->e2d_ino)]--;
293 proto.e2d_ino = h2fs32(inp->i_parent);
309 lncntp[fs2h32(dirp->e2d_ino)]--;
314 if (fs2h32(dirp->e2d_ino) != 0 &&
317 inp->i_dotdot = fs2h32(dirp->e2d_ino);
328 if (fs2h32(dirp->e2d_ino) != 0 &&
351 if (fs2h32(dirp->e2d_ino) != 0)
352 lncntp[fs2h32(dirp->e2d_ino)]--;
355 if (fs2h32(dirp->e2d_ino) == 0)
362 dirp->e2d_ino = 0;
369 dirp->e2d_ino = 0;
377 if (fs2h32(dirp->e2d_ino) > maxino ||
378 (fs2h32(dirp->e2d_ino) < EXT2_FIRSTINO &&
379 fs2h32(dirp->e2d_ino) != EXT2_ROOTINO)) {
380 fileerror(idesc->id_number, fs2h32(dirp->e2d_ino), "I OUT OF RANGE");
384 switch (statemap[fs2h32(dirp->e2d_ino)]) {
388 fileerror(idesc->id_number, fs2h32(dirp->e2d_ino), "UNALLOCATED");
396 if (statemap[fs2h32(dirp->e2d_ino)] == FCLEAR)
404 fileerror(idesc->id_number, fs2h32(dirp->e2d_ino), errmsg);
407 dp = ginode(fs2h32(dirp->e2d_ino));
408 statemap[fs2h32(dirp->e2d_ino)] =
410 lncntp[fs2h32(dirp->e2d_ino)] = fs2h16(dp->e2di_nlink);
415 inp = getinoinfo(fs2h32(dirp->e2d_ino));
420 fs2h32(dirp->e2d_ino),
421 fs2h32(dirp->e2d_ino));
439 inot2ext2dt(typemap[fs2h32(dirp->e2d_ino)])) {
441 inot2ext2dt(typemap[fs2h32(dirp->e2d_ino)]);
443 fs2h32(dirp->e2d_ino),
448 lncntp[fs2h32(dirp->e2d_ino)]--;
453 statemap[fs2h32(dirp->e2d_ino)], fs2h32(dirp->e2d_ino));
458 dirp->e2d_ino = 0;