Lines Matching refs:pages_per_slot
95 uint64_t pages_per_slot; member
203 slot = min(gpage / data->pages_per_slot, (uint64_t)data->nslots - 1); in vm_gpa2hva()
204 slotoffs = gpage - (slot * data->pages_per_slot); in vm_gpa2hva()
210 slotpages = data->npages - slot * data->pages_per_slot; in vm_gpa2hva()
212 slotpages = data->pages_per_slot; in vm_gpa2hva()
227 return MEM_GPA + slot * data->pages_per_slot * 4096; in vm_slot2gpa()
269 data->pages_per_slot = mempages / data->nslots; in prepare_vm()
270 if (!data->pages_per_slot) { in prepare_vm()
283 max_mem_slots - 1, data->pages_per_slot, rempages); in prepare_vm()
289 npages = data->pages_per_slot; in prepare_vm()
304 npages = data->pages_per_slot; in prepare_vm()