Home
last modified time | relevance | path

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

/fs/
Dutimes.c88 long do_utimes(int dfd, const char __user *filename, struct timespec64 *times, in do_utimes() argument
101 if (filename == NULL && dfd != AT_FDCWD) { in do_utimes()
107 f = fdget(dfd); in do_utimes()
121 error = user_path_at(dfd, filename, lookup_flags, &path); in do_utimes()
137 SYSCALL_DEFINE4(utimensat, int, dfd, const char __user *, filename, in SYSCALL_DEFINE4() argument
153 return do_utimes(dfd, filename, utimes ? tstimes : NULL, flags); in SYSCALL_DEFINE4()
163 static long do_futimesat(int dfd, const char __user *filename, in do_futimesat() argument
188 return do_utimes(dfd, filename, utimes ? tstimes : NULL, 0); in do_futimesat()
192 SYSCALL_DEFINE3(futimesat, int, dfd, const char __user *, filename, in SYSCALL_DEFINE3() argument
195 return do_futimesat(dfd, filename, utimes); in SYSCALL_DEFINE3()
[all …]
Dinternal.h62 extern int filename_lookup(int dfd, struct filename *name, unsigned flags,
65 long do_mknodat(int dfd, const char __user *filename, umode_t mode,
67 long do_mkdirat(int dfd, const char __user *pathname, umode_t mode);
68 long do_rmdir(int dfd, const char __user *pathname);
69 long do_unlinkat(int dfd, struct filename *name);
121 extern struct file *do_filp_open(int dfd, struct filename *pathname,
127 long do_faccessat(int dfd, const char __user *filename, int mode);
128 int do_fchmodat(int dfd, const char __user *filename, umode_t mode);
129 int do_fchownat(int dfd, const char __user *filename, uid_t user, gid_t group,
Dstat.c168 int vfs_statx(int dfd, const char __user *filename, int flags, in vfs_statx() argument
187 error = user_path_at(dfd, filename, lookup_flags, &path); in vfs_statx()
362 SYSCALL_DEFINE4(newfstatat, int, dfd, const char __user *, filename, in SYSCALL_DEFINE4() argument
368 error = vfs_fstatat(dfd, filename, &stat, flag); in SYSCALL_DEFINE4()
387 static int do_readlinkat(int dfd, const char __user *pathname, in do_readlinkat() argument
399 error = user_path_at_empty(dfd, pathname, lookup_flags, &path, &empty); in do_readlinkat()
423 SYSCALL_DEFINE4(readlinkat, int, dfd, const char __user *, pathname, in SYSCALL_DEFINE4() argument
426 return do_readlinkat(dfd, pathname, buf, bufsiz); in SYSCALL_DEFINE4()
513 SYSCALL_DEFINE4(fstatat64, int, dfd, const char __user *, filename, in SYSCALL_DEFINE4() argument
519 error = vfs_fstatat(dfd, filename, &stat, flag); in SYSCALL_DEFINE4()
[all …]
Dopen.c357 long do_faccessat(int dfd, const char __user *filename, int mode) in do_faccessat() argument
408 res = user_path_at(dfd, filename, lookup_flags, &path); in do_faccessat()
454 SYSCALL_DEFINE3(faccessat, int, dfd, const char __user *, filename, int, mode) in SYSCALL_DEFINE3() argument
456 return do_faccessat(dfd, filename, mode); in SYSCALL_DEFINE3()
603 int do_fchmodat(int dfd, const char __user *filename, umode_t mode) in do_fchmodat() argument
609 error = user_path_at(dfd, filename, lookup_flags, &path); in do_fchmodat()
621 SYSCALL_DEFINE3(fchmodat, int, dfd, const char __user *, filename, in SYSCALL_DEFINE3() argument
624 return do_fchmodat(dfd, filename, mode); in SYSCALL_DEFINE3()
674 int do_fchownat(int dfd, const char __user *filename, uid_t user, gid_t group, in do_fchownat() argument
688 error = user_path_at(dfd, filename, lookup_flags, &path); in do_fchownat()
[all …]
Dnamei.c521 int dfd; member
524 static void set_nameidata(struct nameidata *p, int dfd, struct filename *name) in set_nameidata() argument
528 p->dfd = dfd; in set_nameidata()
2296 } else if (nd->dfd == AT_FDCWD) { in path_init()
2314 struct fd f = fdget_raw(nd->dfd); in path_init()
2421 int filename_lookup(int dfd, struct filename *name, unsigned flags, in filename_lookup() argument
2432 set_nameidata(&nd, dfd, name); in filename_lookup()
2463 static struct filename *filename_parentat(int dfd, struct filename *name, in filename_parentat() argument
2472 set_nameidata(&nd, dfd, name); in filename_parentat()
2696 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.c2381 SYSCALL_DEFINE3(open_tree, int, dfd, const char *, filename, unsigned, flags) in SYSCALL_DEFINE3() argument
2414 error = user_path_at(dfd, filename, lookup_flags, &path); in SYSCALL_DEFINE3()
/fs/notify/fanotify/
Dfanotify_user.c530 static int fanotify_find_path(int dfd, const char __user *filename, in fanotify_find_path() argument
537 dfd, filename, flags); in fanotify_find_path()
540 struct fd f = fdget(dfd); in fanotify_find_path()
564 ret = user_path_at(dfd, filename, lookup_flags, path); in fanotify_find_path()
948 int dfd, const char __user *pathname) in do_fanotify_mark() argument
962 __func__, fanotify_fd, flags, dfd, pathname, mask); in do_fanotify_mark()
1047 ret = fanotify_find_path(dfd, pathname, &path, flags, in do_fanotify_mark()
1108 __u64, mask, int, dfd, in SYSCALL_DEFINE5() argument
1111 return do_fanotify_mark(fanotify_fd, flags, mask, dfd, pathname); in SYSCALL_DEFINE5()
1117 __u32, mask0, __u32, mask1, int, dfd, in COMPAT_SYSCALL_DEFINE6() argument
[all …]