Home
last modified time | relevance | path

Searched refs:kt (Results 1 – 7 of 7) sorted by relevance

/include/linux/
Dktime.h62 #define ktime_add_ns(kt, nsval) ((kt) + (nsval)) argument
68 #define ktime_sub_ns(kt, nsval) ((kt) - (nsval)) argument
77 #define ktime_to_timespec64(kt) ns_to_timespec64((kt)) argument
80 static inline s64 ktime_to_ns(const ktime_t kt) in ktime_to_ns() argument
82 return kt; in ktime_to_ns()
129 extern s64 __ktime_divns(const ktime_t kt, s64 div);
130 static inline s64 ktime_divns(const ktime_t kt, s64 div) in ktime_divns() argument
138 s64 ns = kt; in ktime_divns()
144 return __ktime_divns(kt, div); in ktime_divns()
148 static inline s64 ktime_divns(const ktime_t kt, s64 div) in ktime_divns() argument
[all …]
Dpps_kernel.h93 static inline void timespec_to_pps_ktime(struct pps_ktime *kt, in timespec_to_pps_ktime() argument
96 kt->sec = ts.tv_sec; in timespec_to_pps_ktime()
97 kt->nsec = ts.tv_nsec; in timespec_to_pps_ktime()
Drtc.h28 struct rtc_time rtc_ktime_to_tm(ktime_t kt);
Dtty.h461 int tty_set_termios(struct tty_struct *tty, struct ktermios *kt);
Dskbuff.h4209 static inline void skb_set_delivery_time(struct sk_buff *skb, ktime_t kt, in skb_set_delivery_time() argument
4212 skb->tstamp = kt; in skb_set_delivery_time()
4213 skb->mono_delivery_time = kt && mono; in skb_set_delivery_time()
/include/net/
Derspan.h229 ktime_t kt; in erspan_get_timestamp() local
231 kt = ktime_get_real(); in erspan_get_timestamp()
232 h_usecs = ktime_divns(kt, 100 * NSEC_PER_USEC); in erspan_get_timestamp()
Dsock.h2709 ktime_t kt; in sock_read_timestamp() local
2713 kt = sk->sk_stamp; in sock_read_timestamp()
2716 return kt; in sock_read_timestamp()
2722 static inline void sock_write_timestamp(struct sock *sk, ktime_t kt) in sock_write_timestamp() argument
2726 sk->sk_stamp = kt; in sock_write_timestamp()
2729 WRITE_ONCE(sk->sk_stamp, kt); in sock_write_timestamp()
2743 ktime_t kt = skb->tstamp; in sock_recv_timestamp() local
2752 (kt && tsflags & SOF_TIMESTAMPING_SOFTWARE) || in sock_recv_timestamp()
2757 sock_write_timestamp(sk, kt); in sock_recv_timestamp()