Home
last modified time | relevance | path

Searched refs:dd_fd (Results 1 – 13 of 13) sorted by relevance

/freebsd-12.1/lib/libc/gen/
H A Dgen-private.h47 int dd_fd; /* file descriptor associated with directory */ member
59 #define _dirfd(dirp) ((dirp)->dd_fd)
H A Dclosedir.c58 fd = dirp->dd_fd; in fdclosedir()
59 dirp->dd_fd = -1; in fdclosedir()
H A Dopendir.c152 if ((fd2 = _openat(dirp->dd_fd, ".", O_RDONLY | O_CLOEXEC)) == -1) in _filldir()
156 pos = lseek(dirp->dd_fd, 0, SEEK_CUR); in _filldir()
292 dirp->dd_fd = fd; in __opendir_common()
339 dirp->dd_size = _getdirentries(dirp->dd_fd, in __opendir_common()
H A Drewinddir.c57 (void) lseek(dirp->dd_fd, 0, SEEK_SET); in rewinddir()
H A Dreaddir.c69 dirp->dd_size = _getdirentries(dirp->dd_fd, in _readdir_unlocked()
H A Dtelldir.c157 (void) lseek(dirp->dd_fd, (off_t)loc_seek, SEEK_SET); in _seekdir()
/freebsd-12.1/sbin/restore/
H A Ddirs.c100 int dd_fd; member
447 (void) lseek(dirp->dd_fd, base + rounddown2(loc, DIRBLKSIZ), SEEK_SET); in rst_seekdir()
450 dirp->dd_size = read(dirp->dd_fd, dirp->dd_buf, DIRBLKSIZ); in rst_seekdir()
463 dirp->dd_size = read(dirp->dd_fd, dirp->dd_buf, in rst_readdir()
521 (void)close(dirp->dd_fd); in rst_closedir()
532 return ((long)lseek(dirp->dd_fd, in rst_telldir()
551 dirp->dd_fd = fd; in opendirfile()
694 dp = dup(dirp->dd_fd); in genliteraldir()
/freebsd-12.1/sys/i386/ibcs2/
H A Dibcs2_dirent.h46 int dd_fd; member
/freebsd-12.1/contrib/opie/
H A Dglob.c375 if (fstat(dirp->dd_fd, &stb) < 0)
/freebsd-12.1/crypto/heimdal/lib/roken/
H A Droken.h.in742 #define dirfd(x) ((x)->dd_fd)
745 #error Missing dirfd() and ->dd_fd
/freebsd-12.1/contrib/tcsh/
H A Dsh.exec.c710 if (fstat(dirp->dd_fd, &stb) < 0 || !S_ISDIR(stb.st_mode)) { in dohash()
/freebsd-12.1/crypto/heimdal/include/
H A Dconfig.h.in288 /* Define if DIR has field dd_fd. */
/freebsd-12.1/crypto/heimdal/
H A Dconfigure20815 DIR x; memset(&x, 0, sizeof(x)); x.dd_fd