Searched refs:d_ino (Results 1 - 25 of 58) sorted by relevance

123

/freebsd-11-stable/sys/compat/svr4/
H A Dsvr4_dirent.h37 svr4_ino_t d_ino; member in struct:svr4_dirent
44 svr4_ino64_t d_ino; member in struct:svr4_dirent64
/freebsd-11-stable/contrib/libreadline/
H A Dposixdir.h50 # define d_fileno d_ino
54 /* Posix does not require that the d_ino field be present, and some
58 # define REAL_DIR_ENTRY(dp) (dp->d_ino != 0)
/freebsd-11-stable/sbin/fsck_ffs/
H A Dpass2.c286 if (dirp->d_ino > maxino)
290 if (dirp->d_ino != 0 && strcmp(dirp->d_name, ".") == 0) {
291 if (dirp->d_ino != idesc->id_number) {
293 dirp->d_ino = idesc->id_number;
306 proto.d_ino = idesc->id_number;
311 if (dirp->d_ino != 0 && strcmp(dirp->d_name, "..") != 0) {
326 inoinfo(dirp->d_ino)->ino_linkcnt--;
337 proto.d_ino = inp->i_parent;
349 inoinfo(dirp->d_ino)->ino_linkcnt--;
354 if (dirp->d_ino !
[all...]
H A Dinode.c569 if (dirp->d_ino != idesc->id_parent || idesc->id_entryno < 2) {
582 if (dirp->d_ino == 0)
585 dirp->d_ino >= ROOTINO && dirp->d_ino <= maxino) {
586 idesc->id_parent = dirp->d_ino;
597 if (dirp->d_ino != idesc->id_parent || idesc->id_entryno < 2) {
601 dirp->d_ino = 0;
H A Ddir.c231 if (dp->d_ino == 0) {
240 * when cleaning up a directory, fsck may set d_ino to zero
243 * space in entries with d_ino == 0 gets fully cleared.
316 dp->d_ino, dp->d_reclen, dp->d_namlen, dp->d_type,
429 if (dirp->d_ino != 0)
438 dirp->d_ino = idesc->id_parent; /* ino to be entered is in id_parent */
453 dirp->d_ino = idesc->id_parent;
/freebsd-11-stable/sys/cddl/compat/opensolaris/sys/
H A Ddirent.h41 #define d_ino d_fileno macro
/freebsd-11-stable/sys/i386/ibcs2/
H A Dibcs2_dirent.h51 ibcs2_ino_t d_ino; member in struct:ibcs2_dirent
/freebsd-11-stable/sys/ufs/ufs/
H A Dufs_lookup.c396 if (ep->d_ino != 0)
419 if (ep->d_ino) {
450 ino = ep->d_ino;
457 if (ep->d_ino)
800 if (ep->d_ino == 0)
833 newdirp->d_ino = ip->i_number;
946 dirp->d_ino, newdirbp, 1))
1023 dsize = ep->d_ino ? DIRSIZ(OFSFMT(dvp), ep) : 0;
1034 if (nep->d_ino == 0) {
1044 ep->d_ino
[all...]
H A Ddir.h70 * a directory block is free, then its dp->d_ino is set to 0.
72 * dp->d_ino set to 0.
78 u_int32_t d_ino; /* inode number of entry */ member in struct:direct
H A Dufs_dirhash.c451 if (ep->d_ino != 0) {
690 * space at the end, or the offset of an entry with d_ino == 0 at
738 if (dp->d_ino == 0 || dp->d_reclen > DIRSIZ(0, dp))
753 if (dp->d_ino != 0)
994 if (dp->d_ino == 0) {
997 * XXX entries with d_ino == 0 should only occur
/freebsd-11-stable/include/
H A Ddirent.h55 #define d_ino d_fileno /* backward and XSI compatibility */ macro
/freebsd-11-stable/sbin/restore/
H A Ddirs.c170 nulldir.d_ino = 0;
266 treescan(locname, dp->d_ino, todo);
293 ino = dp->d_ino;
335 if (oldinofmt && dp->d_ino != 0) {
372 if (dp->d_ino != 0) {
479 if (dp->d_ino == 0 && strcmp(dp->d_name, "/") == 0)
481 if (dp->d_ino >= maxino) {
483 dp->d_ino);
H A Dutilities.c74 ep = addentry(name, pathsearch(name)->d_ino, NODE);
375 ino = ((dp = pathsearch(name)) == NULL) ? 0 : dp->d_ino;
/freebsd-11-stable/crypto/openssh/
H A Dsftp-glob.c95 ret->d_ino = inum++;
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_platform_limits_solaris.h214 unsigned long long d_ino; member in struct:__sanitizer::__sanitizer_dirent
221 unsigned long d_ino; member in struct:__sanitizer::__sanitizer_dirent
229 unsigned long long d_ino; member in struct:__sanitizer::__sanitizer_dirent64
H A Dsanitizer_platform_limits_solaris.cpp245 CHECK_SIZE_AND_OFFSET(dirent, d_ino);
251 CHECK_SIZE_AND_OFFSET(dirent64, d_ino);
/freebsd-11-stable/sbin/dump/
H A Dtraverse.c408 if (dp->d_ino == 0)
410 if (dp->d_ino >= maxino) {
411 msg("corrupted directory entry, d_ino %ju >= %ju\n",
412 (uintmax_t)dp->d_ino, (uintmax_t)maxino);
422 ip = getino(dp->d_ino, &mode);
423 if (TSTINO(dp->d_ino, dumpinomap)) {
424 CLRINO(dp->d_ino, dumpinomap);
432 SETINO(dp->d_ino, dumpdirmap);
433 CLRINO(dp->d_ino, usedinomap);
437 if (TSTINO(dp->d_ino, dumpinoma
[all...]
/freebsd-11-stable/lib/libc/gen/
H A Dreaddir.c83 if (dp->d_ino == 0 && skip)
/freebsd-11-stable/contrib/ntp/sntp/libopts/compat/
H A Dcompat.h120 /* Posix does not require that the d_ino field be present, and some
124 # define REAL_DIR_ENTRY(dp) (dp->d_ino != 0)
/freebsd-11-stable/sys/contrib/cloudabi/
H A Dcloudabi_types_common.h345 _Alignas(8) cloudabi_inode_t d_ino; member in struct:__anon5544
350 _Static_assert(offsetof(cloudabi_dirent_t, d_ino) == 8, "Incorrect layout");
/freebsd-11-stable/stand/libsa/
H A Dufs.c469 if (dp->d_ino == (ino_t)0)
480 *inumber_p = dp->d_ino;
873 if (dp->d_ino == (ino_t)0)
H A Dext2fs.c296 uint32_t d_ino; /* inode */ member in struct:ext2dirent
776 if (dp->d_ino == (ino_t)0)
782 *inumber_p = dp->d_ino;
902 if (ed->d_ino == (ino_t)0)
/freebsd-11-stable/usr.bin/rwho/
H A Drwho.c142 if (dp->d_ino == 0 || strncmp(dp->d_name, "whod.", 5) != 0)
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/gen/
H A Dt_glob.c134 dir.d_ino = dd->pos;
/freebsd-11-stable/sbin/tunefs/
H A Dtunefs.c654 if (dp->d_ino == 0)
660 return (dp->d_ino);
722 dp->d_ino = 0;
745 dp->d_ino = ino;

Completed in 193 milliseconds

123