Lines Matching refs:times
10 int utimensat(int fd, const char *path, const struct timespec times[2], int flags)
13 if (times && times[0].tv_nsec==UTIME_NOW && times[1].tv_nsec==UTIME_NOW)
14 times = 0;
19 if (times) {
20 ns0 = times[0].tv_nsec;
21 ns1 = times[1].tv_nsec;
22 if (!NS_SPECIAL(ns0)) s0 = times[0].tv_sec;
23 if (!NS_SPECIAL(ns1)) s1 = times[1].tv_sec;
26 r = __syscall(SYS_utimensat_time64, fd, path, times ?
33 times ? ((long[]){s0, ns0, s1, ns1}) : 0, flags);
35 r = __syscall(SYS_utimensat, fd, path, times, flags);
41 if (times) {
45 if (times[i].tv_nsec >= 1000000000ULL) {
46 if (NS_SPECIAL(times[i].tv_nsec))
50 tmp[2*i+0] = times[i].tv_sec;
51 tmp[2*i+1] = times[i].tv_nsec / 1000;