Lines Matching refs:USER_MEM
19 #define USER_MEM (1024*1024) macro
480 if (posix_memalign(&__user_addr_min, PAGE_SIZE, USER_MEM) != 0) in main()
482 __user_addr_max = __user_addr_min + USER_MEM; in main()
572 __user_addr_max - USER_MEM/4, USER_MEM/4); in main()
576 for (i = 0; i < USER_MEM/4; i++) in main()
577 ((char *)__user_addr_max - USER_MEM/4)[i] = i; in main()
599 assert(riov.used == RINGSIZE * USER_MEM/4); in main()
605 for (i = 0; i < RINGSIZE * USER_MEM/4; i += 3) { in main()
607 if (err != 3 && i + err != RINGSIZE * USER_MEM/4) in main()
663 char *data = __user_addr_max - USER_MEM/4; in main()
664 struct vring_desc *d = __user_addr_max - USER_MEM/2; in main()