Lines Matching refs:__user_addr_max
20 void *__user_addr_min, *__user_addr_max; variable
41 if (addr >= (u64)(unsigned long)__user_addr_max - user_addr_offset) in getrange_iov()
45 r->end_incl = (u64)(unsigned long)__user_addr_max - 1 - user_addr_offset; in getrange_iov()
55 if (addr >= (u64)(unsigned long)__user_addr_max - user_addr_offset) in getrange_slow()
184 __user_addr_max = __user_addr_min + mapsize; in parallel_test()
487 __user_addr_max = __user_addr_min + USER_MEM; in main()
507 memcpy(__user_addr_max - 1, "a", 1); in main()
509 sg_set_buf(&guest_sg[0], __user_addr_max - 1, 1); in main()
511 sg_set_buf(&guest_sg[1], __user_addr_max - 3, 2); in main()
531 assert(riov.iov[0].iov_base == __user_addr_max - 1); in main()
535 assert(wiov.iov[0].iov_base == __user_addr_max - 3); in main()
539 assert(wiov.iov[0].iov_base == __user_addr_max - 3); in main()
541 assert(wiov.iov[1].iov_base == __user_addr_max - 2); in main()
556 assert(memcmp(__user_addr_max - 3, "bc", 2) == 0); in main()
577 __user_addr_max - USER_MEM/4, USER_MEM/4); in main()
582 ((char *)__user_addr_max - USER_MEM/4)[i] = i; in main()
636 sg_set_buf(&guest_sg[0], __user_addr_max - 1, 1); in main()
668 char *data = __user_addr_max - USER_MEM/4; in main()
669 struct vring_desc *d = __user_addr_max - USER_MEM/2; in main()