/freebsd/sbin/fsck_ffs/ |
H A D | pass2.c | 294 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 D | dir.c | 327 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 D | inode.c | 1282 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 D | suj.c | 579 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 D | interactive.c | 500 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 D | dirs.c | 165 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 D | utilities.c | 68 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 D | ufs_lookup.c | 392 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 D | dir.h | 77 uint32_t d_ino; /* inode number of entry */ member
|
H A D | ufs_dirhash.c | 451 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 D | traverse.c | 398 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 D | sanitizer_platform_limits_solaris.h | 215 unsigned long long d_ino; member 222 unsigned long d_ino; member 230 unsigned long long d_ino; member
|
H A D | sanitizer_platform_limits_posix.h | 488 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 D | sanitizer_platform_limits_solaris.cpp | 248 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 D | dirent.h | 41 #define d_ino d_fileno macro
|
/freebsd/sys/cddl/compat/opensolaris/sys/ |
H A D | dirent.h | 39 #define d_ino d_fileno macro
|
/freebsd/include/ |
H A D | dirent.h | 73 #define d_ino d_fileno /* backward and XSI compatibility */ macro
|
/freebsd/stand/libsa/ |
H A D | ext2fs.c | 293 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 D | ufs.c | 471 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 D | readdir.c | 79 if (dp->d_ino == 0 && (flags & RDU_SKIP) != 0) in _readdir_unlocked()
|
/freebsd/crypto/openssh/ |
H A D | sftp-glob.c | 95 ret->d_ino = inum++; in fudge_readdir()
|
/freebsd/sbin/tunefs/ |
H A D | tunefs.c | 637 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 D | compat.h | 124 # define REAL_DIR_ENTRY(dp) (dp->d_ino != 0)
|
/freebsd/lib/libufs/ |
H A D | libufs.h | 53 union dinodep d_ino[1]; /* inode block */ 61 union dinodep d_ino[1]; /* inode block */ global() member
|
/freebsd/stand/kboot/include/ |
H A D | host_syscall.h | 140 uint64_t d_ino; /* 64-bit inode number */ member
|