Home
last modified time | relevance | path

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

/linux-6.1.9/tools/virtio/
Dvringh_test.c19 #define USER_MEM (1024*1024) macro
482 if (posix_memalign(&__user_addr_min, PAGE_SIZE, USER_MEM) != 0) in main()
484 __user_addr_max = __user_addr_min + USER_MEM; in main()
574 __user_addr_max - USER_MEM/4, USER_MEM/4); in main()
578 for (i = 0; i < USER_MEM/4; i++) in main()
579 ((char *)__user_addr_max - USER_MEM/4)[i] = i; in main()
601 assert(riov.used == RINGSIZE * USER_MEM/4); in main()
607 for (i = 0; i < RINGSIZE * USER_MEM/4; i += 3) { in main()
609 if (err != 3 && i + err != RINGSIZE * USER_MEM/4) in main()
665 char *data = __user_addr_max - USER_MEM/4; in main()
[all …]