AT_FDCWD 1098 arch/alpha/kernel/osf_sys.c return do_utimes(AT_FDCWD, filename, tvs ? tv : NULL, 0); AT_FDCWD 70 arch/powerpc/platforms/cell/spufs/syscalls.c dentry = user_path_create(AT_FDCWD, pathname, &path, LOOKUP_DIRECTORY); AT_FDCWD 170 drivers/base/devtmpfs.c dentry = kern_path_create(AT_FDCWD, name, &path, LOOKUP_DIRECTORY); AT_FDCWD 216 drivers/base/devtmpfs.c dentry = kern_path_create(AT_FDCWD, nodename, &path, 0); AT_FDCWD 219 drivers/base/devtmpfs.c dentry = kern_path_create(AT_FDCWD, nodename, &path, 0); AT_FDCWD 189 fs/autofs/dev-ioctl.c err = kern_path_mountpoint(AT_FDCWD, pathname, &path, 0); AT_FDCWD 522 fs/autofs/dev-ioctl.c err = kern_path_mountpoint(AT_FDCWD, AT_FDCWD 66 fs/coda/pioctl.c error = user_path_at(AT_FDCWD, data.path, AT_FDCWD 722 fs/coredump.c do_unlinkat(AT_FDCWD, getname_kernel(cn.corename)); AT_FDCWD 137 fs/exec.c file = do_filp_open(AT_FDCWD, tmp, &uselib_flags); AT_FDCWD 889 fs/exec.c f = do_open_execat(AT_FDCWD, filename, 0); AT_FDCWD 1774 fs/exec.c } else if (fd == AT_FDCWD || filename->name[0] == '/') { AT_FDCWD 1876 fs/exec.c return __do_execve_file(AT_FDCWD, NULL, argv, envp, 0, file); AT_FDCWD 1885 fs/exec.c return do_execveat_common(AT_FDCWD, filename, argv, envp, 0); AT_FDCWD 1912 fs/exec.c return do_execveat_common(AT_FDCWD, filename, argv, envp, 0); AT_FDCWD 119 fs/fhandle.c if (fd == AT_FDCWD) { AT_FDCWD 347 fs/fsopen.c if (!_key || !_value || (aux != AT_FDCWD && aux < 0)) AT_FDCWD 373 fs/hostfs/hostfs_user.c err = syscall(SYS_renameat2, AT_FDCWD, from, AT_FDCWD, to, flags); AT_FDCWD 2202 fs/namei.c } else if (nd->dfd == AT_FDCWD) { AT_FDCWD 2404 fs/namei.c filename = filename_parentat(AT_FDCWD, getname_kernel(name), 0, path, AT_FDCWD 2425 fs/namei.c return filename_lookup(AT_FDCWD, getname_kernel(name), AT_FDCWD 2444 fs/namei.c return filename_lookup(AT_FDCWD, getname_kernel(name), AT_FDCWD 3788 fs/namei.c return do_mknodat(AT_FDCWD, filename, mode, dev); AT_FDCWD 3849 fs/namei.c return do_mkdirat(AT_FDCWD, pathname, mode); AT_FDCWD 3953 fs/namei.c return do_rmdir(AT_FDCWD, pathname); AT_FDCWD 4105 fs/namei.c return do_unlinkat(AT_FDCWD, getname(pathname)); AT_FDCWD 4168 fs/namei.c return do_symlinkat(oldname, AT_FDCWD, newname); AT_FDCWD 4333 fs/namei.c return do_linkat(AT_FDCWD, oldname, AT_FDCWD, newname, 0); AT_FDCWD 4668 fs/namei.c return do_renameat2(AT_FDCWD, oldname, AT_FDCWD, newname, 0); AT_FDCWD 1683 fs/namespace.c retval = user_path_mountpoint_at(AT_FDCWD, name, lookup_flags, &path); AT_FDCWD 3080 fs/namespace.c retval = user_path_at(AT_FDCWD, dir_name, LOOKUP_FOLLOW, &path); AT_FDCWD 3627 fs/namespace.c error = user_path_at(AT_FDCWD, new_root, AT_FDCWD 3632 fs/namespace.c error = user_path_at(AT_FDCWD, put_old, AT_FDCWD 340 fs/notify/inotify/inotify_user.c error = user_path_at(AT_FDCWD, dirname, flags, path); AT_FDCWD 4430 fs/ocfs2/refcounttree.c error = user_path_at(AT_FDCWD, oldname, 0, &old_path); AT_FDCWD 4436 fs/ocfs2/refcounttree.c new_dentry = user_path_create(AT_FDCWD, newname, &new_path, 0); AT_FDCWD 131 fs/open.c error = user_path_at(AT_FDCWD, pathname, lookup_flags, &path); AT_FDCWD 450 fs/open.c return do_faccessat(AT_FDCWD, filename, mode); AT_FDCWD 459 fs/open.c error = user_path_at(AT_FDCWD, filename, lookup_flags, &path); AT_FDCWD 512 fs/open.c error = user_path_at(AT_FDCWD, filename, lookup_flags, &path); AT_FDCWD 617 fs/open.c return do_fchmodat(AT_FDCWD, filename, mode); AT_FDCWD 702 fs/open.c return do_fchownat(AT_FDCWD, filename, user, group, 0); AT_FDCWD 707 fs/open.c return do_fchownat(AT_FDCWD, filename, user, group, AT_FDCWD 1041 fs/open.c return err ? ERR_PTR(err) : do_filp_open(AT_FDCWD, name, &op); AT_FDCWD 1112 fs/open.c return do_sys_open(AT_FDCWD, filename, flags, mode); AT_FDCWD 1131 fs/open.c return do_sys_open(AT_FDCWD, filename, flags, mode); AT_FDCWD 851 fs/quota/quota.c ret = user_path_at(AT_FDCWD, addr, LOOKUP_FOLLOW|LOOKUP_AUTOMOUNT, &path); AT_FDCWD 432 fs/stat.c return do_readlinkat(AT_FDCWD, path, buf, bufsiz); AT_FDCWD 101 fs/statfs.c error = user_path_at(AT_FDCWD, pathname, lookup_flags, &path); AT_FDCWD 101 fs/utimes.c if (filename == NULL && dfd != AT_FDCWD) { AT_FDCWD 201 fs/utimes.c return do_futimesat(AT_FDCWD, filename, utimes); AT_FDCWD 215 fs/utimes.c return do_utimes(AT_FDCWD, filename, times ? tv : NULL, 0); AT_FDCWD 237 fs/utimes.c return do_utimes(AT_FDCWD, filename, t ? tv : NULL, 0); AT_FDCWD 286 fs/utimes.c return do_compat_futimesat(AT_FDCWD, filename, t); AT_FDCWD 465 fs/xattr.c error = user_path_at(AT_FDCWD, pathname, lookup_flags, &path); AT_FDCWD 563 fs/xattr.c error = user_path_at(AT_FDCWD, pathname, lookup_flags, &path); AT_FDCWD 639 fs/xattr.c error = user_path_at(AT_FDCWD, pathname, lookup_flags, &path); AT_FDCWD 700 fs/xattr.c error = user_path_at(AT_FDCWD, pathname, lookup_flags, &path); AT_FDCWD 70 fs/xfs/xfs_ioctl.c error = user_path_at(AT_FDCWD, hreq->path, 0, &path); AT_FDCWD 3250 include/linux/fs.h return vfs_statx(AT_FDCWD, filename, AT_NO_AUTOMOUNT, AT_FDCWD 3255 include/linux/fs.h return vfs_statx(AT_FDCWD, name, AT_SYMLINK_NOFOLLOW | AT_NO_AUTOMOUNT, AT_FDCWD 1284 include/linux/syscalls.h return do_unlinkat(AT_FDCWD, getname(pathname)); AT_FDCWD 1291 include/linux/syscalls.h return do_rmdir(AT_FDCWD, pathname); AT_FDCWD 1298 include/linux/syscalls.h return do_mkdirat(AT_FDCWD, pathname, mode); AT_FDCWD 1307 include/linux/syscalls.h return do_symlinkat(oldname, AT_FDCWD, newname); AT_FDCWD 1316 include/linux/syscalls.h return do_mknodat(AT_FDCWD, filename, mode, dev); AT_FDCWD 1325 include/linux/syscalls.h return do_linkat(AT_FDCWD, oldname, AT_FDCWD, newname, 0); AT_FDCWD 1332 include/linux/syscalls.h return do_fchmodat(AT_FDCWD, filename, mode); AT_FDCWD 1339 include/linux/syscalls.h return do_faccessat(AT_FDCWD, filename, mode); AT_FDCWD 1348 include/linux/syscalls.h return do_fchownat(AT_FDCWD, filename, user, group, 0); AT_FDCWD 1354 include/linux/syscalls.h return do_fchownat(AT_FDCWD, filename, user, group, AT_FDCWD 1385 include/linux/syscalls.h return do_sys_open(AT_FDCWD, filename, flags, mode); AT_FDCWD 111 init/initramfs.c return do_utimes(AT_FDCWD, filename, t, AT_SYMLINK_NOFOLLOW); AT_FDCWD 391 kernel/bpf/inode.c dentry = kern_path_create(AT_FDCWD, pathname->name, &path, 0); AT_FDCWD 975 net/unix/af_unix.c dentry = kern_path_create(AT_FDCWD, sun_path, &path, 0); AT_FDCWD 122 samples/vfs/test-fsmount.c if (move_mount(mfd, "", AT_FDCWD, "/mnt", MOVE_MOUNT_F_EMPTY_PATH) < 0) { AT_FDCWD 250 samples/vfs/test-statx.c ret = statx(AT_FDCWD, *argv, atflag, mask, &stx); AT_FDCWD 1471 tools/include/nolibc/nolibc.h return my_syscall4(__NR_fchmodat, AT_FDCWD, path, mode, 0); AT_FDCWD 1481 tools/include/nolibc/nolibc.h return my_syscall5(__NR_fchownat, AT_FDCWD, path, owner, group, 0); AT_FDCWD 1569 tools/include/nolibc/nolibc.h return my_syscall5(__NR_linkat, AT_FDCWD, old, AT_FDCWD, new, 0); AT_FDCWD 1585 tools/include/nolibc/nolibc.h return my_syscall3(__NR_mkdirat, AT_FDCWD, path, mode); AT_FDCWD 1595 tools/include/nolibc/nolibc.h return my_syscall4(__NR_mknodat, AT_FDCWD, path, mode, dev); AT_FDCWD 1612 tools/include/nolibc/nolibc.h return my_syscall4(__NR_openat, AT_FDCWD, path, flags, mode); AT_FDCWD 1694 tools/include/nolibc/nolibc.h ret = my_syscall4(__NR_newfstatat, AT_FDCWD, path, &stat, 0); AT_FDCWD 1719 tools/include/nolibc/nolibc.h return my_syscall3(__NR_symlinkat, old, AT_FDCWD, new); AT_FDCWD 1741 tools/include/nolibc/nolibc.h return my_syscall3(__NR_unlinkat, AT_FDCWD, path, 0); AT_FDCWD 457 tools/perf/builtin-trace.c #ifndef AT_FDCWD AT_FDCWD 467 tools/perf/builtin-trace.c if (fd == AT_FDCWD) AT_FDCWD 20 tools/perf/tests/openat-syscall-tp-fields.c #ifndef AT_FDCWD AT_FDCWD 85 tools/perf/tests/openat-syscall-tp-fields.c openat(AT_FDCWD, filename, flags); AT_FDCWD 259 tools/testing/selftests/bpf/cgroup_helpers.c dirfd = AT_FDCWD; AT_FDCWD 266 tools/testing/selftests/exec/execveat.c fail += check_execveat(AT_FDCWD, fullname, 0); AT_FDCWD 298 tools/testing/selftests/exec/execveat.c fail += check_execveat(AT_FDCWD, fullname_symlink, 0); AT_FDCWD 311 tools/testing/selftests/exec/execveat.c fail += check_execveat_fail(AT_FDCWD, fullname_symlink, AT_FDCWD 320 tools/testing/selftests/exec/execveat.c fail += check_execveat(AT_FDCWD, fullname_script, 0); AT_FDCWD 354 tools/testing/selftests/exec/execveat.c fail += check_execveat_fail(AT_FDCWD, "no-such-file", 0, ENOENT); AT_FDCWD 194 tools/testing/selftests/proc/proc-pid-vm.c fd = openat(AT_FDCWD, "/tmp", O_WRONLY|O_EXCL|O_TMPFILE, 0700); AT_FDCWD 49 tools/testing/selftests/tmpfs/bug-link-o-tmpfile.c fd = openat(AT_FDCWD, "/tmp", O_WRONLY|O_TMPFILE, 0600); AT_FDCWD 54 tools/testing/selftests/tmpfs/bug-link-o-tmpfile.c if (linkat(fd, "", AT_FDCWD, "/tmp/1", AT_EMPTY_PATH) == -1) { AT_FDCWD 60 tools/testing/selftests/tmpfs/bug-link-o-tmpfile.c fd = openat(AT_FDCWD, "/tmp", O_WRONLY|O_TMPFILE, 0600);