Lines Matching refs:inq
1871 int inq = tcp_inq(sk); in tcp_zerocopy_receive() local
1892 avail_len = min_t(u32, vma_len, inq); in tcp_zerocopy_receive()
2073 int inq; in tcp_inq_hint() local
2075 inq = rcv_nxt - copied_seq; in tcp_inq_hint()
2076 if (unlikely(inq < 0 || copied_seq != READ_ONCE(tp->copied_seq))) { in tcp_inq_hint()
2078 inq = tp->rcv_nxt - tp->copied_seq; in tcp_inq_hint()
2084 if (inq == 0 && sock_flag(sk, SOCK_DONE)) in tcp_inq_hint()
2085 inq = 1; in tcp_inq_hint()
2086 return inq; in tcp_inq_hint()
2105 int err, inq; in tcp_recvmsg() local
2342 inq = tcp_inq_hint(sk); in tcp_recvmsg()
2343 put_cmsg(msg, SOL_TCP, TCP_CM_INQ, sizeof(inq), &inq); in tcp_recvmsg()
3942 case offsetofend(struct tcp_zerocopy_receive, inq): in do_tcp_getsockopt()
3952 zc.inq = tcp_inq_hint(sk); in do_tcp_getsockopt()