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,
30 #define tlb_start_vma(tlb, vma) do { } while (0)
31 #define tlb_end_vma(tlb, vma) do { } while (0)
40 #include <asm-generic/tlb.h>
44 * tlb_ptep_clear_flush. In both flush modes the tlb for a page cache page
47 static inline bool __tlb_remove_page_size(struct mmu_gather *tlb,
54 static inline void tlb_flush(struct mmu_gather *tlb)
56 __tlb_flush_mm_lazy(tlb->mm);
61 * page table from the tlb.
63 static inline void pte_free_tlb(struct mmu_gather *tlb, pgtable_t pte,
66 __tlb_adjust_range(tlb, address, PAGE_SIZE);
67 tlb->mm->context.flush_mm = 1;
68 tlb->freed_tables = 1;
69 tlb->cleared_ptes = 1;
75 page_table_free_rcu(tlb, (unsigned long *) pte, address);
80 * segment table entry from the tlb.
85 static inline void pmd_free_tlb(struct mmu_gather *tlb, pmd_t *pmd,
88 if (mm_pmd_folded(tlb->mm))
91 __tlb_adjust_range(tlb, address, PAGE_SIZE);
92 tlb->mm->context.flush_mm = 1;
93 tlb->freed_tables = 1;
94 tlb->cleared_puds = 1;
95 tlb_remove_table(tlb, pmd);
100 * region second table entry from the tlb.
105 static inline void p4d_free_tlb(struct mmu_gather *tlb, p4d_t *p4d,
108 if (mm_p4d_folded(tlb->mm))
110 __tlb_adjust_range(tlb, address, PAGE_SIZE);
111 tlb->mm->context.flush_mm = 1;
112 tlb->freed_tables = 1;
113 tlb->cleared_p4ds = 1;
114 tlb_remove_table(tlb, p4d);
119 * region third table entry from the tlb.
124 static inline void pud_free_tlb(struct mmu_gather *tlb, pud_t *pud,
127 if (mm_pud_folded(tlb->mm))
129 tlb->mm->context.flush_mm = 1;
130 tlb->freed_tables = 1;
131 tlb->cleared_puds = 1;
132 tlb_remove_table(tlb, pud);