Searched refs:broken_buf (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/tools/testing/vsock/ |
H A D | vsock_test.c | 797 unsigned char *broken_buf; in test_seqpacket_invalid_rec_buffer_server() local 813 broken_buf = mmap(NULL, buf_size, prot, flags, -1, 0); in test_seqpacket_invalid_rec_buffer_server() 814 if (broken_buf == MAP_FAILED) { in test_seqpacket_invalid_rec_buffer_server() 820 if (munmap(broken_buf + page_size, page_size)) { in test_seqpacket_invalid_rec_buffer_server() 832 res = read(fd, broken_buf, buf_size); in test_seqpacket_invalid_rec_buffer_server() 869 munmap(broken_buf, page_size); in test_seqpacket_invalid_rec_buffer_server() 870 munmap(broken_buf + page_size * 2, page_size); in test_seqpacket_invalid_rec_buffer_server()
|