Searched refs:broken_buf (Results 1 – 1 of 1) sorted by relevance
/linux/tools/testing/vsock/ |
H A D | vsock_test.c | 728 unsigned char *broken_buf; in test_seqpacket_invalid_rec_buffer_server() local 744 broken_buf = mmap(NULL, buf_size, prot, flags, -1, 0); in test_seqpacket_invalid_rec_buffer_server() 745 if (broken_buf == MAP_FAILED) { in test_seqpacket_invalid_rec_buffer_server() 751 if (munmap(broken_buf + page_size, page_size)) { in test_seqpacket_invalid_rec_buffer_server() 763 res = read(fd, broken_buf, buf_size); in test_seqpacket_invalid_rec_buffer_server() 800 munmap(broken_buf, page_size); in test_seqpacket_invalid_rec_buffer_server() 801 munmap(broken_buf + page_size * 2, page_size); in test_seqpacket_invalid_rec_buffer_server()
|