| /src/lib/libc/compat/sys/ |
| compat_getdirentries.c | 44 "reference to compatibility-only getdirentries(); this will break; use getdents() or readdir() instead") 50 return getdents(fd, buf, (size_t)nbytes);
|
| compat_getdents.c | 48 * libc12 compatible getdents routine. 51 getdents(int fd, char *buf, size_t nbytes) function
|
| /src/tests/fs/kernfs/ |
| t_basic.c | 25 ATF_TC(getdents); variable 26 ATF_TC_HEAD(getdents, tc) 44 ATF_TC_BODY(getdents, tc) 55 atf_tc_fail_errno("getdents"); 130 ATF_TP_ADD_TC(tp, getdents);
|
| /src/lib/libc/compat/include/ |
| dirent.h | 67 int getdents(int, char *, size_t);
|
| /src/include/ |
| dirent.h | 42 * the getdents(2) system call. 67 long dd_size; /* amount of data returned by getdents */ 70 off_t dd_seek; /* magic cookie returned by getdents */ 122 int getdents(int, char *, size_t) __RENAME(__getdents30);
|
| /src/lib/libc/gen/ |
| readdir.c | 70 dirp->dd_size = getdents(dirp->dd_fd, 74 if (dirp->dd_size == -1) /* getdents sets errno */
|
| initdir.c | 66 * to user space to be done by getdents() 109 * available to getdents 124 n = getdents(fd, ddptr, space);
|
| /src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/ |
| sanitizer_solaris.cc | 167 DECLARE__REAL_AND_INTERNAL64(uptr, getdents, fd_t fd, struct linux_dirent *dirp, 169 return _REAL64(getdents)(fd, dirp, count);
|
| sanitizer_linux.cc | 748 return internal_syscall(SYSCALL(getdents), fd, (uptr)dirp, count);
|
| /src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/ |
| sanitizer_solaris.cpp | 184 DECLARE__REAL_AND_INTERNAL64(uptr, getdents, fd_t fd, struct linux_dirent *dirp, 186 return _REAL64(getdents)(fd, dirp, count);
|
| sanitizer_linux.cpp | 844 return internal_syscall(SYSCALL(getdents), fd, (uptr)dirp, count);
|
| /src/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/ |
| sanitizer_solaris.cpp | 184 DECLARE__REAL_AND_INTERNAL64(uptr, getdents, fd_t fd, struct linux_dirent *dirp, 186 return _REAL64(getdents)(fd, dirp, count);
|
| sanitizer_linux.cpp | 784 return internal_syscall(SYSCALL(getdents), fd, (uptr)dirp, count);
|
| /src/sys/rump/include/rump/ |
| rump_syscallshotgun.h | 103 #define getdents(a,b,c) rump_sys_getdents(a,b,c) macro
|
| /src/external/bsd/file/dist/src/ |
| seccomp.c | 194 ALLOW_RULE(getdents);
|
| /src/tests/lib/libc/c063/ |
| t_o_search.c | 300 atf_tc_set_md_var(tc, "descr", "See that O_SEARCH forbids getdents"); 309 ATF_REQUIRE(getdents(dfd, buf, sizeof(buf)) < 0);
|
| /src/lib/libc/sys/ |
| Makefile.inc | 266 flock.2 fork.2 fsync.2 getcontext.2 getdents.2 \
|
| /src/external/gpl3/gdb/dist/gdb/ |
| i386-syscalls.def | 165 SYSCALL (141, getdents)
|
| i386-linux-tdep.c | 548 SYSCALL_MAP (getdents);
|
| /src/external/gpl3/gdb.old/dist/gdb/ |
| i386-syscalls.def | 165 SYSCALL (141, getdents)
|
| i386-linux-tdep.c | 547 SYSCALL_MAP (getdents);
|
| /src/external/gpl3/binutils/dist/gprofng/libcollector/ |
| iotrace.c | 820 __real_getdents = (int (*)(int, struct dirent*, size_t))dlsym (dlflag, "getdents"); 824 CALL_REAL (fprintf)(stderr, "iotrace_init COL_ERXXX_IOINIT getdents\n"); 2718 /*------------------------------------------------------------- getdents */ 2720 getdents (int fildes, struct dirent *buf, size_t nbyte) function 2725 if (NULL_PTR (getdents)) 2728 return CALL_REAL (getdents)(fildes, buf, nbyte); 2731 ret = CALL_REAL (getdents)(fildes, buf, nbyte);
|
| /src/external/gpl3/binutils.old/dist/gprofng/libcollector/ |
| iotrace.c | 820 __real_getdents = (int (*)(int, struct dirent*, size_t))dlsym (dlflag, "getdents"); 824 CALL_REAL (fprintf)(stderr, "iotrace_init COL_ERXXX_IOINIT getdents\n"); 2718 /*------------------------------------------------------------- getdents */ 2720 getdents (int fildes, struct dirent *buf, size_t nbyte) function 2725 if (NULL_PTR (getdents)) 2728 return CALL_REAL (getdents)(fildes, buf, nbyte); 2731 ret = CALL_REAL (getdents)(fildes, buf, nbyte);
|
| /src/external/gpl3/gdb.old/dist/sim/m32r/ |
| traps.c | 1143 result = getdents (arg1, &dir, arg3);
|
| /src/external/gpl3/gdb/dist/sim/m32r/ |
| traps.c | 1143 result = getdents (arg1, &dir, arg3);
|