Home
last modified time | relevance | path

Searched refs:tss (Results 1 – 3 of 3) sorted by relevance

/net/core/
Dscm.c254 struct scm_timestamping64 tss; in put_cmsg_scm_timestamping64() local
257 for (i = 0; i < ARRAY_SIZE(tss.ts); i++) { in put_cmsg_scm_timestamping64()
258 tss.ts[i].tv_sec = tss_internal->ts[i].tv_sec; in put_cmsg_scm_timestamping64()
259 tss.ts[i].tv_nsec = tss_internal->ts[i].tv_nsec; in put_cmsg_scm_timestamping64()
262 put_cmsg(msg, SOL_SOCKET, SO_TIMESTAMPING_NEW, sizeof(tss), &tss); in put_cmsg_scm_timestamping64()
268 struct scm_timestamping tss; in put_cmsg_scm_timestamping() local
271 for (i = 0; i < ARRAY_SIZE(tss.ts); i++) in put_cmsg_scm_timestamping()
272 tss.ts[i] = timespec64_to_timespec(tss_internal->ts[i]); in put_cmsg_scm_timestamping()
274 put_cmsg(msg, SOL_SOCKET, SO_TIMESTAMPING_OLD, sizeof(tss), &tss); in put_cmsg_scm_timestamping()
/net/ipv4/
Dtcp.c732 struct tcp_splice_state *tss = rd_desc->arg.data; in tcp_splice_data_recv() local
735 ret = skb_splice_bits(skb, skb->sk, offset, tss->pipe, in tcp_splice_data_recv()
736 min(rd_desc->count, len), tss->flags); in tcp_splice_data_recv()
742 static int __tcp_splice_read(struct sock *sk, struct tcp_splice_state *tss) in __tcp_splice_read() argument
746 .arg.data = tss, in __tcp_splice_read()
747 .count = tss->len, in __tcp_splice_read()
770 struct tcp_splice_state tss = { in tcp_splice_read() local
791 while (tss.len) { in tcp_splice_read()
792 ret = __tcp_splice_read(sk, &tss); in tcp_splice_read()
831 tss.len -= ret; in tcp_splice_read()
[all …]
/net/
Dsocket.c761 struct scm_timestamping_internal tss; in __sock_recv_timestamp() local
806 memset(&tss, 0, sizeof(tss)); in __sock_recv_timestamp()
808 ktime_to_timespec64_cond(skb->tstamp, tss.ts + 0)) in __sock_recv_timestamp()
813 ktime_to_timespec64_cond(shhwtstamps->hwtstamp, tss.ts + 2)) { in __sock_recv_timestamp()
821 put_cmsg_scm_timestamping64(msg, &tss); in __sock_recv_timestamp()
823 put_cmsg_scm_timestamping(msg, &tss); in __sock_recv_timestamp()