Searched refs:vma_pagesize (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/arch/riscv/kvm/ |
D | mmu.c | 603 unsigned long vma_pagesize, mmu_seq; in kvm_riscv_gstage_map() local 625 vma_pagesize = 1ULL << vma_pageshift; in kvm_riscv_gstage_map() 627 vma_pagesize = PAGE_SIZE; in kvm_riscv_gstage_map() 629 if (vma_pagesize == PMD_SIZE || vma_pagesize == PUD_SIZE) in kvm_riscv_gstage_map() 643 if (vma_pagesize != PUD_SIZE && in kvm_riscv_gstage_map() 644 vma_pagesize != PMD_SIZE && in kvm_riscv_gstage_map() 645 vma_pagesize != PAGE_SIZE) { in kvm_riscv_gstage_map() 646 kvm_err("Invalid VMA page size 0x%lx\n", vma_pagesize); in kvm_riscv_gstage_map() 675 vma_pagesize, false, true); in kvm_riscv_gstage_map() 678 vma_pagesize, true, true); in kvm_riscv_gstage_map()
|
/linux-6.12.1/arch/arm64/kvm/ |
D | mmu.c | 1440 long vma_pagesize, fault_granule; in user_mem_abort() local 1515 vma_pagesize = 1UL << vma_shift; in user_mem_abort() 1541 vma_pagesize = min(vma_pagesize, (long)max_map_size); in user_mem_abort() 1549 if (vma_pagesize == PMD_SIZE || vma_pagesize == PUD_SIZE) { in user_mem_abort() 1550 fault_ipa &= ~(vma_pagesize - 1); in user_mem_abort() 1551 ipa &= ~(vma_pagesize - 1); in user_mem_abort() 1635 if (vma_pagesize == PAGE_SIZE && !(force_pte || device)) { in user_mem_abort() 1637 vma_pagesize = fault_granule; in user_mem_abort() 1639 vma_pagesize = transparent_hugepage_adjust(kvm, memslot, in user_mem_abort() 1643 if (vma_pagesize < 0) { in user_mem_abort() [all …]
|