Home
last modified time | relevance | path

Searched refs:tsp (Results 1 – 6 of 6) sorted by relevance

/sysdeps/mach/hurd/
A Dutime-helper.c91 if (tsp == NULL) in utime_ts_from_tspec()
102 *atime = tsp[0]; in utime_ts_from_tspec()
103 *mtime = tsp[1]; in utime_ts_from_tspec()
112 if (tsp == NULL) in utime_tvalue_from_tspec()
118 if (tsp[0].tv_nsec == UTIME_NOW) in utime_tvalue_from_tspec()
120 else if (tsp[0].tv_nsec == UTIME_OMIT) in utime_tvalue_from_tspec()
123 TIMESPEC_TO_TIME_VALUE (atime, &(tsp[0])); in utime_tvalue_from_tspec()
124 if (tsp[1].tv_nsec == UTIME_NOW) in utime_tvalue_from_tspec()
126 else if (tsp[1].tv_nsec == UTIME_OMIT) in utime_tvalue_from_tspec()
129 TIMESPEC_TO_TIME_VALUE (mtime, &(tsp[1])); in utime_tvalue_from_tspec()
[all …]
A Dfutimens.c30 __futimens (int fd, const struct timespec tsp[2]) in __futimens()
35 utime_ts_from_tspec (tsp, &atime, &mtime); in __futimens()
43 utime_tvalue_from_tspec (tsp, &atim, &mtim); in __futimens()
A Dutimensat.c30 utimensat (int fd, const char *file, const struct timespec tsp[2], in utimensat()
40 err = hurd_futimens (port, tsp); in utimensat()
/sysdeps/unix/sysv/linux/
A Dfutimens.c44 __futimens (int fd, const struct timespec tsp[2]) in __futimens()
47 if (tsp) in __futimens()
49 tsp64[0] = valid_timespec_to_timespec64 (tsp[0]); in __futimens()
50 tsp64[1] = valid_timespec_to_timespec64 (tsp[1]); in __futimens()
53 return __futimens64 (fd, tsp ? &tsp64[0] : NULL); in __futimens()
A Dutimensat.c88 __utimensat (int fd, const char *file, const struct timespec tsp[2], in libc_hidden_def()
92 if (tsp) in libc_hidden_def()
94 tsp64[0] = valid_timespec_to_timespec64 (tsp[0]); in libc_hidden_def()
95 tsp64[1] = valid_timespec_to_timespec64 (tsp[1]); in libc_hidden_def()
98 return __utimensat64 (fd, file, tsp ? &tsp64[0] : NULL, flags); in libc_hidden_def()
/sysdeps/mach/hurd/htl/
A Dpt-mutex-timedlock.c29 const struct timespec *tsp) in __pthread_mutex_clocklock() argument
37 ret = lll_abstimed_lock (mtxp->__lock, tsp, flags, clockid); in __pthread_mutex_clocklock()
50 else if ((ret = lll_abstimed_lock (mtxp->__lock, tsp, flags, clockid)) == 0) in __pthread_mutex_clocklock()
62 else if ((ret = lll_abstimed_lock (mtxp->__lock, tsp, flags, clockid)) == 0) in __pthread_mutex_clocklock()
71 ROBUST_LOCK (self, mtxp, lll_robust_abstimed_lock, tsp, flags, clockid); in __pthread_mutex_clocklock()
85 const struct timespec *tsp) in weak_alias()
87 return __pthread_mutex_clocklock (mutex, CLOCK_REALTIME, tsp); in weak_alias()

Completed in 6 milliseconds