dfd 172 arch/arm/kernel/sys_oabi-compat.c asmlinkage long sys_oabi_fstatat64(int dfd, dfd 180 arch/arm/kernel/sys_oabi-compat.c error = vfs_fstatat(dfd, filename, &stat, flag); dfd 28 arch/parisc/kernel/sys_parisc32.c compat_uint_t mask0, compat_uint_t mask1, compat_int_t dfd, dfd 33 arch/parisc/kernel/sys_parisc32.c dfd, pathname); dfd 40 arch/powerpc/platforms/cell/spufs/coredump.c static int spufs_ctx_note_size(struct spu_context *ctx, int dfd) dfd 50 arch/powerpc/platforms/cell/spufs/coredump.c sprintf(fullname, "SPU/%d/%s", dfd, name); dfd 119 arch/powerpc/platforms/cell/spufs/coredump.c struct coredump_params *cprm, int dfd) dfd 136 arch/powerpc/platforms/cell/spufs/coredump.c sprintf(fullname, "SPU/%d/%s", dfd, name); dfd 177 arch/s390/kernel/compat_linux.c COMPAT_SYSCALL_DEFINE4(s390_fstatat64, unsigned int, dfd, const char __user *, filename, dfd 183 arch/s390/kernel/compat_linux.c error = vfs_fstatat(dfd, filename, &stat, flag); dfd 118 arch/s390/kernel/compat_linux.h long compat_sys_s390_fstatat64(unsigned int dfd, const char __user *filename, struct stat64_emu31 __user *statbuf, int flag); dfd 128 arch/sparc/kernel/sys_sparc32.c COMPAT_SYSCALL_DEFINE4(fstatat64, unsigned int, dfd, dfd 135 arch/sparc/kernel/sys_sparc32.c error = vfs_fstatat(dfd, filename, &stat, flag); dfd 65 arch/sparc/kernel/systbls.h asmlinkage long compat_sys_fstatat64(unsigned int dfd, dfd 98 arch/sparc/kernel/systbls.h asmlinkage long compat_sys_fstatat64(unsigned int dfd, dfd 131 arch/x86/ia32/sys_ia32.c COMPAT_SYSCALL_DEFINE4(x86_fstatat, unsigned int, dfd, dfd 138 arch/x86/ia32/sys_ia32.c error = vfs_fstatat(dfd, filename, &stat, flag); dfd 93 fs/fhandle.c SYSCALL_DEFINE5(name_to_handle_at, int, dfd, const char __user *, name, dfd 107 fs/fhandle.c err = user_path_at(dfd, name, lookup_flags, &path); dfd 158 fs/fsopen.c SYSCALL_DEFINE3(fspick, int, dfd, const char __user *, path, unsigned int, flags) dfd 181 fs/fsopen.c ret = user_path_at(dfd, path, lookup_flags, &target); dfd 62 fs/internal.h extern int filename_lookup(int dfd, struct filename *name, unsigned flags, dfd 67 fs/internal.h long do_mknodat(int dfd, const char __user *filename, umode_t mode, dfd 69 fs/internal.h long do_mkdirat(int dfd, const char __user *pathname, umode_t mode); dfd 70 fs/internal.h long do_rmdir(int dfd, const char __user *pathname); dfd 71 fs/internal.h long do_unlinkat(int dfd, struct filename *name); dfd 123 fs/internal.h extern struct file *do_filp_open(int dfd, struct filename *pathname, dfd 129 fs/internal.h long do_faccessat(int dfd, const char __user *filename, int mode); dfd 130 fs/internal.h int do_fchmodat(int dfd, const char __user *filename, umode_t mode); dfd 131 fs/internal.h int do_fchownat(int dfd, const char __user *filename, uid_t user, gid_t group, dfd 508 fs/namei.c int dfd; dfd 511 fs/namei.c static void set_nameidata(struct nameidata *p, int dfd, struct filename *name) dfd 515 fs/namei.c p->dfd = dfd; dfd 2202 fs/namei.c } else if (nd->dfd == AT_FDCWD) { dfd 2220 fs/namei.c struct fd f = fdget_raw(nd->dfd); dfd 2327 fs/namei.c int filename_lookup(int dfd, struct filename *name, unsigned flags, dfd 2338 fs/namei.c set_nameidata(&nd, dfd, name); dfd 2369 fs/namei.c static struct filename *filename_parentat(int dfd, struct filename *name, dfd 2378 fs/namei.c set_nameidata(&nd, dfd, name); dfd 2596 fs/namei.c int user_path_at_empty(int dfd, const char __user *name, unsigned flags, dfd 2599 fs/namei.c return filename_lookup(dfd, getname_flags(name, flags, empty), dfd 2700 fs/namei.c filename_mountpoint(int dfd, struct filename *name, struct path *path, dfd 2707 fs/namei.c set_nameidata(&nd, dfd, name); dfd 2735 fs/namei.c user_path_mountpoint_at(int dfd, const char __user *name, unsigned int flags, dfd 2738 fs/namei.c return filename_mountpoint(dfd, getname(name), path, flags); dfd 2742 fs/namei.c kern_path_mountpoint(int dfd, const char *name, struct path *path, dfd 2745 fs/namei.c return filename_mountpoint(dfd, getname_kernel(name), path, flags); dfd 3550 fs/namei.c struct file *do_filp_open(int dfd, struct filename *pathname, dfd 3557 fs/namei.c set_nameidata(&nd, dfd, pathname); dfd 3596 fs/namei.c static struct dentry *filename_create(int dfd, struct filename *name, dfd 3612 fs/namei.c name = filename_parentat(dfd, name, lookup_flags, path, &last, &type); dfd 3667 fs/namei.c struct dentry *kern_path_create(int dfd, const char *pathname, dfd 3670 fs/namei.c return filename_create(dfd, getname_kernel(pathname), dfd 3684 fs/namei.c inline struct dentry *user_path_create(int dfd, const char __user *pathname, dfd 3687 fs/namei.c return filename_create(dfd, getname(pathname), path, lookup_flags); dfd 3736 fs/namei.c long do_mknodat(int dfd, const char __user *filename, umode_t mode, dfd 3748 fs/namei.c dentry = user_path_create(dfd, filename, &path, lookup_flags); dfd 3780 fs/namei.c SYSCALL_DEFINE4(mknodat, int, dfd, const char __user *, filename, umode_t, mode, dfd 3783 fs/namei.c return do_mknodat(dfd, filename, mode, dev); dfd 3817 fs/namei.c long do_mkdirat(int dfd, const char __user *pathname, umode_t mode) dfd 3825 fs/namei.c dentry = user_path_create(dfd, pathname, &path, lookup_flags); dfd 3842 fs/namei.c SYSCALL_DEFINE3(mkdirat, int, dfd, const char __user *, pathname, umode_t, mode) dfd 3844 fs/namei.c return do_mkdirat(dfd, pathname, mode); dfd 3892 fs/namei.c long do_rmdir(int dfd, const char __user *pathname) dfd 3902 fs/namei.c name = filename_parentat(dfd, getname(pathname), lookup_flags, dfd 4021 fs/namei.c long do_unlinkat(int dfd, struct filename *name) dfd 4032 fs/namei.c name = filename_parentat(dfd, name, lookup_flags, &path, &last, &type); dfd 4092 fs/namei.c SYSCALL_DEFINE3(unlinkat, int, dfd, const char __user *, pathname, int, flag) dfd 4098 fs/namei.c return do_rmdir(dfd, pathname); dfd 4100 fs/namei.c return do_unlinkat(dfd, getname(pathname)); dfd 2359 fs/namespace.c SYSCALL_DEFINE3(open_tree, int, dfd, const char *, filename, unsigned, flags) dfd 2392 fs/namespace.c error = user_path_at(dfd, filename, lookup_flags, &path); dfd 530 fs/notify/fanotify/fanotify_user.c static int fanotify_find_path(int dfd, const char __user *filename, dfd 537 fs/notify/fanotify/fanotify_user.c dfd, filename, flags); dfd 540 fs/notify/fanotify/fanotify_user.c struct fd f = fdget(dfd); dfd 564 fs/notify/fanotify/fanotify_user.c ret = user_path_at(dfd, filename, lookup_flags, path); dfd 948 fs/notify/fanotify/fanotify_user.c int dfd, const char __user *pathname) dfd 962 fs/notify/fanotify/fanotify_user.c __func__, fanotify_fd, flags, dfd, pathname, mask); dfd 1047 fs/notify/fanotify/fanotify_user.c ret = fanotify_find_path(dfd, pathname, &path, flags, dfd 1108 fs/notify/fanotify/fanotify_user.c __u64, mask, int, dfd, dfd 1111 fs/notify/fanotify/fanotify_user.c return do_fanotify_mark(fanotify_fd, flags, mask, dfd, pathname); dfd 1117 fs/notify/fanotify/fanotify_user.c __u32, mask0, __u32, mask1, int, dfd, dfd 1126 fs/notify/fanotify/fanotify_user.c dfd, pathname); dfd 348 fs/open.c long do_faccessat(int dfd, const char __user *filename, int mode) dfd 398 fs/open.c res = user_path_at(dfd, filename, lookup_flags, &path); dfd 443 fs/open.c SYSCALL_DEFINE3(faccessat, int, dfd, const char __user *, filename, int, mode) dfd 445 fs/open.c return do_faccessat(dfd, filename, mode); dfd 591 fs/open.c int do_fchmodat(int dfd, const char __user *filename, umode_t mode) dfd 597 fs/open.c error = user_path_at(dfd, filename, lookup_flags, &path); dfd 609 fs/open.c SYSCALL_DEFINE3(fchmodat, int, dfd, const char __user *, filename, dfd 612 fs/open.c return do_fchmodat(dfd, filename, mode); dfd 662 fs/open.c int do_fchownat(int dfd, const char __user *filename, uid_t user, gid_t group, dfd 676 fs/open.c error = user_path_at(dfd, filename, lookup_flags, &path); dfd 694 fs/open.c SYSCALL_DEFINE5(fchownat, int, dfd, const char __user *, filename, uid_t, user, dfd 697 fs/open.c return do_fchownat(dfd, filename, user, group, flag); dfd 1079 fs/open.c long do_sys_open(int dfd, const char __user *filename, int flags, umode_t mode) dfd 1094 fs/open.c struct file *f = do_filp_open(dfd, tmp, &op); dfd 1115 fs/open.c SYSCALL_DEFINE4(openat, int, dfd, const char __user *, filename, int, flags, dfd 1121 fs/open.c return do_sys_open(dfd, filename, flags, mode); dfd 1138 fs/open.c COMPAT_SYSCALL_DEFINE4(openat, int, dfd, const char __user *, filename, int, flags, umode_t, mode) dfd 1140 fs/open.c return do_sys_open(dfd, filename, flags, mode); dfd 168 fs/stat.c int vfs_statx(int dfd, const char __user *filename, int flags, dfd 187 fs/stat.c error = user_path_at(dfd, filename, lookup_flags, &path); dfd 362 fs/stat.c SYSCALL_DEFINE4(newfstatat, int, dfd, const char __user *, filename, dfd 368 fs/stat.c error = vfs_fstatat(dfd, filename, &stat, flag); dfd 387 fs/stat.c static int do_readlinkat(int dfd, const char __user *pathname, dfd 399 fs/stat.c error = user_path_at_empty(dfd, pathname, lookup_flags, &path, &empty); dfd 423 fs/stat.c SYSCALL_DEFINE4(readlinkat, int, dfd, const char __user *, pathname, dfd 426 fs/stat.c return do_readlinkat(dfd, pathname, buf, bufsiz); dfd 513 fs/stat.c SYSCALL_DEFINE4(fstatat64, int, dfd, const char __user *, filename, dfd 519 fs/stat.c error = vfs_fstatat(dfd, filename, &stat, flag); dfd 572 fs/stat.c int, dfd, const char __user *, filename, unsigned, flags, dfd 584 fs/stat.c error = vfs_statx(dfd, filename, flags, &stat, mask); dfd 650 fs/stat.c COMPAT_SYSCALL_DEFINE4(newfstatat, unsigned int, dfd, dfd 657 fs/stat.c error = vfs_fstatat(dfd, filename, &stat, flag); dfd 88 fs/utimes.c long do_utimes(int dfd, const char __user *filename, struct timespec64 *times, dfd 101 fs/utimes.c if (filename == NULL && dfd != AT_FDCWD) { dfd 107 fs/utimes.c f = fdget(dfd); dfd 121 fs/utimes.c error = user_path_at(dfd, filename, lookup_flags, &path); dfd 137 fs/utimes.c SYSCALL_DEFINE4(utimensat, int, dfd, const char __user *, filename, dfd 153 fs/utimes.c return do_utimes(dfd, filename, utimes ? tstimes : NULL, flags); dfd 163 fs/utimes.c static long do_futimesat(int dfd, const char __user *filename, dfd 188 fs/utimes.c return do_utimes(dfd, filename, utimes ? tstimes : NULL, 0); dfd 192 fs/utimes.c SYSCALL_DEFINE3(futimesat, int, dfd, const char __user *, filename, dfd 195 fs/utimes.c return do_futimesat(dfd, filename, utimes); dfd 241 fs/utimes.c SYSCALL_DEFINE4(utimensat_time32, unsigned int, dfd, const char __user *, filename, struct old_timespec32 __user *, t, int, flags) dfd 253 fs/utimes.c return do_utimes(dfd, filename, t ? tv : NULL, flags); dfd 257 fs/utimes.c static long do_compat_futimesat(unsigned int dfd, const char __user *filename, dfd 274 fs/utimes.c return do_utimes(dfd, filename, t ? tv : NULL, 0); dfd 277 fs/utimes.c SYSCALL_DEFINE3(futimesat_time32, unsigned int, dfd, dfd 281 fs/utimes.c return do_compat_futimesat(dfd, filename, t); dfd 572 include/linux/compat.h asmlinkage long compat_sys_openat(int dfd, const char __user *filename, dfd 643 include/linux/compat.h asmlinkage long compat_sys_newfstatat(unsigned int dfd, dfd 837 include/linux/compat.h asmlinkage long compat_sys_execveat(int dfd, const char __user *filename, dfd 2532 include/linux/fs.h extern long do_sys_open(int dfd, const char __user *filename, int flags, dfd 3258 include/linux/fs.h static inline int vfs_fstatat(int dfd, const char __user *filename, dfd 3261 include/linux/fs.h return vfs_statx(dfd, filename, flags | AT_NO_AUTOMOUNT, dfd 46 include/linux/namei.h static inline int user_path_at(int dfd, const char __user *name, unsigned flags, dfd 49 include/linux/namei.h return user_path_at_empty(dfd, name, flags, path, NULL); dfd 394 include/linux/syscalls.h asmlinkage long sys_mknodat(int dfd, const char __user * filename, umode_t mode, dfd 396 include/linux/syscalls.h asmlinkage long sys_mkdirat(int dfd, const char __user * pathname, umode_t mode); dfd 397 include/linux/syscalls.h asmlinkage long sys_unlinkat(int dfd, const char __user * pathname, int flag); dfd 430 include/linux/syscalls.h asmlinkage long sys_faccessat(int dfd, const char __user *filename, int mode); dfd 435 include/linux/syscalls.h asmlinkage long sys_fchmodat(int dfd, const char __user * filename, dfd 437 include/linux/syscalls.h asmlinkage long sys_fchownat(int dfd, const char __user *filename, uid_t user, dfd 440 include/linux/syscalls.h asmlinkage long sys_openat(int dfd, const char __user *filename, int flags, dfd 511 include/linux/syscalls.h asmlinkage long sys_readlinkat(int dfd, const char __user *path, char __user *buf, dfd 513 include/linux/syscalls.h asmlinkage long sys_newfstatat(int dfd, const char __user *filename, dfd 518 include/linux/syscalls.h asmlinkage long sys_fstatat64(int dfd, const char __user *filename, dfd 544 include/linux/syscalls.h asmlinkage long sys_utimensat(int dfd, const char __user *filename, dfd 547 include/linux/syscalls.h asmlinkage long sys_utimensat_time32(unsigned int dfd, dfd 922 include/linux/syscalls.h asmlinkage long sys_name_to_handle_at(int dfd, const char __user *name, dfd 968 include/linux/syscalls.h asmlinkage long sys_execveat(int dfd, const char __user *filename, dfd 987 include/linux/syscalls.h asmlinkage long sys_statx(int dfd, const char __user *path, unsigned flags, dfd 991 include/linux/syscalls.h asmlinkage long sys_open_tree(int dfd, const char __user *path, unsigned flags); dfd 999 include/linux/syscalls.h asmlinkage long sys_fspick(int dfd, const char __user *path, unsigned int flags); dfd 1086 include/linux/syscalls.h asmlinkage long sys_futimesat(int dfd, const char __user *filename, dfd 1089 include/linux/syscalls.h asmlinkage long sys_futimesat_time32(unsigned int dfd, dfd 1280 include/linux/syscalls.h extern long do_unlinkat(int dfd, struct filename *name); dfd 1287 include/linux/syscalls.h extern long do_rmdir(int dfd, const char __user *pathname); dfd 1294 include/linux/syscalls.h extern long do_mkdirat(int dfd, const char __user *pathname, umode_t mode); dfd 1310 include/linux/syscalls.h extern long do_mknodat(int dfd, const char __user *filename, umode_t mode, dfd 1328 include/linux/syscalls.h extern int do_fchmodat(int dfd, const char __user *filename, umode_t mode); dfd 1335 include/linux/syscalls.h extern long do_faccessat(int dfd, const char __user *filename, int mode); dfd 1342 include/linux/syscalls.h extern int do_fchownat(int dfd, const char __user *filename, uid_t user, dfd 1377 include/linux/syscalls.h extern long do_sys_open(int dfd, const char __user *filename, int flags, dfd 43 include/linux/time.h extern long do_utimes(int dfd, const char __user *filename, struct timespec64 *times, int flags); dfd 40 samples/vfs/test-statx.c ssize_t statx(int dfd, const char *filename, unsigned flags, dfd 43 samples/vfs/test-statx.c return syscall(__NR_statx, dfd, filename, flags, mask, buffer); dfd 66 tools/perf/examples/bpf/augmented_syscalls.c long dfd; dfd 58 tools/perf/examples/bpf/etcsnoop.c long dfd; dfd 22 tools/perf/examples/bpf/sys_enter_openat.c long dfd;