Home
last modified time | relevance | path

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

/linux/tools/testing/vsock/
H A Dvsock_test_zerocopy.c286 local_hash = hash_djb2(data, data_len); in test_server()
389 hash = hash_djb2(sbuf2, sizeof(sbuf2)); in test_stream_msgzcopy_mangle_client()
424 local_hash = hash_djb2(rbuf, GOOD_COPY_LEN); in test_stream_msgzcopy_mangle_server()
H A Dutil.h104 unsigned long hash_djb2(const void *data, size_t len);
H A Dvsock_uring_test.c169 local_hash = hash_djb2(data, data_len); in vsock_io_uring_server()
H A Dutil.c606 unsigned long hash_djb2(const void *data, size_t len) in hash_djb2() function
651 hash = hash_djb2(tmp, iov_bytes); in iovec_hash_djb2()
H A Dvsock_test.c457 curr_hash += hash_djb2(buf, buf_size); in test_seqpacket_msg_bounds_server()
523 curr_hash += hash_djb2(msg.msg_iov[0].iov_base, recv_size); in test_seqpacket_msg_trunc_server()