Home
last modified time | relevance | path

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

/linux-6.12.1/tools/virtio/
Dvringh_test.c19 #define USER_MEM (1024*1024) macro
485 if (posix_memalign(&__user_addr_min, PAGE_SIZE, USER_MEM) != 0) in main()
487 __user_addr_max = __user_addr_min + USER_MEM; in main()
577 __user_addr_max - USER_MEM/4, USER_MEM/4); in main()
581 for (i = 0; i < USER_MEM/4; i++) in main()
582 ((char *)__user_addr_max - USER_MEM/4)[i] = i; in main()
604 assert(riov.used == RINGSIZE * USER_MEM/4); in main()
610 for (i = 0; i < RINGSIZE * USER_MEM/4; i += 3) { in main()
612 if (err != 3 && i + err != RINGSIZE * USER_MEM/4) in main()
668 char *data = __user_addr_max - USER_MEM/4; in main()
[all …]