Home
last modified time | relevance | path

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

/Linux-v5.15/tools/testing/selftests/kvm/
Dmemslot_perf_test.c97 void **hva_slots; member
211 base = data->hva_slots[slot]; in vm_gpa2hva()
230 data->hva_slots = NULL; in alloc_vm()
267 data->hva_slots = malloc(sizeof(*data->hva_slots) * data->nslots); in prepare_vm()
268 TEST_ASSERT(data->hva_slots, "malloc() fail"); in prepare_vm()
303 data->hva_slots[slot] = addr_gpa2hva(data->vm, guest_addr); in prepare_vm()
304 memset(data->hva_slots[slot], 0, npages * 4096); in prepare_vm()
334 free(data->hva_slots); in free_vm()