Home
last modified time | relevance | path

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

/linux/tools/testing/vsock/
H A Dvsock_test.c362 unsigned long curr_hash; in test_seqpacket_msg_bounds_client() local
377 curr_hash = 0; in test_seqpacket_msg_bounds_client()
405 curr_hash++; in test_seqpacket_msg_bounds_client()
421 curr_hash += hash_djb2(buf, buf_size); in test_seqpacket_msg_bounds_client()
426 control_writeulong(curr_hash); in test_seqpacket_msg_bounds_client()
434 unsigned long curr_hash; in test_seqpacket_msg_bounds_server() local
473 curr_hash = 0; in test_seqpacket_msg_bounds_server()
489 curr_hash++; in test_seqpacket_msg_bounds_server()
491 curr_hash += hash_djb2(msg.msg_iov[0].iov_base, recv_size); in test_seqpacket_msg_bounds_server()
498 if (curr_hash != remote_hash) { in test_seqpacket_msg_bounds_server()