Searched refs:broken_buf (Results 1 – 1 of 1) sorted by relevance
/linux/tools/testing/vsock/ |
H A D | vsock_test.c | 730 unsigned char *broken_buf; in test_seqpacket_invalid_rec_buffer_server() local 746 broken_buf = mmap(NULL, buf_size, prot, flags, -1, 0); in test_seqpacket_invalid_rec_buffer_server() 747 if (broken_buf == MAP_FAILED) { in test_seqpacket_invalid_rec_buffer_server() 753 if (munmap(broken_buf + page_size, page_size)) { in test_seqpacket_invalid_rec_buffer_server() 765 res = read(fd, broken_buf, buf_size); in test_seqpacket_invalid_rec_buffer_server() 802 munmap(broken_buf, page_size); in test_seqpacket_invalid_rec_buffer_server() 803 munmap(broken_buf + page_size * 2, page_size); in test_seqpacket_invalid_rec_buffer_server()
|