Lines Matching refs:tlb
1703 bool madvise_free_huge_pmd(struct mmu_gather *tlb, struct vm_area_struct *vma, in madvise_free_huge_pmd() argument
1709 struct mm_struct *mm = tlb->mm; in madvise_free_huge_pmd()
1712 tlb_change_page_size(tlb, HPAGE_PMD_SIZE); in madvise_free_huge_pmd()
1762 tlb_remove_pmd_tlb_entry(tlb, pmd, addr); in madvise_free_huge_pmd()
1782 int zap_huge_pmd(struct mmu_gather *tlb, struct vm_area_struct *vma, in zap_huge_pmd() argument
1788 tlb_change_page_size(tlb, HPAGE_PMD_SIZE); in zap_huge_pmd()
1799 orig_pmd = pmdp_huge_get_and_clear_full(tlb->mm, addr, pmd, in zap_huge_pmd()
1800 tlb->fullmm); in zap_huge_pmd()
1801 tlb_remove_pmd_tlb_entry(tlb, pmd, addr); in zap_huge_pmd()
1804 zap_deposited_table(tlb->mm, pmd); in zap_huge_pmd()
1807 tlb_remove_page_size(tlb, pmd_page(orig_pmd), HPAGE_PMD_SIZE); in zap_huge_pmd()
1809 zap_deposited_table(tlb->mm, pmd); in zap_huge_pmd()
1811 tlb_remove_page_size(tlb, pmd_page(orig_pmd), HPAGE_PMD_SIZE); in zap_huge_pmd()
1832 zap_deposited_table(tlb->mm, pmd); in zap_huge_pmd()
1833 add_mm_counter(tlb->mm, MM_ANONPAGES, -HPAGE_PMD_NR); in zap_huge_pmd()
1836 zap_deposited_table(tlb->mm, pmd); in zap_huge_pmd()
1837 add_mm_counter(tlb->mm, mm_counter_file(page), -HPAGE_PMD_NR); in zap_huge_pmd()
1842 tlb_remove_page_size(tlb, page, HPAGE_PMD_SIZE); in zap_huge_pmd()
2050 int zap_huge_pud(struct mmu_gather *tlb, struct vm_area_struct *vma, in zap_huge_pud() argument
2064 pudp_huge_get_and_clear_full(tlb->mm, addr, pud, tlb->fullmm); in zap_huge_pud()
2065 tlb_remove_pud_tlb_entry(tlb, pud, addr); in zap_huge_pud()