Home
last modified time | relevance | path

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

/linux-6.12.1/tools/testing/vsock/
Dvsock_test.c729 unsigned char *valid_buf; in test_seqpacket_invalid_rec_buffer_server() local
756 valid_buf = mmap(NULL, buf_size, prot, flags, -1, 0); in test_seqpacket_invalid_rec_buffer_server()
757 if (valid_buf == MAP_FAILED) { in test_seqpacket_invalid_rec_buffer_server()
777 res = read(fd, valid_buf, buf_size); in test_seqpacket_invalid_rec_buffer_server()
791 if (valid_buf[i] != BUF_PATTERN_2) { in test_seqpacket_invalid_rec_buffer_server()
794 i, BUF_PATTERN_2, valid_buf[i]); in test_seqpacket_invalid_rec_buffer_server()
802 munmap(valid_buf, buf_size); in test_seqpacket_invalid_rec_buffer_server()