Home
last modified time | relevance | path

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

/fs/
Dutimes.c78 static int do_utimes_path(int dfd, const char __user *filename, in do_utimes_path() argument
93 error = user_path_at(dfd, filename, lookup_flags, &path); in do_utimes_path()
138 long do_utimes(int dfd, const char __user *filename, struct timespec64 *times, in do_utimes() argument
141 if (filename == NULL && dfd != AT_FDCWD) in do_utimes()
142 return do_utimes_fd(dfd, times, flags); in do_utimes()
143 return do_utimes_path(dfd, filename, times, flags); in do_utimes()
146 SYSCALL_DEFINE4(utimensat, int, dfd, const char __user *, filename, in SYSCALL_DEFINE4() argument
162 return do_utimes(dfd, filename, utimes ? tstimes : NULL, flags); in SYSCALL_DEFINE4()
172 static long do_futimesat(int dfd, const char __user *filename, in do_futimesat() argument
197 return do_utimes(dfd, filename, utimes ? tstimes : NULL, 0); in do_futimesat()
[all …]
Dstat.c174 static int vfs_statx(int dfd, const char __user *filename, int flags, in vfs_statx() argument
193 error = user_path_at(dfd, filename, lookup_flags, &path); in vfs_statx()
212 int vfs_fstatat(int dfd, const char __user *filename, in vfs_fstatat() argument
215 return vfs_statx(dfd, filename, flags | AT_NO_AUTOMOUNT, in vfs_fstatat()
377 SYSCALL_DEFINE4(newfstatat, int, dfd, const char __user *, filename, in SYSCALL_DEFINE4() argument
383 error = vfs_fstatat(dfd, filename, &stat, flag); in SYSCALL_DEFINE4()
402 static int do_readlinkat(int dfd, const char __user *pathname, in do_readlinkat() argument
414 error = user_path_at_empty(dfd, pathname, lookup_flags, &path, &empty); in do_readlinkat()
438 SYSCALL_DEFINE4(readlinkat, int, dfd, const char __user *, pathname, in SYSCALL_DEFINE4() argument
441 return do_readlinkat(dfd, pathname, buf, bufsiz); in SYSCALL_DEFINE4()
[all …]
Dopen.c398 static long do_faccessat(int dfd, const char __user *filename, int mode, int flags) in do_faccessat() argument
424 res = user_path_at(dfd, filename, lookup_flags, &path); in do_faccessat()
470 SYSCALL_DEFINE3(faccessat, int, dfd, const char __user *, filename, int, mode) in SYSCALL_DEFINE3() argument
472 return do_faccessat(dfd, filename, mode, 0); in SYSCALL_DEFINE3()
475 SYSCALL_DEFINE4(faccessat2, int, dfd, const char __user *, filename, int, mode, in SYSCALL_DEFINE4() argument
478 return do_faccessat(dfd, filename, mode, flags); in SYSCALL_DEFINE4()
614 static int do_fchmodat(int dfd, const char __user *filename, umode_t mode) in do_fchmodat() argument
620 error = user_path_at(dfd, filename, lookup_flags, &path); in do_fchmodat()
632 SYSCALL_DEFINE3(fchmodat, int, dfd, const char __user *, filename, in SYSCALL_DEFINE3() argument
635 return do_fchmodat(dfd, filename, mode); in SYSCALL_DEFINE3()
[all …]
Dinternal.h73 extern int filename_lookup(int dfd, struct filename *name, unsigned flags,
77 long do_rmdir(int dfd, struct filename *name);
78 long do_unlinkat(int dfd, struct filename *name);
131 extern struct file *do_filp_open(int dfd, struct filename *pathname,
141 int do_fchownat(int dfd, const char __user *filename, uid_t user, gid_t group,
200 int do_statx(int dfd, const char __user *filename, unsigned flags,
Dnamei.c524 int dfd; member
529 static void set_nameidata(struct nameidata *p, int dfd, struct filename *name) in set_nameidata() argument
533 p->dfd = dfd; in set_nameidata()
2344 if (nd->dfd == AT_FDCWD) { in path_init()
2361 struct fd f = fdget_raw(nd->dfd); in path_init()
2448 int filename_lookup(int dfd, struct filename *name, unsigned flags, in filename_lookup() argument
2459 set_nameidata(&nd, dfd, name); in filename_lookup()
2491 static struct filename *filename_parentat(int dfd, struct filename *name, in filename_parentat() argument
2500 set_nameidata(&nd, dfd, name); in filename_parentat()
2737 int user_path_at_empty(int dfd, const char __user *name, unsigned flags, in user_path_at_empty() argument
[all …]
Dfhandle.c93 SYSCALL_DEFINE5(name_to_handle_at, int, dfd, const char __user *, name, in SYSCALL_DEFINE5() argument
107 err = user_path_at(dfd, name, lookup_flags, &path); in SYSCALL_DEFINE5()
Dfsopen.c158 SYSCALL_DEFINE3(fspick, int, dfd, const char __user *, path, unsigned int, flags) in SYSCALL_DEFINE3() argument
181 ret = user_path_at(dfd, path, lookup_flags, &target); in SYSCALL_DEFINE3()
Dnamespace.c2441 SYSCALL_DEFINE3(open_tree, int, dfd, const char __user *, filename, unsigned, flags) in SYSCALL_DEFINE3() argument
2474 error = user_path_at(dfd, filename, lookup_flags, &path); in SYSCALL_DEFINE3()
/fs/notify/fanotify/
Dfanotify_user.c665 static int fanotify_find_path(int dfd, const char __user *filename, in fanotify_find_path() argument
672 dfd, filename, flags); in fanotify_find_path()
675 struct fd f = fdget(dfd); in fanotify_find_path()
699 ret = user_path_at(dfd, filename, lookup_flags, path); in fanotify_find_path()
1128 int dfd, const char __user *pathname) in do_fanotify_mark() argument
1144 __func__, fanotify_fd, flags, dfd, pathname, mask); in do_fanotify_mark()
1233 ret = fanotify_find_path(dfd, pathname, &path, flags, in do_fanotify_mark()
1308 __u64, mask, int, dfd, in SYSCALL_DEFINE5() argument
1311 return do_fanotify_mark(fanotify_fd, flags, mask, dfd, pathname); in SYSCALL_DEFINE5()
1318 SC_ARG64(mask), int, dfd, in SYSCALL32_DEFINE6() argument
[all …]