/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() 1125 return do_filp_open(AT_FDCWD, name, &op); in file_open_name() 1204 return do_sys_open(AT_FDCWD, filename, flags, mode); in SYSCALL_DEFINE3() 1245 return do_sys_open(AT_FDCWD, filename, flags, mode); in COMPAT_SYSCALL_DEFINE3() [all …]
|
D | xattr.c | 562 error = user_path_at(AT_FDCWD, pathname, lookup_flags, &path); in path_setxattr() 660 error = user_path_at(AT_FDCWD, pathname, lookup_flags, &path); in path_getxattr() 736 error = user_path_at(AT_FDCWD, pathname, lookup_flags, &path); in path_listxattr() 797 error = user_path_at(AT_FDCWD, pathname, lookup_flags, &path); in path_removexattr()
|
D | exec.c | 140 file = do_filp_open(AT_FDCWD, tmp, &uselib_flags); in SYSCALL_DEFINE1() 947 f = do_open_execat(AT_FDCWD, filename, 0); in open_exec() 1502 if (fd == AT_FDCWD || filename->name[0] == '/') { in alloc_bprm() 1932 int fd = AT_FDCWD; in kernel_execve() 1986 return do_execveat_common(AT_FDCWD, filename, argv, envp, 0); in do_execve() 2013 return do_execveat_common(AT_FDCWD, filename, argv, envp, 0); in compat_do_execve()
|
/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() 328 ret = do_open(AT_FDCWD, pathRet, oflags, mode); in SysOpen() 502 ret = do_unlink(AT_FDCWD, (pathname ? pathRet : NULL)); in SysUnlink() 760 ret = do_rename(AT_FDCWD, (oldpath ? pathOldRet : NULL), AT_FDCWD, in SysRename() 788 ret = do_mkdir(AT_FDCWD, (pathname ? pathRet : NULL), mode); in SysMkdir() 812 ret = do_rmdir(AT_FDCWD, (pathname ? pathRet : NULL)); in SysRmdir() 1687 if (dirfd != AT_FDCWD) { in SysOpenat() 1726 if (dirfd != AT_FDCWD) { in SysMkdirat() 1763 if (olddirfd != AT_FDCWD) { in SysLinkat() 1768 if (newdirfd != AT_FDCWD) { in SysLinkat() [all …]
|
D | syscall_pub.c | 81 if (fd != AT_FDCWD) { in GetFullpath()
|
/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/patches/linux-4.19/prebuilts/usr/include/linux/ |
D | fcntl.h | 39 #define AT_FDCWD -100 macro
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
D | fcntl.h | 55 #define AT_FDCWD - 100 macro
|
/kernel/linux/linux-5.10/tools/include/uapi/linux/ |
D | fcntl.h | 95 #define AT_FDCWD -100 /* Special value used to indicate macro
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
D | fcntl.h | 95 #define AT_FDCWD -100 /* Special value used to indicate macro
|
/kernel/linux/linux-5.10/drivers/base/ |
D | devtmpfs.c | 168 dentry = kern_path_create(AT_FDCWD, name, &path, LOOKUP_DIRECTORY); in dev_mkdir() 214 dentry = kern_path_create(AT_FDCWD, nodename, &path, 0); in handle_create() 217 dentry = kern_path_create(AT_FDCWD, nodename, &path, 0); in handle_create()
|
/kernel/linux/linux-5.10/fs/coda/ |
D | pioctl.c | 66 error = user_path_at(AT_FDCWD, data.path, in coda_pioctl()
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/cell/spufs/ |
D | syscalls.c | 70 dentry = user_path_create(AT_FDCWD, pathname, &path, LOOKUP_DIRECTORY); in do_spu_create()
|
/kernel/linux/linux-5.10/tools/testing/selftests/openat2/ |
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()
|
D | helpers.c | 104 fd = sys_openat2(AT_FDCWD, ".", &how); in init()
|
/kernel/linux/linux-5.10/samples/vfs/ |
D | test-fsmount.c | 122 if (move_mount(mfd, "", AT_FDCWD, "/mnt", MOVE_MOUNT_F_EMPTY_PATH) < 0) { in main()
|
D | test-statx.c | 252 ret = statx(AT_FDCWD, *argv, atflag, mask, &stx); in main()
|
/kernel/linux/linux-5.10/fs/hostfs/ |
D | hostfs_user.c | 373 err = syscall(SYS_renameat2, AT_FDCWD, from, AT_FDCWD, to, flags); in rename2_file()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/ |
D | cgroup_helpers.c | 259 dirfd = AT_FDCWD; in get_cgroup_id()
|