Home
last modified time | relevance | path

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

/linux/tools/testing/vsock/
H A Dvsock_test.c731 unsigned char *valid_buf; in test_seqpacket_invalid_rec_buffer_server() local
758 valid_buf = mmap(NULL, buf_size, prot, flags, -1, 0); in test_seqpacket_invalid_rec_buffer_server()
759 if (valid_buf == MAP_FAILED) { in test_seqpacket_invalid_rec_buffer_server()
779 res = read(fd, valid_buf, buf_size); in test_seqpacket_invalid_rec_buffer_server()
793 if (valid_buf[i] != BUF_PATTERN_2) { in test_seqpacket_invalid_rec_buffer_server()
796 i, BUF_PATTERN_2, valid_buf[i]); in test_seqpacket_invalid_rec_buffer_server()
804 munmap(valid_buf, buf_size); in test_seqpacket_invalid_rec_buffer_server()