Searched refs:pages_per_slot (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/tools/testing/selftests/kvm/ |
H A D | memslot_perf_test.c | 89 uint64_t pages_per_slot; member 208 slotpages = data->pages_per_slot; in vm_gpa2hva() 245 if (!pages_per_slot) in check_slot_pages() 261 uint64_t mempages, pages_per_slot, rempages; in get_max_slots() local 267 pages_per_slot = mempages / slots; in get_max_slots() 268 if (!pages_per_slot) in get_max_slots() 271 rempages = mempages % pages_per_slot; in get_max_slots() 273 pages_per_slot, rempages)) in get_max_slots() 303 data->pages_per_slot, rempages)) { in prepare_vm() 318 npages = data->pages_per_slot; in prepare_vm() [all …]
|
H A D | dirty_log_perf_test.c | 146 uint64_t pages_per_slot; in run_test() local 166 pages_per_slot = host_num_pages / p->slots; in run_test() 168 bitmaps = memstress_alloc_bitmaps(p->slots, pages_per_slot); in run_test() 248 pages_per_slot); in run_test()
|
/openbmc/linux/tools/testing/selftests/kvm/x86_64/ |
H A D | dirty_log_page_splitting_test.c | 93 uint64_t pages_per_slot; in run_test() local 109 pages_per_slot = host_num_pages / SLOTS; in run_test() 111 bitmaps = memstress_alloc_bitmaps(SLOTS, pages_per_slot); in run_test() 142 memstress_clear_dirty_log(vm, bitmaps, SLOTS, pages_per_slot); in run_test()
|
/openbmc/linux/tools/testing/selftests/kvm/include/ |
H A D | memstress.h | 79 int slots, uint64_t pages_per_slot); 80 unsigned long **memstress_alloc_bitmaps(int slots, uint64_t pages_per_slot);
|
/openbmc/linux/tools/testing/selftests/kvm/lib/ |
H A D | memstress.c | 362 int slots, uint64_t pages_per_slot) in memstress_clear_dirty_log() argument 369 kvm_vm_clear_dirty_log(vm, slot, bitmaps[i], 0, pages_per_slot); in memstress_clear_dirty_log() 373 unsigned long **memstress_alloc_bitmaps(int slots, uint64_t pages_per_slot) in memstress_alloc_bitmaps() argument 382 bitmaps[i] = bitmap_zalloc(pages_per_slot); in memstress_alloc_bitmaps()
|