Home
last modified time | relevance | path

Searched refs:tv_sec (Results 1 – 8 of 8) sorted by relevance

/include/linux/
Dtime.h15 time_t tv_sec; /* seconds */ member
21 time_t tv_sec; /* seconds */ member
48 return (a->tv_sec == b->tv_sec) && (a->tv_nsec == b->tv_nsec); in timespec_equal()
58 if (lhs->tv_sec < rhs->tv_sec) in timespec_compare()
60 if (lhs->tv_sec > rhs->tv_sec) in timespec_compare()
67 if (lhs->tv_sec < rhs->tv_sec) in timeval_compare()
69 if (lhs->tv_sec > rhs->tv_sec) in timeval_compare()
89 set_normalized_timespec(&ts_delta, lhs.tv_sec - rhs.tv_sec, in timespec_sub()
98 (((ts)->tv_sec >= 0) && (((unsigned long) (ts)->tv_nsec) < NSEC_PER_SEC))
148 return ((s64) ts->tv_sec * NSEC_PER_SEC) + ts->tv_nsec; in timespec_to_ns()
[all …]
Dktime.h115 return ktime_set(ts.tv_sec, ts.tv_nsec); in timespec_to_ktime()
121 return ktime_set(tv.tv_sec, tv.tv_usec * NSEC_PER_USEC); in timeval_to_ktime()
226 return (ktime_t) { .tv = { .sec = (s32)ts.tv_sec, in timespec_to_ktime()
238 return (ktime_t) { .tv = { .sec = (s32)tv.tv_sec, in timeval_to_ktime()
250 return (struct timespec) { .tv_sec = (time_t) kt.tv.sec, in ktime_to_timespec()
263 .tv_sec = (time_t) kt.tv.sec, in ktime_to_timeval()
295 return (s64) tv.tv_sec * USEC_PER_SEC + tv.tv_usec; in ktime_to_us()
Dcompat.h215 if (lhs->tv_sec < rhs->tv_sec) in compat_timeval_compare()
217 if (lhs->tv_sec > rhs->tv_sec) in compat_timeval_compare()
225 if (lhs->tv_sec < rhs->tv_sec) in compat_timespec_compare()
227 if (lhs->tv_sec > rhs->tv_sec) in compat_timespec_compare()
Dthread_info.h46 unsigned long tv_sec; member
Dcoda.h117 time_t tv_sec; /* seconds */ member
/include/net/sctp/
Dsctp.h557 (s.tv_sec < t.tv_sec || (s.tv_sec == t.tv_sec && s.tv_usec < t.tv_usec))
563 time_t secs = (tv2).tv_sec + (tv1).tv_sec; \
569 (tv2).tv_sec = secs; \
/include/linux/nfsd/
Dxdr4.h429 cinfo->before_ctime_sec = fhp->fh_pre_ctime.tv_sec; in set_change_info()
431 cinfo->after_ctime_sec = fhp->fh_post_attr.ctime.tv_sec; in set_change_info()
/include/sound/
Dasequencer.h236 unsigned int tv_sec; /* seconds */ member