Lines Matching full:dfd

78 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()
125 * @dfd: open file descriptor, -1 or AT_FDCWD
130 * If filename is NULL and dfd refers to an open file, then operate on
131 * the file. Otherwise look up filename, possibly using dfd as a
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()
201 SYSCALL_DEFINE3(futimesat, int, dfd, const char __user *, filename, in SYSCALL_DEFINE3() argument
204 return do_futimesat(dfd, filename, utimes); in SYSCALL_DEFINE3()
250 SYSCALL_DEFINE4(utimensat_time32, unsigned int, dfd, const char __user *, filename, struct old_time… in SYSCALL_DEFINE4() argument
262 return do_utimes(dfd, filename, t ? tv : NULL, flags); in SYSCALL_DEFINE4()
266 static long do_compat_futimesat(unsigned int dfd, const char __user *filename, in do_compat_futimesat() argument
283 return do_utimes(dfd, filename, t ? tv : NULL, 0); in do_compat_futimesat()
286 SYSCALL_DEFINE3(futimesat_time32, unsigned int, dfd, in SYSCALL_DEFINE3() argument
290 return do_compat_futimesat(dfd, filename, t); in SYSCALL_DEFINE3()