Home
last modified time | relevance | path

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

/Linux-v6.6/tools/testing/selftests/kvm/
Dmemslot_perf_test.c185 static void *vm_gpa2hva(struct vm_data *data, uint64_t gpa, uint64_t *rempages) in vm_gpa2hva() argument
202 if (rempages) { in vm_gpa2hva()
212 *rempages = slotpages - slotoffs; in vm_gpa2hva()
243 uint64_t pages_per_slot, uint64_t rempages) in check_slot_pages() argument
251 if ((rempages * guest_page_size) % host_page_size) in check_slot_pages()
261 uint64_t mempages, pages_per_slot, rempages; in get_max_slots() local
271 rempages = mempages % pages_per_slot; in get_max_slots()
273 pages_per_slot, rempages)) in get_max_slots()
284 uint64_t mempages, rempages; in prepare_vm() local
301 rempages = data->npages % data->nslots; in prepare_vm()
[all …]
/Linux-v6.6/arch/x86/mm/pat/
Dset_memory.c1743 unsigned long rempages = numpages; in __change_page_attr_set_clr() local
1753 while (rempages) { in __change_page_attr_set_clr()
1758 cpa->numpages = rempages; in __change_page_attr_set_clr()
1782 BUG_ON(cpa->numpages > rempages || !cpa->numpages); in __change_page_attr_set_clr()
1783 rempages -= cpa->numpages; in __change_page_attr_set_clr()