Searched refs:vma (Results 1 – 2 of 2) sorted by relevance
/virt/kvm/arm/ |
D | mmu.c | 950 struct vm_area_struct *vma = find_vma(current->mm, hva); in stage2_unmap_memslot() local 953 if (!vma || vma->vm_start >= reg_end) in stage2_unmap_memslot() 959 vm_start = max(hva, vma->vm_start); in stage2_unmap_memslot() 960 vm_end = min(reg_end, vma->vm_end); in stage2_unmap_memslot() 962 if (!(vma->vm_flags & VM_PFNMAP)) { in stage2_unmap_memslot() 1606 struct vm_area_struct *vma) in kvm_send_hwpoison_signal() argument 1610 if (is_vm_hugetlb_page(vma)) in kvm_send_hwpoison_signal() 1611 lsb = huge_page_shift(hstate_vma(vma)); in kvm_send_hwpoison_signal() 1686 struct vm_area_struct *vma; in user_mem_abort() local 1703 vma = find_vma_intersection(current->mm, hva, hva + 1); in user_mem_abort() [all …]
|
/virt/kvm/ |
D | kvm_main.c | 1434 struct vm_area_struct *vma; in kvm_host_page_size() local 1444 vma = find_vma(current->mm, addr); in kvm_host_page_size() 1445 if (!vma) in kvm_host_page_size() 1448 size = vma_kernel_pagesize(vma); in kvm_host_page_size() 1612 static bool vma_is_valid(struct vm_area_struct *vma, bool write_fault) in vma_is_valid() argument 1614 if (unlikely(!(vma->vm_flags & VM_READ))) in vma_is_valid() 1617 if (write_fault && (unlikely(!(vma->vm_flags & VM_WRITE)))) in vma_is_valid() 1630 static int hva_to_pfn_remapped(struct vm_area_struct *vma, in hva_to_pfn_remapped() argument 1640 r = follow_pte(vma->vm_mm, addr, &ptep, &ptl); in hva_to_pfn_remapped() 1655 r = follow_pte(vma->vm_mm, addr, &ptep, &ptl); in hva_to_pfn_remapped() [all …]
|