Lines Matching defs:dfd
78 static int do_utimes_path(int dfd, const char __user *filename,
93 error = user_path_at(dfd, filename, lookup_flags, &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,
141 if (filename == NULL && dfd != AT_FDCWD)
142 return do_utimes_fd(dfd, times, flags);
143 return do_utimes_path(dfd, filename, times, flags);
146 SYSCALL_DEFINE4(utimensat, int, dfd, const char __user *, filename,
162 return do_utimes(dfd, filename, utimes ? tstimes : NULL, flags);
172 static long do_futimesat(int dfd, const char __user *filename,
197 return do_utimes(dfd, filename, utimes ? tstimes : NULL, 0);
201 SYSCALL_DEFINE3(futimesat, int, dfd, const char __user *, filename,
204 return do_futimesat(dfd, filename, utimes);
250 SYSCALL_DEFINE4(utimensat_time32, unsigned int, dfd, const char __user *, filename, struct old_timespec32 __user *, t, int, flags)
262 return do_utimes(dfd, filename, t ? tv : NULL, flags);
266 static long do_compat_futimesat(unsigned int dfd, const char __user *filename,
283 return do_utimes(dfd, filename, t ? tv : NULL, 0);
286 SYSCALL_DEFINE3(futimesat_time32, unsigned int, dfd,
290 return do_compat_futimesat(dfd, filename, t);