Home
last modified time | relevance | path

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

/openbmc/qemu/tests/qtest/
H A Divshmem-test.c20 static void *tmpshmem; variable
184 g_assert_cmpuint(((uint32_t *)tmpshmem)[i], ==, i); in test_ivshmem_single()
211 memset(tmpshmem, 0x42, TMPSHMSIZE); in test_ivshmem_pair()
432 if (tmpshmem) { in cleanup()
433 munmap(tmpshmem, TMPSHMSIZE); in cleanup()
434 tmpshmem = NULL; in cleanup()
496 tmpshmem = mmap(0, TMPSHMSIZE, PROT_READ|PROT_WRITE, MAP_SHARED, fd, 0); in main()
497 g_assert(tmpshmem != MAP_FAILED); in main()