Lines Matching refs:tlb
75 static unsigned long change_pte_range(struct mmu_gather *tlb, in change_pte_range() argument
87 tlb_change_page_size(tlb, PAGE_SIZE); in change_pte_range()
202 tlb_flush_pte_range(tlb, addr, PAGE_SIZE); in change_pte_range()
349 static inline unsigned long change_pmd_range(struct mmu_gather *tlb, in change_pmd_range() argument
403 int nr_ptes = change_huge_pmd(tlb, vma, pmd, in change_pmd_range()
418 this_pages = change_pte_range(tlb, vma, pmd, addr, next, in change_pmd_range()
433 static inline unsigned long change_pud_range(struct mmu_gather *tlb, in change_pud_range() argument
447 pages += change_pmd_range(tlb, vma, pud, addr, next, newprot, in change_pud_range()
454 static inline unsigned long change_p4d_range(struct mmu_gather *tlb, in change_p4d_range() argument
468 pages += change_pud_range(tlb, vma, p4d, addr, next, newprot, in change_p4d_range()
475 static unsigned long change_protection_range(struct mmu_gather *tlb, in change_protection_range() argument
486 tlb_start_vma(tlb, vma); in change_protection_range()
492 pages += change_p4d_range(tlb, vma, pgd, addr, next, newprot, in change_protection_range()
496 tlb_end_vma(tlb, vma); in change_protection_range()
501 unsigned long change_protection(struct mmu_gather *tlb, in change_protection() argument
514 pages = change_protection_range(tlb, vma, start, end, newprot, in change_protection()
548 mprotect_fixup(struct mmu_gather *tlb, struct vm_area_struct *vma, in mprotect_fixup() argument
646 change_protection(tlb, vma, start, end, vma->vm_page_prot, in mprotect_fixup()
680 struct mmu_gather tlb; in do_mprotect_pkey() local
742 tlb_gather_mmu(&tlb, current->mm); in do_mprotect_pkey()
792 error = mprotect_fixup(&tlb, vma, &prev, nstart, tmp, newflags); in do_mprotect_pkey()
810 tlb_finish_mmu(&tlb); in do_mprotect_pkey()