Searched refs:tstimes (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/fs/
H A Dutimes.c188 struct timespec tstimes[2]; SYSCALL_DEFINE4() local
191 if (copy_from_user(&tstimes, utimes, sizeof(tstimes))) SYSCALL_DEFINE4()
195 if (tstimes[0].tv_nsec == UTIME_OMIT && SYSCALL_DEFINE4()
196 tstimes[1].tv_nsec == UTIME_OMIT) SYSCALL_DEFINE4()
200 return do_utimes(dfd, filename, utimes ? tstimes : NULL, flags); SYSCALL_DEFINE4()
207 struct timespec tstimes[2]; SYSCALL_DEFINE3() local
222 tstimes[0].tv_sec = times[0].tv_sec; SYSCALL_DEFINE3()
223 tstimes[0].tv_nsec = 1000 * times[0].tv_usec; SYSCALL_DEFINE3()
224 tstimes[1].tv_sec = times[1].tv_sec; SYSCALL_DEFINE3()
225 tstimes[1].tv_nsec = 1000 * times[1].tv_usec; SYSCALL_DEFINE3()
228 return do_utimes(dfd, filename, utimes ? tstimes : NULL, 0); SYSCALL_DEFINE3()

Completed in 276 milliseconds