Home
last modified time | relevance | path

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

/Linux-v4.19/tools/testing/selftests/net/
Dtcp_mmap.c174 zc.recv_skip_hint = 0; in child_thread()
187 if (zc.recv_skip_hint) { in child_thread()
188 assert(zc.recv_skip_hint <= chunk_size); in child_thread()
189 lu = read(fd, buffer, zc.recv_skip_hint); in child_thread()
/Linux-v4.19/include/uapi/linux/
Dtcp.h300 __u32 recv_skip_hint; /* out: amount of bytes to skip */ member
/Linux-v4.19/net/ipv4/
Dtcp.c1781 zc->recv_skip_hint = 0; in tcp_zerocopy_receive()
1784 if (zc->recv_skip_hint < PAGE_SIZE) { in tcp_zerocopy_receive()
1792 zc->recv_skip_hint = skb->len - offset; in tcp_zerocopy_receive()
1812 zc->recv_skip_hint -= PAGE_SIZE; in tcp_zerocopy_receive()
1826 zc->recv_skip_hint = 0; in tcp_zerocopy_receive()
1828 if (!zc->recv_skip_hint && sock_flag(sk, SOCK_DONE)) in tcp_zerocopy_receive()