Lines Matching refs:inq
1858 struct tcp_zerocopy_receive *zc, int inq,
1873 inq, &iov, &msg.msg_iter);
1877 err = tcp_recvmsg_locked(sk, &msg, inq, MSG_DONTWAIT,
1930 /* skb is null if inq < PAGE_SIZE. */
2094 int inq = tcp_inq(sk);
2109 if (inq && inq <= copybuf_len)
2110 return receive_fallback_to_copy(sk, zc, inq, tss);
2112 if (inq < PAGE_SIZE) {
2114 zc->recv_skip_hint = inq;
2115 if (!inq && sock_flag(sk, SOCK_DONE))
2125 avail_len = min_t(u32, vma_len, inq);
2295 int inq;
2297 inq = rcv_nxt - copied_seq;
2298 if (unlikely(inq < 0 || copied_seq != READ_ONCE(tp->copied_seq))) {
2300 inq = tp->rcv_nxt - tp->copied_seq;
2304 * by returning a non-zero inq.
2306 if (inq == 0 && sock_flag(sk, SOCK_DONE))
2307 inq = 1;
2308 return inq;
4256 case offsetofend(struct tcp_zerocopy_receive, inq):
4271 zc.inq = tcp_inq_hint(sk);