Lines Matching refs:tstimes
177 struct timespec tstimes[2];
180 if (copy_from_user(&tstimes, utimes, sizeof(tstimes)))
184 if (tstimes[0].tv_nsec == UTIME_OMIT &&
185 tstimes[1].tv_nsec == UTIME_OMIT)
189 return do_utimes(dfd, filename, utimes ? tstimes : NULL, flags);
196 struct timespec tstimes[2];
211 tstimes[0].tv_sec = times[0].tv_sec;
212 tstimes[0].tv_nsec = 1000 * times[0].tv_usec;
213 tstimes[1].tv_sec = times[1].tv_sec;
214 tstimes[1].tv_nsec = 1000 * times[1].tv_usec;
217 return do_utimes(dfd, filename, utimes ? tstimes : NULL, 0);