Searched refs:tv_nsec (Results 1 – 10 of 10) sorted by relevance
16 long tv_nsec; /* nanoseconds */ member48 return (a->tv_sec == b->tv_sec) && (a->tv_nsec == b->tv_nsec); in timespec_equal()62 return lhs->tv_nsec - rhs->tv_nsec; in timespec_compare()94 lhs.tv_nsec + rhs.tv_nsec); in timespec_add()106 lhs.tv_nsec - rhs.tv_nsec); in timespec_sub()126 if ((unsigned long)ts->tv_nsec >= NSEC_PER_SEC) in timespec_valid()238 return ((s64) ts->tv_sec * NSEC_PER_SEC) + ts->tv_nsec; in timespec_to_ns()280 a->tv_sec += __iter_div_u64_rem(a->tv_nsec + ns, NSEC_PER_SEC, &ns); in timespec_add_ns()281 a->tv_nsec = ns; in timespec_add_ns()
108 return ktime_set(ts.tv_sec, ts.tv_nsec); in timespec_to_ktime()220 .nsec = (s32)ts.tv_nsec } }; in timespec_to_ktime()244 .tv_nsec = (long) kt.tv.nsec }; in ktime_to_timespec()
100 kt->nsec = ts.tv_nsec; in timespec_to_pps_ktime()
45 unsigned long tv_nsec; member
919 __s32 tv_nsec; member
118 long tv_nsec; /* nanoseconds */ member
338 return lhs->tv_nsec - rhs->tv_nsec; in compat_timespec_compare()
89 ts->tv_nsec = le32_to_cpu(tv->tv_nsec); in ceph_decode_timespec()95 tv->tv_nsec = cpu_to_le32(ts->tv_nsec); in ceph_encode_timespec()
42 __le32 tv_nsec; member
237 unsigned int tv_nsec; /* nanoseconds */ member