Searched refs:tv_sec (Results 1 – 8 of 8) sorted by relevance
15 time_t tv_sec; /* seconds */ member21 time_t tv_sec; /* seconds */ member48 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 …]
115 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()
215 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()
46 unsigned long tv_sec; member
117 time_t tv_sec; /* seconds */ member
557 (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; \
429 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()
236 unsigned int tv_sec; /* seconds */ member