Home
last modified time | relevance | path

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

/freebsd/lib/libc/gen/
H A Dgen-private.h45 int dd_fd; /* file descriptor associated with directory */ member
61 #define _dirfd(dirp) ((dirp)->dd_fd)
H A Dclosedir.c54 fd = dirp->dd_fd; in fdclosedir()
55 dirp->dd_fd = -1; in fdclosedir()
H A Dopendir.c146 if ((fd2 = _openat(dirp->dd_fd, ".", O_RDONLY | O_CLOEXEC)) == -1) in _filldir()
150 pos = lseek(dirp->dd_fd, 0, SEEK_CUR); in _filldir()
301 dirp->dd_fd = fd; in __opendir_common()
342 dirp->dd_size = _getdirentries(dirp->dd_fd, in __opendir_common()
H A Drewinddir.c53 (void) lseek(dirp->dd_fd, 0, SEEK_SET); in rewinddir()
H A Dreaddir.c65 dirp->dd_size = _getdirentries(dirp->dd_fd, in _readdir_unlocked()
H A Dtelldir.c153 (void) lseek(dirp->dd_fd, (off_t)loc_seek, SEEK_SET); in _seekdir()
/freebsd/sbin/restore/
H A Ddirs.c92 int dd_fd; member
439 (void) lseek(dirp->dd_fd, base + rounddown2(loc, DIRBLKSIZ), SEEK_SET); in rst_seekdir()
442 dirp->dd_size = read(dirp->dd_fd, dirp->dd_buf, DIRBLKSIZ); in rst_seekdir()
455 dirp->dd_size = read(dirp->dd_fd, dirp->dd_buf, in rst_readdir()
513 (void)close(dirp->dd_fd); in rst_closedir()
524 return ((long)lseek(dirp->dd_fd, in rst_telldir()
543 dirp->dd_fd = fd; in opendirfile()
686 dp = dup(dirp->dd_fd); in genliteraldir()
/freebsd/tools/test/stress2/misc/
H A Dreaddir.sh122 * NOTE. Change structure layout with care, at least dd_fd field has to
126 int dd_fd; /* file descriptor associated with directory */
/freebsd/crypto/heimdal/lib/roken/
H A Droken.h.in742 #define dirfd(x) ((x)->dd_fd)
745 #error Missing dirfd() and ->dd_fd
/freebsd/contrib/tcsh/
H A Dsh.exec.c706 if (fstat(dirp->dd_fd, &stb) < 0 || !S_ISDIR(stb.st_mode)) { in dohash()
/freebsd/crypto/heimdal/include/
H A Dconfig.h.in288 /* Define if DIR has field dd_fd. */
/freebsd/crypto/heimdal/
H A Dconfigure20815 DIR x; memset(&x, 0, sizeof(x)); x.dd_fd