Lines Matching defs:timespec64

13 struct timespec64 {
19 struct timespec64 it_interval;
20 struct timespec64 it_value;
46 static inline int timespec64_equal(const struct timespec64 *a,
47 const struct timespec64 *b)
57 static inline int timespec64_compare(const struct timespec64 *lhs, const struct timespec64 *rhs)
66 extern void set_normalized_timespec64(struct timespec64 *ts, time64_t sec, s64 nsec);
68 static inline struct timespec64 timespec64_add(struct timespec64 lhs,
69 struct timespec64 rhs)
71 struct timespec64 ts_delta;
80 static inline struct timespec64 timespec64_sub(struct timespec64 lhs,
81 struct timespec64 rhs)
83 struct timespec64 ts_delta;
90 * Returns true if the timespec64 is norm, false if denorm:
92 static inline bool timespec64_valid(const struct timespec64 *ts)
103 static inline bool timespec64_valid_strict(const struct timespec64 *ts)
113 static inline bool timespec64_valid_settod(const struct timespec64 *ts)
124 * timespec64_to_ns - Convert timespec64 to nanoseconds
125 * @ts: pointer to the timespec64 variable to be converted
127 * Returns the scalar nanosecond representation of the timespec64
130 static inline s64 timespec64_to_ns(const struct timespec64 *ts)
143 * ns_to_timespec64 - Convert nanoseconds to timespec64
146 * Returns the timespec64 representation of the nsec parameter.
148 extern struct timespec64 ns_to_timespec64(s64 nsec);
151 * timespec64_add_ns - Adds nanoseconds to a timespec64
152 * @a: pointer to timespec64 to be incremented
158 static __always_inline void timespec64_add_ns(struct timespec64 *a, u64 ns)
168 extern struct timespec64 timespec64_add_safe(const struct timespec64 lhs,
169 const struct timespec64 rhs);