Searched refs:dd_fd (Results 1 – 12 of 12) sorted by relevance
| /freebsd-14.2/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 | 56 fd = dirp->dd_fd; in fdclosedir() 57 dirp->dd_fd = -1; in fdclosedir()
|
| H A D | opendir.c | 148 if ((fd2 = _openat(dirp->dd_fd, ".", O_RDONLY | O_CLOEXEC)) == -1) in _filldir() 152 pos = lseek(dirp->dd_fd, 0, SEEK_CUR); in _filldir() 303 dirp->dd_fd = fd; in __opendir_common() 344 dirp->dd_size = _getdirentries(dirp->dd_fd, in __opendir_common()
|
| H A D | rewinddir.c | 55 (void) lseek(dirp->dd_fd, 0, SEEK_SET); in rewinddir()
|
| H A D | readdir.c | 67 dirp->dd_size = _getdirentries(dirp->dd_fd, in _readdir_unlocked()
|
| H A D | telldir.c | 155 (void) lseek(dirp->dd_fd, (off_t)loc_seek, SEEK_SET); in _seekdir()
|
| /freebsd-14.2/sbin/restore/ |
| H A D | dirs.c | 98 int dd_fd; member 445 (void) lseek(dirp->dd_fd, base + rounddown2(loc, DIRBLKSIZ), SEEK_SET); in rst_seekdir() 448 dirp->dd_size = read(dirp->dd_fd, dirp->dd_buf, DIRBLKSIZ); in rst_seekdir() 461 dirp->dd_size = read(dirp->dd_fd, dirp->dd_buf, in rst_readdir() 519 (void)close(dirp->dd_fd); in rst_closedir() 530 return ((long)lseek(dirp->dd_fd, in rst_telldir() 549 dirp->dd_fd = fd; in opendirfile() 692 dp = dup(dirp->dd_fd); in genliteraldir()
|
| /freebsd-14.2/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-14.2/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-14.2/contrib/tcsh/ |
| H A D | sh.exec.c | 706 if (fstat(dirp->dd_fd, &stb) < 0 || !S_ISDIR(stb.st_mode)) { in dohash()
|
| /freebsd-14.2/crypto/heimdal/include/ |
| H A D | config.h.in | 288 /* Define if DIR has field dd_fd. */
|
| /freebsd-14.2/crypto/heimdal/ |
| H A D | configure | 20815 DIR x; memset(&x, 0, sizeof(x)); x.dd_fd
|