/fs/ |
D | utimes.c | 129 long do_utimes(int dfd, char __user *filename, struct timespec *times, int flags) in do_utimes() argument 141 if (filename == NULL && dfd != AT_FDCWD) { in do_utimes() 147 file = fget(dfd); in do_utimes() 161 error = user_path_at(dfd, filename, lookup_flags, &path); in do_utimes() 173 SYSCALL_DEFINE4(utimensat, int, dfd, char __user *, filename, in SYSCALL_DEFINE4() argument 188 return do_utimes(dfd, filename, utimes ? tstimes : NULL, flags); in SYSCALL_DEFINE4() 191 SYSCALL_DEFINE3(futimesat, int, dfd, char __user *, filename, in SYSCALL_DEFINE3() argument 216 return do_utimes(dfd, filename, utimes ? tstimes : NULL, 0); in SYSCALL_DEFINE3()
|
D | stat.c | 58 int vfs_stat_fd(int dfd, char __user *name, struct kstat *stat) in vfs_stat_fd() argument 63 error = user_path_at(dfd, name, LOOKUP_FOLLOW, &path); in vfs_stat_fd() 78 int vfs_lstat_fd(int dfd, char __user *name, struct kstat *stat) in vfs_lstat_fd() argument 83 error = user_path_at(dfd, name, 0, &path); in vfs_lstat_fd() 263 SYSCALL_DEFINE4(newfstatat, int, dfd, char __user *, filename, in SYSCALL_DEFINE4() argument 273 error = vfs_lstat_fd(dfd, filename, &stat); in SYSCALL_DEFINE4() 275 error = vfs_stat_fd(dfd, filename, &stat); in SYSCALL_DEFINE4() 296 SYSCALL_DEFINE4(readlinkat, int, dfd, const char __user *, pathname, in SYSCALL_DEFINE4() argument 305 error = user_path_at(dfd, pathname, 0, &path); in SYSCALL_DEFINE4() 403 SYSCALL_DEFINE4(fstatat64, int, dfd, char __user *, filename, in SYSCALL_DEFINE4() argument [all …]
|
D | open.c | 450 SYSCALL_DEFINE3(faccessat, int, dfd, const char __user *, filename, int, mode) in SYSCALL_DEFINE3() argument 479 res = user_path_at(dfd, filename, LOOKUP_FOLLOW, &path); in SYSCALL_DEFINE3() 631 SYSCALL_DEFINE3(fchmodat, int, dfd, const char __user *, filename, mode_t, mode) in SYSCALL_DEFINE3() argument 638 error = user_path_at(dfd, filename, LOOKUP_FOLLOW, &path); in SYSCALL_DEFINE3() 709 SYSCALL_DEFINE5(fchownat, int, dfd, const char __user *, filename, uid_t, user, in SYSCALL_DEFINE5() argument 720 error = user_path_at(dfd, filename, follow, &path); in SYSCALL_DEFINE5() 1027 long do_sys_open(int dfd, const char __user *filename, int flags, int mode) in do_sys_open() argument 1035 struct file *f = do_filp_open(dfd, tmp, flags, mode); in do_sys_open() 1062 SYSCALL_DEFINE4(openat, int, dfd, const char __user *, filename, int, flags, in SYSCALL_DEFINE4() argument 1070 ret = do_sys_open(dfd, filename, flags, mode); in SYSCALL_DEFINE4() [all …]
|
D | namei.c | 1016 static int do_path_lookup(int dfd, const char *name, in do_path_lookup() argument 1033 } else if (dfd == AT_FDCWD) { in do_path_lookup() 1041 file = fget_light(dfd, &fput_needed); in do_path_lookup() 1129 int path_lookup_open(int dfd, const char *name, unsigned int lookup_flags, in path_lookup_open() argument 1140 err = do_path_lookup(dfd, name, lookup_flags|LOOKUP_OPEN, nd); in path_lookup_open() 1279 int user_path_at(int dfd, const char __user *name, unsigned flags, in user_path_at() argument 1289 err = do_path_lookup(dfd, tmp, flags, &nd); in user_path_at() 1297 static int user_path_parent(int dfd, const char __user *path, in user_path_parent() argument 1306 error = do_path_lookup(dfd, s, LOOKUP_PARENT, nd); in user_path_parent() 1630 struct file *do_filp_open(int dfd, const char *pathname, in do_filp_open() argument [all …]
|
D | compat.c | 94 asmlinkage long compat_sys_utimensat(unsigned int dfd, char __user *filename, struct compat_timespe… in compat_sys_utimensat() argument 113 return do_utimes(dfd, filename, t ? tv : NULL, flags); in compat_sys_utimensat() 116 asmlinkage long compat_sys_futimesat(unsigned int dfd, char __user *filename, struct compat_timeval… in compat_sys_futimesat() argument 132 return do_utimes(dfd, filename, t ? tv : NULL, 0); in compat_sys_futimesat() 202 asmlinkage long compat_sys_newfstatat(unsigned int dfd, char __user *filename, in compat_sys_newfstatat() argument 212 error = vfs_lstat_fd(dfd, filename, &stat); in compat_sys_newfstatat() 214 error = vfs_stat_fd(dfd, filename, &stat); in compat_sys_newfstatat() 1258 compat_sys_openat(unsigned int dfd, const char __user *filename, int flags, int mode) in compat_sys_openat() argument 1260 return do_sys_open(dfd, filename, flags, mode); in compat_sys_openat()
|