Home
last modified time | relevance | path

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

/Linux-v5.10/tools/virtio/
Dvringh_test.c20 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()
181 __user_addr_max = __user_addr_min + mapsize; in parallel_test()
482 __user_addr_max = __user_addr_min + USER_MEM; in main()
502 memcpy(__user_addr_max - 1, "a", 1); in main()
504 sg_set_buf(&guest_sg[0], __user_addr_max - 1, 1); in main()
506 sg_set_buf(&guest_sg[1], __user_addr_max - 3, 2); in main()
526 assert(riov.iov[0].iov_base == __user_addr_max - 1); in main()
[all …]
/Linux-v5.10/tools/virtio/linux/
Duaccess.h7 extern void *__user_addr_min, *__user_addr_max;
11 assert(p >= __user_addr_min && p + size <= __user_addr_max); in __chk_user_ptr()