/tools/testing/selftests/tmpfs/ |
D | bug-link-o-tmpfile.c | 49 fd = openat(AT_FDCWD, "/tmp", O_WRONLY|O_TMPFILE, 0600); in main() 54 if (linkat(fd, "", AT_FDCWD, "/tmp/1", AT_EMPTY_PATH) == -1) { in main() 60 fd = openat(AT_FDCWD, "/tmp", O_WRONLY|O_TMPFILE, 0600); in main()
|
/tools/perf/tests/ |
D | openat-syscall-tp-fields.c | 21 #ifndef AT_FDCWD 22 #define AT_FDCWD -100 macro 86 openat(AT_FDCWD, filename, flags); in test__syscall_openat_tp_fields()
|
/tools/build/feature/ |
D | test-file-handle.c | 15 name_to_handle_at(AT_FDCWD, "/", &handle.fh, &mount_id, 0); in main()
|
/tools/testing/selftests/exec/ |
D | execveat.c | 268 fail += check_execveat(AT_FDCWD, fullname, 0); in run_tests() 300 fail += check_execveat(AT_FDCWD, fullname_symlink, 0); in run_tests() 313 fail += check_execveat_fail(AT_FDCWD, fullname_symlink, in run_tests() 326 fail += check_execveat(AT_FDCWD, fullname_script, 0); in run_tests() 360 fail += check_execveat_fail(AT_FDCWD, "no-such-file", 0, ENOENT); in run_tests()
|
/tools/include/uapi/linux/ |
D | fcntl.h | 95 #define AT_FDCWD -100 /* Special value used to indicate macro
|
/tools/include/nolibc/ |
D | nolibc.h | 235 #define AT_FDCWD -100 macro 1482 return my_syscall4(__NR_fchmodat, AT_FDCWD, path, mode, 0); in sys_chmod() 1492 return my_syscall5(__NR_fchownat, AT_FDCWD, path, owner, group, 0); in sys_chown() 1580 return my_syscall5(__NR_linkat, AT_FDCWD, old, AT_FDCWD, new, 0); in sys_link() 1596 return my_syscall3(__NR_mkdirat, AT_FDCWD, path, mode); in sys_mkdir() 1606 return my_syscall4(__NR_mknodat, AT_FDCWD, path, mode, dev); in sys_mknod() 1623 return my_syscall4(__NR_openat, AT_FDCWD, path, flags, mode); in sys_open() 1705 ret = my_syscall4(__NR_newfstatat, AT_FDCWD, path, &stat, 0); in sys_stat() 1730 return my_syscall3(__NR_symlinkat, old, AT_FDCWD, new); in sys_symlink() 1752 return my_syscall3(__NR_unlinkat, AT_FDCWD, path, 0); in sys_unlink()
|
/tools/testing/selftests/openat2/ |
D | helpers.c | 104 fd = sys_openat2(AT_FDCWD, ".", &how); in init()
|
D | openat2_test.c | 116 fd = raw_openat2(AT_FDCWD, ".", how_copy, test->size); in test_openat2_struct() 246 fd = sys_openat2(AT_FDCWD, path, &test->how); in test_openat2_flags()
|
/tools/testing/selftests/bpf/ |
D | cgroup_helpers.c | 259 dirfd = AT_FDCWD; in get_cgroup_id()
|
/tools/testing/selftests/proc/ |
D | proc-pid-vm.c | 194 fd = openat(AT_FDCWD, "/tmp", O_WRONLY|O_EXCL|O_TMPFILE, 0700); in make_exe()
|
/tools/perf/ |
D | builtin-trace.c | 655 #ifndef AT_FDCWD 656 #define AT_FDCWD -100 macro 665 if (fd == AT_FDCWD) in syscall_arg__scnprintf_fd_at()
|
/tools/perf/util/ |
D | synthetic-events.c | 494 if (name_to_handle_at(AT_FDCWD, path, &handle.fh, &mount_id, 0) < 0) { in perf_event__synthesize_cgroup()
|
/tools/testing/selftests/filesystems/incfs/ |
D | incfs_test.c | 3895 TESTEQUAL(syscall(__NR_statx, AT_FDCWD, filename, 0, STATX_ALL, in enable_verity() 3980 TESTEQUAL(syscall(__NR_statx, AT_FDCWD, filename, 0, STATX_ALL, in validate_verity()
|