Lines Matching refs:timespec64
13 struct timespec64 { struct
19 struct timespec64 it_interval; argument
20 struct timespec64 it_value;
46 static inline int timespec64_equal(const struct timespec64 *a, in timespec64_equal()
47 const struct timespec64 *b) in timespec64_equal()
52 static inline bool timespec64_is_epoch(const struct timespec64 *ts) in timespec64_is_epoch()
62 static inline int timespec64_compare(const struct timespec64 *lhs, const struct timespec64 *rhs) in timespec64_compare()
71 extern void set_normalized_timespec64(struct timespec64 *ts, time64_t sec, s64 nsec);
73 static inline struct timespec64 timespec64_add(struct timespec64 lhs, in timespec64_add()
74 struct timespec64 rhs) in timespec64_add()
76 struct timespec64 ts_delta; in timespec64_add()
85 static inline struct timespec64 timespec64_sub(struct timespec64 lhs, in timespec64_sub()
86 struct timespec64 rhs) in timespec64_sub()
88 struct timespec64 ts_delta; in timespec64_sub()
97 static inline bool timespec64_valid(const struct timespec64 *ts) in timespec64_valid()
108 static inline bool timespec64_valid_strict(const struct timespec64 *ts) in timespec64_valid_strict()
118 static inline bool timespec64_valid_settod(const struct timespec64 *ts) in timespec64_valid_settod()
135 static inline s64 timespec64_to_ns(const struct timespec64 *ts) in timespec64_to_ns()
153 extern struct timespec64 ns_to_timespec64(s64 nsec);
163 static __always_inline void timespec64_add_ns(struct timespec64 *a, u64 ns) in timespec64_add_ns()
173 extern struct timespec64 timespec64_add_safe(const struct timespec64 lhs,
174 const struct timespec64 rhs);