Home
last modified time | relevance | path

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

/linux-6.12.1/tools/testing/selftests/kvm/
Ddemand_paging_test.c29 static size_t demand_paging_size; variable
73 copy.len = demand_paging_size; in handle_uffd_page_request()
98 cont.range.len = demand_paging_size; in handle_uffd_page_request()
127 demand_paging_size, addr, tid); in handle_uffd_page_request()
146 for (p = 0; p < (len / demand_paging_size); ++p) { in prefault_mem()
147 memcpy(alias + (p * demand_paging_size), in prefault_mem()
148 guest_data_prototype, demand_paging_size); in prefault_mem()
167 demand_paging_size = get_backing_src_pagesz(p->src_type); in run_test()
169 guest_data_prototype = malloc(demand_paging_size); in run_test()
172 memset(guest_data_prototype, 0xAB, demand_paging_size); in run_test()