Home
last modified time | relevance | path

Searched defs:dfd (Results 1 – 25 of 25) sorted by relevance

/linux-6.6.21/tools/testing/selftests/fchmodat2/
Dfchmodat2_test.c12 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
/linux-6.6.21/fs/
Dutimes.c80 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
Dstat.c232 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
Dopen.c457 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 …]
Dnamei.c587 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()
2907 int user_path_at_empty(int dfd, const char __user *name, unsigned flags, in user_path_at_empty()
3810 struct file *do_filp_open(int dfd, struct filename *pathname, in do_filp_open()
3853 static struct dentry *filename_create(int dfd, struct filename *name, in filename_create()
3921 struct dentry *kern_path_create(int dfd, const char *pathname, in kern_path_create()
[all …]
Dfhandle.c98 SYSCALL_DEFINE5(name_to_handle_at, int, dfd, const char __user *, name, in SYSCALL_DEFINE5() argument
Dfsopen.c158 SYSCALL_DEFINE3(fspick, int, dfd, const char __user *, path, unsigned int, flags) in SYSCALL_DEFINE3() argument
Dnamespace.c2687 SYSCALL_DEFINE3(open_tree, int, dfd, const char __user *, filename, unsigned, flags) in SYSCALL_DEFINE3() argument
4645 SYSCALL_DEFINE5(mount_setattr, int, dfd, const char __user *, path, in SYSCALL_DEFINE5() argument
/linux-6.6.21/tools/testing/selftests/openat2/
Dhelpers.c22 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()
Drename_attack_test.c37 int dfd; in setup_testdir() local
86 int dfd, afd; in test_rename_attack() local
Dresolve_test.c49 int dfd, tmpfd; in setup_testdir() local
442 int dfd, fd; in test_openat2_opath_tests() local
/linux-6.6.21/arch/powerpc/platforms/cell/spufs/
Dcoredump.c24 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()
/linux-6.6.21/arch/parisc/kernel/
Dsys_parisc32.c28 compat_uint_t mask0, compat_uint_t mask1, compat_int_t dfd, in sys32_fanotify_mark()
/linux-6.6.21/io_uring/
Dfs.c29 int dfd; member
36 int dfd; member
Dstatx.c16 int dfd; member
Dopenclose.c21 int dfd; member
/linux-6.6.21/tools/testing/selftests/mount_setattr/
Dmount_setattr_test.c137 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()
/linux-6.6.21/include/linux/
Dnamei.h54 static inline int user_path_at(int dfd, const char __user *name, unsigned flags, in user_path_at()
/linux-6.6.21/fs/notify/fanotify/
Dfanotify_user.c997 static int fanotify_find_path(int dfd, const char __user *filename, in fanotify_find_path()
1661 int dfd, const char __user *pathname) in do_fanotify_mark()
1894 __u64, mask, int, dfd, in SYSCALL_DEFINE5() argument
1904 SC_ARG64(mask), int, dfd, in SYSCALL32_DEFINE6() argument
/linux-6.6.21/samples/vfs/
Dtest-statx.c42 ssize_t statx(int dfd, const char *filename, unsigned flags, in statx()
/linux-6.6.21/tools/testing/selftests/iommu/
Diommufd_fail_nth.c27 static int writeat(int dfd, const char *fn, const char *val) in writeat()
/linux-6.6.21/arch/x86/kernel/
Dsys_ia32.c195 COMPAT_SYSCALL_DEFINE4(ia32_fstatat64, unsigned int, dfd, in COMPAT_SYSCALL_DEFINE4() argument
/linux-6.6.21/arch/sparc/kernel/
Dsys_sparc32.c127 COMPAT_SYSCALL_DEFINE4(fstatat64, unsigned int, dfd, in COMPAT_SYSCALL_DEFINE4() argument
/linux-6.6.21/arch/arm/kernel/
Dsys_oabi-compat.c178 asmlinkage long sys_oabi_fstatat64(int dfd, in sys_oabi_fstatat64()
/linux-6.6.21/arch/s390/kernel/
Dcompat_linux.c177 COMPAT_SYSCALL_DEFINE4(s390_fstatat64, unsigned int, dfd, const char __user *, filename, in COMPAT_SYSCALL_DEFINE4() argument