Searched refs:dd_fd (Results 1 – 12 of 12) sorted by relevance
/freebsd/lib/libc/gen/ |
H A D | gen-private.h | 45 int dd_fd; /* file descriptor associated with directory */ member 61 #define _dirfd(dirp) ((dirp)->dd_fd)
|
H A D | closedir.c | 54 fd = dirp->dd_fd; in fdclosedir() 55 dirp->dd_fd = -1; in fdclosedir()
|
H A D | opendir.c | 146 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 D | rewinddir.c | 53 (void) lseek(dirp->dd_fd, 0, SEEK_SET); in rewinddir()
|
H A D | readdir.c | 65 dirp->dd_size = _getdirentries(dirp->dd_fd, in _readdir_unlocked()
|
H A D | telldir.c | 153 (void) lseek(dirp->dd_fd, (off_t)loc_seek, SEEK_SET); in _seekdir()
|
/freebsd/sbin/restore/ |
H A D | dirs.c | 92 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 D | readdir.sh | 122 * 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 D | roken.h.in | 742 #define dirfd(x) ((x)->dd_fd) 745 #error Missing dirfd() and ->dd_fd
|
/freebsd/contrib/tcsh/ |
H A D | sh.exec.c | 706 if (fstat(dirp->dd_fd, &stb) < 0 || !S_ISDIR(stb.st_mode)) { in dohash()
|
/freebsd/crypto/heimdal/include/ |
H A D | config.h.in | 288 /* Define if DIR has field dd_fd. */
|
/freebsd/crypto/heimdal/ |
H A D | configure | 20815 DIR x; memset(&x, 0, sizeof(x)); x.dd_fd
|