Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/kvm/
H A Dmemslot_perf_test.c32 #define MEM_GPA SZ_256M macro
33 #define MEM_AUX_GPA MEM_GPA
76 #define MEM_TEST_MOVE_GPA_DEST (MEM_GPA + MEM_SIZE)
195 TEST_ASSERT(gpa >= MEM_GPA, "Too low gpa to translate"); in vm_gpa2hva()
196 TEST_ASSERT(gpa < MEM_GPA + data->npages * guest_page_size, in vm_gpa2hva()
198 gpa -= MEM_GPA; in vm_gpa2hva()
228 return MEM_GPA + slot * data->pages_per_slot * guest_page_size; in vm_slot2gpa()
318 for (slot = 1, guest_addr = MEM_GPA; slot <= data->nslots; slot++) { in prepare_vm()
332 for (slot = 1, guest_addr = MEM_GPA; slot <= data->nslots; slot++) { in prepare_vm()
350 virt_map(data->vm, MEM_GPA, MEM_GPA, data->npages); in prepare_vm()