Home
last modified time | relevance | path

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

/net/tls/
Dtls_strp.c501 int sz, inq; in tls_strp_read_sock() local
503 inq = tcp_inq(strp->sk); in tls_strp_read_sock()
504 if (inq < 1) in tls_strp_read_sock()
510 if (inq < strp->stm.full_len) in tls_strp_read_sock()
514 tls_strp_load_anchor_with_queue(strp, inq); in tls_strp_read_sock()
524 if (!strp->stm.full_len || inq < strp->stm.full_len) in tls_strp_read_sock()
/net/ipv4/
Dtcp.c1865 struct tcp_zerocopy_receive *zc, int inq, in receive_fallback_to_copy() argument
1880 inq, &iov, &msg.msg_iter); in receive_fallback_to_copy()
1884 err = tcp_recvmsg_locked(sk, &msg, inq, MSG_DONTWAIT, in receive_fallback_to_copy()
2101 int inq = tcp_inq(sk); in tcp_zerocopy_receive() local
2116 if (inq && inq <= copybuf_len) in tcp_zerocopy_receive()
2117 return receive_fallback_to_copy(sk, zc, inq, tss); in tcp_zerocopy_receive()
2119 if (inq < PAGE_SIZE) { in tcp_zerocopy_receive()
2121 zc->recv_skip_hint = inq; in tcp_zerocopy_receive()
2122 if (!inq && sock_flag(sk, SOCK_DONE)) in tcp_zerocopy_receive()
2132 avail_len = min_t(u32, vma_len, inq); in tcp_zerocopy_receive()
[all …]
/net/mptcp/
Dprotocol.c2224 unsigned int inq = mptcp_inq_hint(sk); in mptcp_recvmsg() local
2226 put_cmsg(msg, SOL_TCP, TCP_CM_INQ, sizeof(inq), &inq); in mptcp_recvmsg()