Home
last modified time | relevance | path

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

/include/linux/
Dtime.h15 __kernel_time_t tv_sec; /* seconds */ member
21 __kernel_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()
93 set_normalized_timespec(&ts_delta, lhs.tv_sec + rhs.tv_sec, in timespec_add()
105 set_normalized_timespec(&ts_delta, lhs.tv_sec - rhs.tv_sec, in timespec_sub()
123 if (ts->tv_sec < 0) in timespec_valid()
[all …]
Dktime.h108 return ktime_set(ts.tv_sec, ts.tv_nsec); in timespec_to_ktime()
114 return ktime_set(tv.tv_sec, tv.tv_usec * NSEC_PER_USEC); in timeval_to_ktime()
219 return (ktime_t) { .tv = { .sec = (s32)ts.tv_sec, in timespec_to_ktime()
231 return (ktime_t) { .tv = { .sec = (s32)tv.tv_sec, in timeval_to_ktime()
243 return (struct timespec) { .tv_sec = (time_t) kt.tv.sec, in ktime_to_timespec()
256 .tv_sec = (time_t) kt.tv.sec, in ktime_to_timeval()
288 return (s64) tv.tv_sec * USEC_PER_SEC + tv.tv_usec; in ktime_to_us()
294 return (s64) tv.tv_sec * MSEC_PER_SEC + tv.tv_usec / USEC_PER_MSEC; in ktime_to_ms()
Dpps_kernel.h99 kt->sec = ts.tv_sec; in timespec_to_pps_ktime()
Dcompat.h324 if (lhs->tv_sec < rhs->tv_sec) in compat_timeval_compare()
326 if (lhs->tv_sec > rhs->tv_sec) in compat_timeval_compare()
334 if (lhs->tv_sec < rhs->tv_sec) in compat_timespec_compare()
336 if (lhs->tv_sec > rhs->tv_sec) in compat_timespec_compare()
Dthread_info.h44 unsigned long tv_sec; member
Dfirewire-cdev.h918 __s64 tv_sec; member
Dcoda.h117 time_t tv_sec; /* seconds */ member
/include/linux/ceph/
Ddecode.h88 ts->tv_sec = le32_to_cpu(tv->tv_sec); in ceph_decode_timespec()
94 tv->tv_sec = cpu_to_le32(ts->tv_sec); in ceph_encode_timespec()
Drados.h41 __le32 tv_sec; member
/include/linux/sunrpc/
Dcache.h256 return get_seconds() - boot.tv_sec; in seconds_since_boot()
263 return boot.tv_sec + sinceboot; in convert_to_wallclock()
276 return rv - boot.tv_sec; in get_expiry()
/include/net/sctp/
Dsctp.h567 (s.tv_sec < t.tv_sec || (s.tv_sec == t.tv_sec && s.tv_usec < t.tv_usec))
573 time_t secs = (tv2).tv_sec + (tv1).tv_sec; \
579 (tv2).tv_sec = secs; \
/include/trace/events/
Dtimer.h286 __entry->value_sec = value->it_value.tv_sec;
288 __entry->interval_sec = value->it_interval.tv_sec;
/include/linux/raid/
Dpq.h148 return tv.tv_sec*1000 + tv.tv_usec/1000; in raid6_jiffies()
/include/drm/
Dvmwgfx_drm.h679 uint32_t tv_sec; member
Ddrm.h768 __u32 tv_sec; member
/include/sound/
Dasequencer.h236 unsigned int tv_sec; /* seconds */ member