Lines Matching defs:tlb
35 #include <asm/tlb.h>
47 struct mmu_gather *tlb;
349 struct mmu_gather *tlb = private->tlb;
351 struct mm_struct *mm = tlb->mm;
372 tlb_change_page_size(tlb, HPAGE_PMD_SIZE);
415 tlb_remove_pmd_tlb_entry(tlb, pmd, addr);
440 tlb_change_page_size(tlb, PAGE_SIZE);
529 tlb_remove_tlb_entries(tlb, pte, nr, addr);
569 static void madvise_cold_page_range(struct mmu_gather *tlb,
575 .tlb = tlb,
578 tlb_start_vma(tlb, vma);
580 tlb_end_vma(tlb, vma);
593 struct mmu_gather tlb;
600 tlb_gather_mmu(&tlb, mm);
601 madvise_cold_page_range(&tlb, vma, start_addr, end_addr);
602 tlb_finish_mmu(&tlb);
607 static void madvise_pageout_page_range(struct mmu_gather *tlb,
613 .tlb = tlb,
616 tlb_start_vma(tlb, vma);
618 tlb_end_vma(tlb, vma);
626 struct mmu_gather tlb;
643 tlb_gather_mmu(&tlb, mm);
644 madvise_pageout_page_range(&tlb, vma, start_addr, end_addr);
645 tlb_finish_mmu(&tlb);
655 struct mmu_gather *tlb = walk->private;
656 struct mm_struct *mm = tlb->mm;
667 if (madvise_free_huge_pmd(tlb, vma, pmd, addr, next))
670 tlb_change_page_size(tlb, PAGE_SIZE);
696 clear_not_present_full_ptes(mm, addr, pte, nr, tlb->fullmm);
699 pte_clear_not_present_full(mm, addr, pte, tlb->fullmm);
776 tlb_remove_tlb_entries(tlb, pte, nr, addr);
802 struct mmu_gather tlb;
818 tlb_gather_mmu(&tlb, mm);
822 tlb_start_vma(&tlb, vma);
824 &madvise_free_walk_ops, &tlb);
825 tlb_end_vma(&tlb, vma);
827 tlb_finish_mmu(&tlb);