/fs/ |
D | utimes.c | 79 static int do_utimes_path(int dfd, const char __user *filename, in do_utimes_path() argument 94 error = user_path_at(dfd, filename, lookup_flags, &path); in do_utimes_path() 139 long do_utimes(int dfd, const char __user *filename, struct timespec64 *times, in do_utimes() argument 142 if (filename == NULL && dfd != AT_FDCWD) in do_utimes() 143 return do_utimes_fd(dfd, times, flags); in do_utimes() 144 return do_utimes_path(dfd, filename, times, flags); in do_utimes() 147 SYSCALL_DEFINE4(utimensat, int, dfd, const char __user *, filename, in SYSCALL_DEFINE4() argument 163 return do_utimes(dfd, filename, utimes ? tstimes : NULL, flags); in SYSCALL_DEFINE4() 173 static long do_futimesat(int dfd, const char __user *filename, in do_futimesat() argument 198 return do_utimes(dfd, filename, utimes ? tstimes : NULL, 0); in do_futimesat() [all …]
|
D | internal.h | 59 extern int filename_lookup(int dfd, struct filename *name, unsigned flags, 61 int do_rmdir(int dfd, struct filename *name); 62 int do_unlinkat(int dfd, struct filename *name); 66 int do_mkdirat(int dfd, struct filename *name, umode_t mode); 130 extern struct file *do_filp_open(int dfd, struct filename *pathname, 140 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,
|
D | stat.c | 202 static int vfs_statx(int dfd, const char __user *filename, int flags, in vfs_statx() argument 221 error = user_path_at(dfd, filename, lookup_flags, &path); in vfs_statx() 240 int vfs_fstatat(int dfd, const char __user *filename, in vfs_fstatat() argument 243 return vfs_statx(dfd, filename, flags | AT_NO_AUTOMOUNT, in vfs_fstatat() 405 SYSCALL_DEFINE4(newfstatat, int, dfd, const char __user *, filename, in SYSCALL_DEFINE4() argument 411 error = vfs_fstatat(dfd, filename, &stat, flag); in SYSCALL_DEFINE4() 430 static int do_readlinkat(int dfd, const char __user *pathname, in do_readlinkat() argument 442 error = user_path_at_empty(dfd, pathname, lookup_flags, &path, &empty); in do_readlinkat() 466 SYSCALL_DEFINE4(readlinkat, int, dfd, const char __user *, pathname, in SYSCALL_DEFINE4() argument 469 return do_readlinkat(dfd, pathname, buf, bufsiz); in SYSCALL_DEFINE4() [all …]
|
D | open.c | 397 static long do_faccessat(int dfd, const char __user *filename, int mode, int flags) in do_faccessat() argument 423 res = user_path_at(dfd, filename, lookup_flags, &path); in do_faccessat() 469 SYSCALL_DEFINE3(faccessat, int, dfd, const char __user *, filename, int, mode) in SYSCALL_DEFINE3() argument 471 return do_faccessat(dfd, filename, mode, 0); in SYSCALL_DEFINE3() 474 SYSCALL_DEFINE4(faccessat2, int, dfd, const char __user *, filename, int, mode, in SYSCALL_DEFINE4() argument 477 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 …]
|
D | namei.c | 584 int dfd; member 593 static void __set_nameidata(struct nameidata *p, int dfd, struct filename *name) in __set_nameidata() argument 598 p->dfd = dfd; in __set_nameidata() 607 static inline void set_nameidata(struct nameidata *p, int dfd, struct filename *name, in set_nameidata() argument 610 __set_nameidata(p, dfd, name); in set_nameidata() 2372 if (nd->dfd == AT_FDCWD) { in path_init() 2389 struct fd f = fdget_raw(nd->dfd); in path_init() 2476 int filename_lookup(int dfd, struct filename *name, unsigned flags, in filename_lookup() argument 2483 set_nameidata(&nd, dfd, name, root); in filename_lookup() 2515 static int __filename_parentat(int dfd, struct filename *name, in __filename_parentat() argument [all …]
|
D | fhandle.c | 93 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()
|
D | fsopen.c | 158 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()
|
D | namespace.c | 2460 SYSCALL_DEFINE3(open_tree, int, dfd, const char __user *, filename, unsigned, flags) in SYSCALL_DEFINE3() argument 2493 error = user_path_at(dfd, filename, lookup_flags, &path); in SYSCALL_DEFINE3() 4280 SYSCALL_DEFINE5(mount_setattr, int, dfd, const char __user *, path, in SYSCALL_DEFINE5() argument 4319 err = user_path_at(dfd, path, kattr.lookup_flags, &target); in SYSCALL_DEFINE5()
|
/fs/notify/fanotify/ |
D | fanotify_user.c | 858 static int fanotify_find_path(int dfd, const char __user *filename, in fanotify_find_path() argument 865 dfd, filename, flags); in fanotify_find_path() 868 struct fd f = fdget(dfd); in fanotify_find_path() 892 ret = user_path_at(dfd, filename, lookup_flags, path); in fanotify_find_path() 1375 int dfd, const char __user *pathname) in do_fanotify_mark() argument 1391 __func__, fanotify_fd, flags, dfd, pathname, mask); in do_fanotify_mark() 1491 ret = fanotify_find_path(dfd, pathname, &path, flags, in do_fanotify_mark() 1566 __u64, mask, int, dfd, in SYSCALL_DEFINE5() argument 1569 return do_fanotify_mark(fanotify_fd, flags, mask, dfd, pathname); in SYSCALL_DEFINE5() 1576 SC_ARG64(mask), int, dfd, in SYSCALL32_DEFINE6() argument [all …]
|