Lines Matching refs:TMPSHMSIZE
18 #define TMPSHMSIZE (1 << 20) macro
129 g_assert_cmpuint(barsize, ==, TMPSHMSIZE); in setup_vm_cmd()
208 data = g_malloc0(TMPSHMSIZE); in test_ivshmem_pair()
211 memset(tmpshmem, 0x42, TMPSHMSIZE); in test_ivshmem_pair()
212 read_mem(s1, 0, data, TMPSHMSIZE); in test_ivshmem_pair()
213 for (i = 0; i < TMPSHMSIZE; i++) { in test_ivshmem_pair()
216 read_mem(s2, 0, data, TMPSHMSIZE); in test_ivshmem_pair()
217 for (i = 0; i < TMPSHMSIZE; i++) { in test_ivshmem_pair()
222 memset(data, 0x43, TMPSHMSIZE); in test_ivshmem_pair()
223 write_mem(s1, 0, data, TMPSHMSIZE); in test_ivshmem_pair()
224 memset(data, 0, TMPSHMSIZE); in test_ivshmem_pair()
225 read_mem(s2, 0, data, TMPSHMSIZE); in test_ivshmem_pair()
226 for (i = 0; i < TMPSHMSIZE; i++) { in test_ivshmem_pair()
231 memset(data, 0x44, TMPSHMSIZE); in test_ivshmem_pair()
232 write_mem(s2, 0, data, TMPSHMSIZE); in test_ivshmem_pair()
233 memset(data, 0, TMPSHMSIZE); in test_ivshmem_pair()
234 read_mem(s1, 0, data, TMPSHMSIZE); in test_ivshmem_pair()
235 for (i = 0; i < TMPSHMSIZE; i++) { in test_ivshmem_pair()
316 TMPSHMSIZE, nvectors, in test_ivshmem_server()
433 munmap(tmpshmem, TMPSHMSIZE); in cleanup()
492 tmpshm = mktempshm(TMPSHMSIZE, &fd); in main()
496 tmpshmem = mmap(0, TMPSHMSIZE, PROT_READ|PROT_WRITE, MAP_SHARED, fd, 0); in main()