Lines Matching refs:tlb
26 static inline void tlb_flush(struct mmu_gather *tlb);
27 static inline bool __tlb_remove_page_size(struct mmu_gather *tlb,
38 #include <asm-generic/tlb.h>
42 * tlb_ptep_clear_flush. In both flush modes the tlb for a page cache page
48 static inline bool __tlb_remove_page_size(struct mmu_gather *tlb,
56 static inline void tlb_flush(struct mmu_gather *tlb)
58 __tlb_flush_mm_lazy(tlb->mm);
63 * page table from the tlb.
65 static inline void pte_free_tlb(struct mmu_gather *tlb, pgtable_t pte,
68 __tlb_adjust_range(tlb, address, PAGE_SIZE);
69 tlb->mm->context.flush_mm = 1;
70 tlb->freed_tables = 1;
71 tlb->cleared_pmds = 1;
77 page_table_free_rcu(tlb, (unsigned long *) pte, address);
82 * segment table entry from the tlb.
87 static inline void pmd_free_tlb(struct mmu_gather *tlb, pmd_t *pmd,
90 if (mm_pmd_folded(tlb->mm))
93 __tlb_adjust_range(tlb, address, PAGE_SIZE);
94 tlb->mm->context.flush_mm = 1;
95 tlb->freed_tables = 1;
96 tlb->cleared_puds = 1;
97 tlb_remove_ptdesc(tlb, pmd);
102 * region second table entry from the tlb.
107 static inline void p4d_free_tlb(struct mmu_gather *tlb, p4d_t *p4d,
110 if (mm_p4d_folded(tlb->mm))
112 __tlb_adjust_range(tlb, address, PAGE_SIZE);
113 tlb->mm->context.flush_mm = 1;
114 tlb->freed_tables = 1;
115 tlb_remove_table(tlb, p4d);
120 * region third table entry from the tlb.
125 static inline void pud_free_tlb(struct mmu_gather *tlb, pud_t *pud,
128 if (mm_pud_folded(tlb->mm))
130 tlb->mm->context.flush_mm = 1;
131 tlb->freed_tables = 1;
132 tlb->cleared_p4ds = 1;
133 tlb_remove_table(tlb, pud);