Home
last modified time | relevance | path

Searched refs:d_ino (Results 1 – 25 of 54) sorted by relevance

123

/freebsd/sbin/fsck_ffs/
H A Dpass2.c294 if (dirp->d_ino != 0 && strcmp(dirp->d_name, ".") == 0) { in pass2check()
295 if (dirp->d_ino != idesc->id_number) { in pass2check()
298 dirp->d_ino = idesc->id_number; in pass2check()
311 proto.d_ino = idesc->id_number; in pass2check()
320 if (dirp->d_ino != 0) { in pass2check()
348 proto.d_ino = inp->i_parent; in pass2check()
360 inoinfo(dirp->d_ino)->ino_linkcnt--; in pass2check()
365 if (dirp->d_ino != 0 && strcmp(dirp->d_name, "..") == 0) { in pass2check()
366 if (dirp->d_ino >= maxino) { in pass2check()
374 dirp->d_ino = inp->i_parent; in pass2check()
[all …]
H A Ddir.c327 if (dp->d_ino == 0) { in dircheck()
336 * when cleaning up a directory, fsck may set d_ino to zero in dircheck()
339 * space in entries with d_ino == 0 gets fully cleared. in dircheck()
412 dp->d_ino, dp->d_reclen, dp->d_namlen, dp->d_type, in dircheck()
533 if (dirp->d_ino != 0) in mkentry()
542 dirp->d_ino = idesc->id_parent; /* ino to be entered is in id_parent */ in mkentry()
557 dirp->d_ino = idesc->id_parent; in chgino()
H A Dinode.c1282 if (dirp->d_ino != idesc->id_parent || idesc->id_entryno < 2) { in findname()
1295 if (dirp->d_ino == 0) in findino()
1298 dirp->d_ino >= UFS_ROOTINO && dirp->d_ino < maxino) { in findino()
1299 idesc->id_parent = dirp->d_ino; in findino()
1310 if (dirp->d_ino != idesc->id_parent || idesc->id_entryno < 2) { in clearentry()
1314 dirp->d_ino = 0; in clearentry()
H A Dsuj.c579 if (dp->d_ino != child) in ino_clrat()
582 dp->d_ino = 0; in ino_clrat()
680 if (dp->d_ino == child) { in ino_isat()
692 (uintmax_t)child, (uintmax_t)dp->d_ino, (uintmax_t)parent); in ino_isat()
1011 if (dp->d_ino == 0 || dp->d_ino == UFS_WINO) in ino_free_children()
1021 (uintmax_t)ino, (uintmax_t)dp->d_ino, dp->d_name); in ino_free_children()
1023 ino_remref(ino, dp->d_ino, diroff, isdotdot); in ino_free_children()
/freebsd/sbin/restore/
H A Dinteractive.c500 if (dp == NULL || (!dflag && TSTINO(dp->d_ino, dumpmap) == 0) || in printlist()
501 (!vflag && dp->d_ino == UFS_WINO)) in printlist()
534 if (!dflag && TSTINO(dp->d_ino, dumpmap) == 0) in printlist()
536 if (!vflag && (dp->d_ino == UFS_WINO || in printlist()
576 fp->fnum = dp->d_ino; in mkentry()
618 if (inodetype(dp->d_ino) == NODE) in mkentry()
700 #undef d_ino
709 if (!vflag && dp->d_ino == UFS_WINO) in glob_readdir()
711 if (dflag || TSTINO(dp->d_ino, dumpmap)) in glob_readdir()
716 adirent.d_fileno = dp->d_ino; in glob_readdir()
[all …]
H A Ddirs.c165 nulldir.d_ino = 0; in extractdirs()
261 treescan(locname, dp->d_ino, todo); in treescan()
288 ino = dp->d_ino; in pathsearch()
330 if (oldinofmt && dp->d_ino != 0) { in putdir()
367 if (dp->d_ino != 0) { in putdir()
474 if (dp->d_ino == 0 && strcmp(dp->d_name, "/") == 0) in rst_readdir()
476 if (dp->d_ino >= maxino) { in rst_readdir()
478 dp->d_ino); in rst_readdir()
H A Dutilities.c68 ep = addentry(name, pathsearch(name)->d_ino, NODE); in pathcheck()
369 ino = ((dp = pathsearch(name)) == NULL) ? 0 : dp->d_ino; in dirlookup()
/freebsd/sys/ufs/ufs/
H A Dufs_lookup.c392 if (ep->d_ino != 0) in ufs_lookup_ino()
415 if (ep->d_ino) { in ufs_lookup_ino()
445 ino = ep->d_ino; in ufs_lookup_ino()
452 if (ep->d_ino) in ufs_lookup_ino()
790 if (ep->d_ino == 0) in ufs_dirbadentry()
819 newdirp->d_ino = ip->i_number; in ufs_makedirentry()
928 dirp->d_ino, newdirbp, 1)) in ufs_direnter()
983 dsize = ep->d_ino ? DIRSIZ(OFSFMT(dvp), ep) : 0; in ufs_direnter()
994 if (nep->d_ino == 0) { in ufs_direnter()
1004 ep->d_ino = 0; in ufs_direnter()
[all …]
H A Ddir.h77 uint32_t d_ino; /* inode number of entry */ member
H A Dufs_dirhash.c451 if (ep->d_ino != 0) { in ufsdirhash_build()
738 if (dp->d_ino == 0 || dp->d_reclen > DIRSIZ(0, dp)) in ufsdirhash_findfree()
753 if (dp->d_ino != 0) in ufsdirhash_findfree()
994 if (dp->d_ino == 0) { in ufsdirhash_checkblock()
/freebsd/sbin/dump/
H A Dtraverse.c398 if (dp->d_ino == 0) in searchdir()
400 if (dp->d_ino >= maxino) { in searchdir()
401 msg("corrupted directory entry, d_ino %ju >= %ju\n", in searchdir()
402 (uintmax_t)dp->d_ino, (uintmax_t)maxino); in searchdir()
412 ip = getino(dp->d_ino, &mode); in searchdir()
413 if (TSTINO(dp->d_ino, dumpinomap)) { in searchdir()
414 CLRINO(dp->d_ino, dumpinomap); in searchdir()
422 SETINO(dp->d_ino, dumpdirmap); in searchdir()
423 CLRINO(dp->d_ino, usedinomap); in searchdir()
427 if (TSTINO(dp->d_ino, dumpinoma in searchdir()
[all...]
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_platform_limits_solaris.h215 unsigned long long d_ino; member
222 unsigned long d_ino; member
230 unsigned long long d_ino; member
H A Dsanitizer_platform_limits_posix.h488 unsigned long long d_ino; member
496 unsigned long long d_ino; member
503 uptr d_ino; member
512 unsigned long long d_ino; member
H A Dsanitizer_platform_limits_solaris.cpp248 CHECK_SIZE_AND_OFFSET(dirent, d_ino);
254 CHECK_SIZE_AND_OFFSET(dirent64, d_ino);
/freebsd/sys/contrib/openzfs/include/os/freebsd/spl/sys/
H A Ddirent.h41 #define d_ino d_fileno macro
/freebsd/sys/cddl/compat/opensolaris/sys/
H A Ddirent.h39 #define d_ino d_fileno macro
/freebsd/include/
H A Ddirent.h73 #define d_ino d_fileno /* backward and XSI compatibility */ macro
/freebsd/stand/libsa/
H A Dext2fs.c293 uint32_t d_ino; /* inode */ member
773 if (dp->d_ino == (ino_t)0) in search_directory()
779 *inumber_p = dp->d_ino; in search_directory()
901 } while (ed->d_ino == (ino_t)0); in ext2fs_readdir()
H A Dufs.c471 if (dp->d_ino == (ino_t)0) in search_directory()
482 *inumber_p = dp->d_ino; in search_directory()
894 } while (dp->d_ino == (ino_t)0); in ufs_readdir()
/freebsd/lib/libc/gen/
H A Dreaddir.c79 if (dp->d_ino == 0 && (flags & RDU_SKIP) != 0) in _readdir_unlocked()
/freebsd/crypto/openssh/
H A Dsftp-glob.c95 ret->d_ino = inum++; in fudge_readdir()
/freebsd/sbin/tunefs/
H A Dtunefs.c637 if (dp->d_ino == 0) in dir_search()
643 return (dp->d_ino); in dir_search()
700 dp->d_ino = 0; in dir_clear_block()
723 dp->d_ino = ino; in dir_insert()
/freebsd/contrib/ntp/sntp/libopts/compat/
H A Dcompat.h124 # define REAL_DIR_ENTRY(dp) (dp->d_ino != 0)
/freebsd/lib/libufs/
H A Dlibufs.h53 union dinodep d_ino[1]; /* inode block */
61 union dinodep d_ino[1]; /* inode block */ global() member
/freebsd/stand/kboot/include/
H A Dhost_syscall.h140 uint64_t d_ino; /* 64-bit inode number */ member

123