Home
last modified time | relevance | path

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

/linux/tools/testing/vsock/
H A Dvsock_test_zerocopy.c368 char sbuf1[PAGE_SIZE + 1], sbuf2[GOOD_COPY_LEN]; in test_stream_msgzcopy_mangle_client() local
384 for (i = 0; i < sizeof(sbuf2); i++) in test_stream_msgzcopy_mangle_client()
385 sbuf2[i] = rand() & 0xff; in test_stream_msgzcopy_mangle_client()
387 send_buf(fd, sbuf2, sizeof(sbuf2), MSG_ZEROCOPY, sizeof(sbuf2)); in test_stream_msgzcopy_mangle_client()
389 hash = hash_djb2(sbuf2, sizeof(sbuf2)); in test_stream_msgzcopy_mangle_client()