Home
last modified time | relevance | path

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

/linux-6.1.9/tools/virtio/
Dvringh_test.c22 static u64 user_addr_offset; variable
39 if (addr < (u64)(unsigned long)__user_addr_min - user_addr_offset) in getrange_iov()
41 if (addr >= (u64)(unsigned long)__user_addr_max - user_addr_offset) in getrange_iov()
44 r->start = (u64)(unsigned long)__user_addr_min - user_addr_offset; in getrange_iov()
45 r->end_incl = (u64)(unsigned long)__user_addr_max - 1 - user_addr_offset; in getrange_iov()
46 r->offset = user_addr_offset; in getrange_iov()
53 if (addr < (u64)(unsigned long)__user_addr_min - user_addr_offset) in getrange_slow()
55 if (addr >= (u64)(unsigned long)__user_addr_max - user_addr_offset) in getrange_slow()
60 r->offset = user_addr_offset; in getrange_slow()
182 user_addr_offset = host_map - guest_map; in parallel_test()
[all …]