| /kernel/linux/linux-6.6/tools/testing/selftests/fchmodat2/ |
| D | fchmodat2_test.c | 12 int sys_fchmodat2(int dfd, const char *filename, mode_t mode, int flags) in sys_fchmodat2() 21 int dfd, ret; in setup_testdir() local 46 int expect_mode(int dfd, const char *filename, mode_t expect_mode) in expect_mode() 60 int dfd, ret; in test_regfile() local 88 int dfd, ret; in test_symlink() local
|
| /kernel/linux/linux-6.6/fs/ |
| D | utimes.c | 80 static int do_utimes_path(int dfd, const char __user *filename, in do_utimes_path() 140 long do_utimes(int dfd, const char __user *filename, struct timespec64 *times, in do_utimes() 148 SYSCALL_DEFINE4(utimensat, int, dfd, const char __user *, filename, in SYSCALL_DEFINE4() argument 174 static long do_futimesat(int dfd, const char __user *filename, in do_futimesat() 203 SYSCALL_DEFINE3(futimesat, int, dfd, const char __user *, filename, in SYSCALL_DEFINE3() argument 252 SYSCALL_DEFINE4(utimensat_time32, unsigned int, dfd, const char __user *, filename, struct old_time… in SYSCALL_DEFINE4() argument 268 static long do_compat_futimesat(unsigned int dfd, const char __user *filename, in do_compat_futimesat() 288 SYSCALL_DEFINE3(futimesat_time32, unsigned int, dfd, in SYSCALL_DEFINE3() argument
|
| D | stat.c | 232 static int vfs_statx(int dfd, struct filename *filename, int flags, in vfs_statx() 274 int vfs_fstatat(int dfd, const char __user *filename, in vfs_fstatat() 457 SYSCALL_DEFINE4(newfstatat, int, dfd, const char __user *, filename, in SYSCALL_DEFINE4() argument 482 static int do_readlinkat(int dfd, const char __user *pathname, in do_readlinkat() 518 SYSCALL_DEFINE4(readlinkat, int, dfd, const char __user *, pathname, in SYSCALL_DEFINE4() argument 608 SYSCALL_DEFINE4(fstatat64, int, dfd, const char __user *, filename, in SYSCALL_DEFINE4() argument 660 int do_statx(int dfd, struct filename *filename, unsigned int flags, in do_statx() 695 int, dfd, const char __user *, filename, unsigned, flags, in SYSCALL_DEFINE5() argument 770 COMPAT_SYSCALL_DEFINE4(newfstatat, unsigned int, dfd, in COMPAT_SYSCALL_DEFINE4() argument
|
| D | open.c | 457 static long do_faccessat(int dfd, const char __user *filename, int mode, int flags) in do_faccessat() 529 SYSCALL_DEFINE3(faccessat, int, dfd, const char __user *, filename, int, mode) in SYSCALL_DEFINE3() argument 534 SYSCALL_DEFINE4(faccessat2, int, dfd, const char __user *, filename, int, mode, in SYSCALL_DEFINE4() argument 674 static int do_fchmodat(int dfd, const char __user *filename, umode_t mode, in do_fchmodat() 701 SYSCALL_DEFINE4(fchmodat2, int, dfd, const char __user *, filename, in SYSCALL_DEFINE4() argument 707 SYSCALL_DEFINE3(fchmodat, int, dfd, const char __user *, filename, in SYSCALL_DEFINE3() argument 794 int do_fchownat(int dfd, const char __user *filename, uid_t user, gid_t group, in do_fchownat() 826 SYSCALL_DEFINE5(fchownat, int, dfd, const char __user *, filename, uid_t, user, in SYSCALL_DEFINE5() argument 1403 static long do_sys_openat2(int dfd, const char __user *filename, in do_sys_openat2() 1431 long do_sys_open(int dfd, const char __user *filename, int flags, umode_t mode) in do_sys_open() [all …]
|
| D | namei.c | 587 int dfd; member 596 static void __set_nameidata(struct nameidata *p, int dfd, struct filename *name) in __set_nameidata() 610 static inline void set_nameidata(struct nameidata *p, int dfd, struct filename *name, in set_nameidata() 2504 int filename_lookup(int dfd, struct filename *name, unsigned flags, in filename_lookup() 2543 static int __filename_parentat(int dfd, struct filename *name, in __filename_parentat() 2568 static int filename_parentat(int dfd, struct filename *name, in filename_parentat() 2905 int user_path_at_empty(int dfd, const char __user *name, unsigned flags, in user_path_at_empty() 3808 struct file *do_filp_open(int dfd, struct filename *pathname, in do_filp_open() 3851 static struct dentry *filename_create(int dfd, struct filename *name, in filename_create() 3919 struct dentry *kern_path_create(int dfd, const char *pathname, in kern_path_create() [all …]
|
| /kernel/linux/linux-5.10/fs/ |
| D | utimes.c | 78 static int do_utimes_path(int dfd, const char __user *filename, in do_utimes_path() 138 long do_utimes(int dfd, const char __user *filename, struct timespec64 *times, in do_utimes() 146 SYSCALL_DEFINE4(utimensat, int, dfd, const char __user *, filename, in SYSCALL_DEFINE4() argument 172 static long do_futimesat(int dfd, const char __user *filename, in do_futimesat() 201 SYSCALL_DEFINE3(futimesat, int, dfd, const char __user *, filename, in SYSCALL_DEFINE3() argument 250 SYSCALL_DEFINE4(utimensat_time32, unsigned int, dfd, const char __user *, filename, struct old_time… in SYSCALL_DEFINE4() argument 266 static long do_compat_futimesat(unsigned int dfd, const char __user *filename, in do_compat_futimesat() 286 SYSCALL_DEFINE3(futimesat_time32, unsigned int, dfd, in SYSCALL_DEFINE3() argument
|
| D | stat.c | 174 static int vfs_statx(int dfd, const char __user *filename, int flags, in vfs_statx() 212 int vfs_fstatat(int dfd, const char __user *filename, in vfs_fstatat() 377 SYSCALL_DEFINE4(newfstatat, int, dfd, const char __user *, filename, in SYSCALL_DEFINE4() argument 402 static int do_readlinkat(int dfd, const char __user *pathname, in do_readlinkat() 438 SYSCALL_DEFINE4(readlinkat, int, dfd, const char __user *, pathname, in SYSCALL_DEFINE4() argument 528 SYSCALL_DEFINE4(fstatat64, int, dfd, const char __user *, filename, in SYSCALL_DEFINE4() argument 576 int do_statx(int dfd, const char __user *filename, unsigned flags, in do_statx() 606 int, dfd, const char __user *, filename, unsigned, flags, in SYSCALL_DEFINE5() argument 674 COMPAT_SYSCALL_DEFINE4(newfstatat, unsigned int, dfd, in COMPAT_SYSCALL_DEFINE4() argument
|
| D | open.c | 397 static long do_faccessat(int dfd, const char __user *filename, int mode, int flags) in do_faccessat() 469 SYSCALL_DEFINE3(faccessat, int, dfd, const char __user *, filename, int, mode) in SYSCALL_DEFINE3() argument 474 SYSCALL_DEFINE4(faccessat2, int, dfd, const char __user *, filename, int, mode, in SYSCALL_DEFINE4() argument 613 static int do_fchmodat(int dfd, const char __user *filename, umode_t mode) in do_fchmodat() 631 SYSCALL_DEFINE3(fchmodat, int, dfd, const char __user *, filename, in SYSCALL_DEFINE3() argument 684 int do_fchownat(int dfd, const char __user *filename, uid_t user, gid_t group, in do_fchownat() 716 SYSCALL_DEFINE5(fchownat, int, dfd, const char __user *, filename, uid_t, user, in SYSCALL_DEFINE5() argument 1170 static long do_sys_openat2(int dfd, const char __user *filename, in do_sys_openat2() 1199 long do_sys_open(int dfd, const char __user *filename, int flags, umode_t mode) in do_sys_open() 1213 SYSCALL_DEFINE4(openat, int, dfd, const char __user *, filename, int, flags, in SYSCALL_DEFINE4() argument [all …]
|
| D | namei.c | 521 int dfd; member 530 static void set_nameidata(struct nameidata *p, int dfd, struct filename *name) in set_nameidata() 2371 int filename_lookup(int dfd, struct filename *name, unsigned flags, in filename_lookup() 2414 static struct filename *filename_parentat(int dfd, struct filename *name, in filename_parentat() 2660 int user_path_at_empty(int dfd, const char __user *name, unsigned flags, in user_path_at_empty() 3451 struct file *do_filp_open(int dfd, struct filename *pathname, in do_filp_open() 3496 static struct dentry *filename_create(int dfd, struct filename *name, in filename_create() 3567 struct dentry *kern_path_create(int dfd, const char *pathname, in kern_path_create() 3584 inline struct dentry *user_path_create(int dfd, const char __user *pathname, in user_path_create() 3639 static long do_mknodat(int dfd, const char __user *filename, umode_t mode, in do_mknodat() [all …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/openat2/ |
| D | helpers.c | 22 int raw_openat2(int dfd, const char *path, void *how, size_t size) in raw_openat2() 28 int sys_openat2(int dfd, const char *path, struct open_how *how) in sys_openat2() 33 int sys_openat(int dfd, const char *path, struct open_how *how) in sys_openat() 47 int touchat(int dfd, const char *path) in touchat() 71 bool fdequal(int fd, int dfd, const char *path) in fdequal()
|
| D | rename_attack_test.c | 37 int dfd; in setup_testdir() local 86 int dfd, afd; in test_rename_attack() local
|
| D | resolve_test.c | 49 int dfd, tmpfd; in setup_testdir() local 442 int dfd, fd; in test_openat2_opath_tests() local
|
| /kernel/linux/linux-5.10/tools/testing/selftests/openat2/ |
| D | helpers.c | 22 int raw_openat2(int dfd, const char *path, void *how, size_t size) in raw_openat2() 28 int sys_openat2(int dfd, const char *path, struct open_how *how) in sys_openat2() 33 int sys_openat(int dfd, const char *path, struct open_how *how) in sys_openat() 47 int touchat(int dfd, const char *path) in touchat() 71 bool fdequal(int fd, int dfd, const char *path) in fdequal()
|
| D | rename_attack_test.c | 37 int dfd; in setup_testdir() local 86 int dfd, afd; in test_rename_attack() local
|
| D | resolve_test.c | 49 int dfd, tmpfd; in setup_testdir() local 442 int dfd, fd; in test_openat2_opath_tests() local
|
| /kernel/linux/linux-6.6/arch/powerpc/platforms/cell/spufs/ |
| D | coredump.c | 24 static int spufs_ctx_note_size(struct spu_context *ctx, int dfd) in spufs_ctx_note_size() 116 struct coredump_params *cprm, int dfd) in spufs_arch_write_note()
|
| /kernel/linux/linux-5.10/arch/powerpc/platforms/cell/spufs/ |
| D | coredump.c | 24 static int spufs_ctx_note_size(struct spu_context *ctx, int dfd) in spufs_ctx_note_size() 116 struct coredump_params *cprm, int dfd) in spufs_arch_write_note()
|
| /kernel/linux/linux-5.10/arch/parisc/kernel/ |
| D | sys_parisc32.c | 28 compat_uint_t mask0, compat_uint_t mask1, compat_int_t dfd, in sys32_fanotify_mark()
|
| /kernel/linux/linux-5.10/tools/perf/examples/bpf/ |
| D | sys_enter_openat.c | 22 long dfd; member
|
| D | etcsnoop.c | 58 long dfd; member
|
| /kernel/linux/linux-6.6/io_uring/ |
| D | statx.c | 16 int dfd; member
|
| D | fs.c | 29 int dfd; member 36 int dfd; member
|
| /kernel/linux/linux-5.10/fs/notify/fanotify/ |
| D | fanotify_user.c | 665 static int fanotify_find_path(int dfd, const char __user *filename, in fanotify_find_path() 1128 int dfd, const char __user *pathname) in do_fanotify_mark() 1308 __u64, mask, int, dfd, in SYSCALL_DEFINE5() argument 1318 SC_ARG64(mask), int, dfd, in SYSCALL32_DEFINE6() argument
|
| /kernel/linux/linux-6.6/tools/testing/selftests/mount_setattr/ |
| D | mount_setattr_test.c | 137 static inline int sys_mount_setattr(int dfd, const char *path, unsigned int flags, in sys_mount_setattr() 155 static inline int sys_open_tree(int dfd, const char *filename, unsigned int flags) in sys_open_tree() 667 int fd, dfd; in TEST_F() local 1391 static bool expected_uid_gid(int dfd, const char *path, int flags, in expected_uid_gid()
|
| /kernel/linux/linux-5.10/include/linux/ |
| D | namei.h | 54 static inline int user_path_at(int dfd, const char __user *name, unsigned flags, in user_path_at()
|