Home
last modified time | relevance | path

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

/Linux-v5.10/tools/testing/selftests/net/
Dtcp_mmap.c211 if (zc.recv_skip_hint) { in child_thread()
212 assert(zc.recv_skip_hint <= chunk_size); in child_thread()
213 lu = read(fd, buffer, zc.recv_skip_hint); in child_thread()
/Linux-v5.10/include/uapi/linux/
Dtcp.h349 __u32 recv_skip_hint; /* out: amount of bytes to skip */ member
/Linux-v5.10/net/ipv4/
Dtcp.c1771 zc->recv_skip_hint += bytes_not_mapped; in tcp_zerocopy_vm_insert_batch()
1817 zc->recv_skip_hint = 0; in tcp_zerocopy_receive()
1819 zc->recv_skip_hint = zc->length; in tcp_zerocopy_receive()
1824 if (zc->recv_skip_hint < PAGE_SIZE) { in tcp_zerocopy_receive()
1837 if (zc->recv_skip_hint > 0) in tcp_zerocopy_receive()
1844 zc->recv_skip_hint = skb->len - offset; in tcp_zerocopy_receive()
1857 int remaining = zc->recv_skip_hint; in tcp_zerocopy_receive()
1864 zc->recv_skip_hint -= remaining; in tcp_zerocopy_receive()
1870 zc->recv_skip_hint -= PAGE_SIZE; in tcp_zerocopy_receive()
1897 zc->recv_skip_hint = 0; in tcp_zerocopy_receive()
[all …]