Searched refs:PAGES_PER_REGION (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/tools/testing/selftests/kvm/lib/s390x/ |
H A D | processor.c | 11 #define PAGES_PER_REGION 4 macro 23 paddr = vm_phy_pages_alloc(vm, PAGES_PER_REGION, in virt_arch_pgd_alloc() 26 memset(addr_gpa2hva(vm, paddr), 0xff, PAGES_PER_REGION * vm->page_size); in virt_arch_pgd_alloc() 41 taddr = vm_phy_pages_alloc(vm, ri < 4 ? PAGES_PER_REGION : 1, in virt_alloc_region() 43 memset(addr_gpa2hva(vm, taddr), 0xff, PAGES_PER_REGION * vm->page_size); in virt_alloc_region() 47 | ((ri < 4 ? (PAGES_PER_REGION - 1) : 0) & REGION_ENTRY_LENGTH); in virt_alloc_region()
|
/openbmc/qemu/tests/tcg/multiarch/ |
H A D | vma-pthread.c | 34 #define PAGES_PER_REGION (1 << (PAGE_IDX_BITS - REGION_IDX_BITS)) macro 135 page_idx += PAGES_PER_REGION) { in thread_mutate()
|