Home
last modified time | relevance | path

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

/linux/tools/testing/vsock/
H A Dvsock_test_zerocopy.c364 #define GOOD_COPY_LEN 128 /* net/vmw_vsock/virtio_transport_common.c */ macro
368 char sbuf1[PAGE_SIZE + 1], sbuf2[GOOD_COPY_LEN]; in test_stream_msgzcopy_mangle_client()
417 vsock_ioctl_int(fd, SIOCINQ, PAGE_SIZE + 1 + GOOD_COPY_LEN); in test_stream_msgzcopy_mangle_server()
422 recv_buf(fd, rbuf, GOOD_COPY_LEN, 0, GOOD_COPY_LEN); in test_stream_msgzcopy_mangle_server()
424 local_hash = hash_djb2(rbuf, GOOD_COPY_LEN); in test_stream_msgzcopy_mangle_server()
/linux/net/vmw_vsock/
H A Dvirtio_transport_common.c27 #define GOOD_COPY_LEN 128 macro
1392 if (len <= GOOD_COPY_LEN && !skb_queue_empty(&vvs->rx_queue) && in virtio_transport_recv_enqueue()
/linux/drivers/net/
H A Dvirtio_net.c57 #define GOOD_COPY_LEN 128 macro
875 if (!NET_IP_ALIGN && len > GOOD_COPY_LEN && tailroom >= shinfo_size) { in page_to_skb()
887 skb = napi_alloc_skb(&rq->napi, GOOD_COPY_LEN); in page_to_skb()