/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/fs/ |
D | init.c | 152 dentry = kern_path_create(AT_FDCWD, filename, &path, 0); in init_mknod() 176 new_dentry = kern_path_create(AT_FDCWD, newname, &new_path, 0); in init_link() 205 dentry = kern_path_create(AT_FDCWD, newname, &path, 0); in init_symlink() 217 return do_unlinkat(AT_FDCWD, getname_kernel(pathname)); in init_unlink() 226 dentry = kern_path_create(AT_FDCWD, pathname, &path, LOOKUP_DIRECTORY); in init_mkdir() 240 return do_rmdir(AT_FDCWD, getname_kernel(pathname)); in init_rmdir()
|
D | utimes.c | 141 if (filename == NULL && dfd != AT_FDCWD) in do_utimes() 210 return do_futimesat(AT_FDCWD, filename, utimes); in SYSCALL_DEFINE2() 224 return do_utimes(AT_FDCWD, filename, times ? tv : NULL, 0); in SYSCALL_DEFINE2() 246 return do_utimes(AT_FDCWD, filename, t ? tv : NULL, 0); in SYSCALL_DEFINE2() 295 return do_compat_futimesat(AT_FDCWD, filename, t); in SYSCALL_DEFINE2()
|
D | open.c | 131 error = user_path_at(AT_FDCWD, pathname, lookup_flags, &path); in do_sys_truncate() 482 return do_faccessat(AT_FDCWD, filename, mode, 0); in SYSCALL_DEFINE2() 491 error = user_path_at(AT_FDCWD, filename, lookup_flags, &path); in SYSCALL_DEFINE1() 539 error = user_path_at(AT_FDCWD, filename, lookup_flags, &path); in SYSCALL_DEFINE1() 639 return do_fchmodat(AT_FDCWD, filename, mode); in SYSCALL_DEFINE2() 724 return do_fchownat(AT_FDCWD, filename, user, group, 0); in SYSCALL_DEFINE3() 729 return do_fchownat(AT_FDCWD, filename, user, group, in SYSCALL_DEFINE3() 1131 return do_filp_open(AT_FDCWD, name, &op); in file_open_name() 1210 return do_sys_open(AT_FDCWD, filename, flags, mode); in SYSCALL_DEFINE3() 1251 return do_sys_open(AT_FDCWD, filename, flags, mode); in COMPAT_SYSCALL_DEFINE3() [all …]
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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()
|
/kernel/liteos_a/syscall/ |
D | fs_syscall.c | 116 if ((fd != AT_FDCWD) && (path == NULL)) { in GetFullpathNull() 446 ret = do_open(AT_FDCWD, pathRet, oflags, mode); in SysOpen() 629 ret = do_unlink(AT_FDCWD, (pathname ? pathRet : NULL)); in SysUnlink() 887 ret = do_rename(AT_FDCWD, (oldpath ? pathOldRet : NULL), AT_FDCWD, in SysRename() 915 ret = do_mkdir(AT_FDCWD, (pathname ? pathRet : NULL), mode); in SysMkdir() 939 ret = do_rmdir(AT_FDCWD, (pathname ? pathRet : NULL)); in SysRmdir() 1814 if (dirfd != AT_FDCWD) { in SysOpenat() 1853 if (dirfd != AT_FDCWD) { in SysMkdirat() 1890 if (olddirfd != AT_FDCWD) { in SysLinkat() 1895 if (newdirfd != AT_FDCWD) { in SysLinkat() [all …]
|
/kernel/linux/linux-5.10/tools/build/feature/ |
D | test-file-handle.c | 15 name_to_handle_at(AT_FDCWD, "/", &handle.fh, &mount_id, 0); in main()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/build/test/syzkaller/qos_auth/ |
D | sched_cpu_high_irqload.txt | 6 openat$fd_cpu_high(fd const[AT_FDCWD], file ptr[in, string["/proc/sys/kernel/sched_cpu_high_irqload…
|
D | sched_use_walt_task_util.txt | 6 openat$fd_walt_task(fd const[AT_FDCWD], file ptr[in, string["/proc/sys/kernel/sched_use_walt_task_u…
|
D | sched_use_walt_cpu_util.txt | 6 openat$fd_walt_cpu(fd const[AT_FDCWD], file ptr[in, string["/proc/sys/kernel/sched_use_walt_cpu_uti…
|
D | sched_walt_init_task_load_pct.txt | 6 openat$fd_load_pct(fd const[AT_FDCWD], file ptr[in, string["/proc/sys/kernel/sched_walt_init_task_l…
|
D | reclaimacct_proc_fops.txt | 6 openat$fd_reclaimacct(fd const[AT_FDCWD], file ptr[in, string["/proc/reclaimacct"]], flags const[O_…
|
D | sched_rtg_debug_fops.txt | 7 openat$fd_sched_rtg_debug(fd const[AT_FDCWD], file ptr[in, string["/proc/sched_rtg_debug"]], flags …
|
D | reclaim_effi_proc_fops.txt | 6 openat$fd_reclaim_effciency(fd const[AT_FDCWD], file ptr[in, string["/proc/reclaim_efficiency"]], f…
|
D | sched_cluster_fops.txt | 7 openat$fd_sched_cluster(fd const[AT_FDCWD], file ptr[in, string["/proc/sched_cluster"]], flags cons…
|
D | max_cpus.txt | 6 openat$fd_store_max(fd const[AT_FDCWD], file ptr[in, string["/sys/devices/system/cpu/cpu0/core_ctl/…
|
D | enable.txt | 6 openat$fd_enable(fd const[AT_FDCWD], file ptr[in, string["/sys/devices/system/cpu/cpu0/core_ctl/ena…
|
D | need_cpus.txt | 6 openat$fd_store_need(fd const[AT_FDCWD], file ptr[in, string["/sys/devices/system/cpu/cpu0/core_ctl…
|
D | active_cpus.txt | 7 openat$fd_active(fd const[AT_FDCWD], file ptr[in, string["/sys/devices/system/cpu/cpu0/core_ctl/act…
|
D | min_cpus.txt | 6 openat$fd_store_min(fd const[AT_FDCWD], file ptr[in, string["/sys/devices/system/cpu/cpu0/core_ctl/…
|
D | global_state.txt | 6 openat$fd_store_global(fd const[AT_FDCWD], file ptr[in, string["/sys/devices/system/cpu/cpu0/core_c…
|
D | avail_buffers.txt | 7 openat$fd_avail_buffers(fd const[AT_FDCWD], file ptr[in, string["/dev/memcg/memory.avail_buffers"]]…
|
D | oom_control.txt | 7 openat$fd_oom_control(fd const[AT_FDCWD], file ptr[in, string["/dev/memcg/memory.oom_control"]], fl…
|