Searched refs:recv_skip_hint (Results 1 – 3 of 3) sorted by relevance
160 zc.recv_skip_hint = 0; in child_thread()173 if (zc.recv_skip_hint) { in child_thread()174 assert(zc.recv_skip_hint <= chunk_size); in child_thread()175 lu = read(fd, buffer, zc.recv_skip_hint); in child_thread()
337 __u32 recv_skip_hint; /* out: amount of bytes to skip */ member
1775 zc->recv_skip_hint = 0; in tcp_zerocopy_receive()1777 zc->recv_skip_hint = inq; in tcp_zerocopy_receive()1781 if (zc->recv_skip_hint < PAGE_SIZE) { in tcp_zerocopy_receive()1789 zc->recv_skip_hint = skb->len - offset; in tcp_zerocopy_receive()1802 int remaining = zc->recv_skip_hint; in tcp_zerocopy_receive()1809 zc->recv_skip_hint -= remaining; in tcp_zerocopy_receive()1818 zc->recv_skip_hint -= PAGE_SIZE; in tcp_zerocopy_receive()1832 zc->recv_skip_hint = 0; in tcp_zerocopy_receive()1834 if (!zc->recv_skip_hint && sock_flag(sk, SOCK_DONE)) in tcp_zerocopy_receive()