Home
last modified time | relevance | path

Searched refs:dfd (Results 1 – 8 of 8) sorted by relevance

/fs/
Dutimes.c122 long do_utimes(int dfd, const char __user *filename, struct timespec *times, in do_utimes() argument
135 if (filename == NULL && dfd != AT_FDCWD) { in do_utimes()
141 f = fdget(dfd); in do_utimes()
155 error = user_path_at(dfd, filename, lookup_flags, &path); in do_utimes()
171 SYSCALL_DEFINE4(utimensat, int, dfd, const char __user *, filename, in SYSCALL_DEFINE4() argument
186 return do_utimes(dfd, filename, utimes ? tstimes : NULL, flags); in SYSCALL_DEFINE4()
189 SYSCALL_DEFINE3(futimesat, int, dfd, const char __user *, filename, in SYSCALL_DEFINE3() argument
214 return do_utimes(dfd, filename, utimes ? tstimes : NULL, 0); in SYSCALL_DEFINE3()
Dstat.c90 int vfs_fstatat(int dfd, const char __user *filename, struct kstat *stat, in vfs_fstatat() argument
106 error = user_path_at(dfd, filename, lookup_flags, &path); in vfs_fstatat()
291 SYSCALL_DEFINE4(newfstatat, int, dfd, const char __user *, filename, in SYSCALL_DEFINE4() argument
297 error = vfs_fstatat(dfd, filename, &stat, flag); in SYSCALL_DEFINE4()
315 SYSCALL_DEFINE4(readlinkat, int, dfd, const char __user *, pathname, in SYSCALL_DEFINE4() argument
327 error = user_path_at_empty(dfd, pathname, lookup_flags, &path, &empty); in SYSCALL_DEFINE4()
433 SYSCALL_DEFINE4(fstatat64, int, dfd, const char __user *, filename, in SYSCALL_DEFINE4() argument
439 error = vfs_fstatat(dfd, filename, &stat, flag); in SYSCALL_DEFINE4()
Dnamei.c532 int dfd; member
535 static void set_nameidata(struct nameidata *p, int dfd, struct filename *name) in set_nameidata() argument
539 p->dfd = dfd; in set_nameidata()
2105 } else if (nd->dfd == AT_FDCWD) { in path_init()
2122 struct fd f = fdget_raw(nd->dfd); in path_init()
2218 static int filename_lookup(int dfd, struct filename *name, unsigned flags, in filename_lookup() argument
2229 set_nameidata(&nd, dfd, name); in filename_lookup()
2263 static struct filename *filename_parentat(int dfd, struct filename *name, in filename_parentat() argument
2272 set_nameidata(&nd, dfd, name); in filename_parentat()
2401 int user_path_at_empty(int dfd, const char __user *name, unsigned flags, in user_path_at_empty() argument
[all …]
Dopen.c346 SYSCALL_DEFINE3(faccessat, int, dfd, const char __user *, filename, int, mode) in SYSCALL_DEFINE3() argument
397 res = user_path_at(dfd, filename, lookup_flags, &path); in SYSCALL_DEFINE3()
576 SYSCALL_DEFINE3(fchmodat, int, dfd, const char __user *, filename, umode_t, mode) in SYSCALL_DEFINE3() argument
582 error = user_path_at(dfd, filename, lookup_flags, &path); in SYSCALL_DEFINE3()
641 SYSCALL_DEFINE5(fchownat, int, dfd, const char __user *, filename, uid_t, user, in SYSCALL_DEFINE5() argument
655 error = user_path_at(dfd, filename, lookup_flags, &path); in SYSCALL_DEFINE5()
1042 long do_sys_open(int dfd, const char __user *filename, int flags, umode_t mode) in do_sys_open() argument
1057 struct file *f = do_filp_open(dfd, tmp, &op); in do_sys_open()
1078 SYSCALL_DEFINE4(openat, int, dfd, const char __user *, filename, int, flags, in SYSCALL_DEFINE4() argument
1084 return do_sys_open(dfd, filename, flags, mode); in SYSCALL_DEFINE4()
Dfhandle.c92 SYSCALL_DEFINE5(name_to_handle_at, int, dfd, const char __user *, name, in SYSCALL_DEFINE5() argument
106 err = user_path_at(dfd, name, lookup_flags, &path); in SYSCALL_DEFINE5()
Dcompat.c90 COMPAT_SYSCALL_DEFINE4(utimensat, unsigned int, dfd, const char __user *, filename, struct compat_t… in COMPAT_SYSCALL_DEFINE4() argument
102 return do_utimes(dfd, filename, t ? tv : NULL, flags); in COMPAT_SYSCALL_DEFINE4()
105 COMPAT_SYSCALL_DEFINE3(futimesat, unsigned int, dfd, const char __user *, filename, struct compat_t… in COMPAT_SYSCALL_DEFINE3() argument
121 return do_utimes(dfd, filename, t ? tv : NULL, 0); in COMPAT_SYSCALL_DEFINE3()
187 COMPAT_SYSCALL_DEFINE4(newfstatat, unsigned int, dfd, in COMPAT_SYSCALL_DEFINE4() argument
194 error = vfs_fstatat(dfd, filename, &stat, flag); in COMPAT_SYSCALL_DEFINE4()
1099 COMPAT_SYSCALL_DEFINE4(openat, int, dfd, const char __user *, filename, int, flags, umode_t, mode) in COMPAT_SYSCALL_DEFINE4() argument
1101 return do_sys_open(dfd, filename, flags, mode); in COMPAT_SYSCALL_DEFINE4()
Dinternal.h104 extern struct file *do_filp_open(int dfd, struct filename *pathname,
/fs/notify/fanotify/
Dfanotify_user.c452 static int fanotify_find_path(int dfd, const char __user *filename, in fanotify_find_path() argument
458 dfd, filename, flags); in fanotify_find_path()
461 struct fd f = fdget(dfd); in fanotify_find_path()
485 ret = user_path_at(dfd, filename, lookup_flags, path); in fanotify_find_path()
817 __u64, mask, int, dfd, in SYSCALL_DEFINE5() argument
828 __func__, fanotify_fd, flags, dfd, pathname, mask); in SYSCALL_DEFINE5()
890 ret = fanotify_find_path(dfd, pathname, &path, flags); in SYSCALL_DEFINE5()
927 __u32, mask0, __u32, mask1, int, dfd, in COMPAT_SYSCALL_DEFINE6() argument
936 dfd, pathname); in COMPAT_SYSCALL_DEFINE6()