Lines Matching defs:tlb
2 * linux/include/asm-arm/tlb.h
11 * to use the "invalidate whole tlb" rather than "invalidate single
12 * tlb" for this.
26 #include <asm-generic/tlb.h>
46 struct mmu_gather *tlb = &get_cpu_var(mmu_gathers);
48 tlb->mm = mm;
49 tlb->fullmm = full_mm_flush;
51 return tlb;
55 tlb_finish_mmu(struct mmu_gather *tlb, unsigned long start, unsigned long end)
57 if (tlb->fullmm)
58 flush_tlb_mm(tlb->mm);
66 #define tlb_remove_tlb_entry(tlb,ptep,address) do { } while (0)
69 * In the case of tlb vma handling, we can optimise these away in the
74 tlb_start_vma(struct mmu_gather *tlb, struct vm_area_struct *vma)
76 if (!tlb->fullmm)
81 tlb_end_vma(struct mmu_gather *tlb, struct vm_area_struct *vma)
83 if (!tlb->fullmm)
87 #define tlb_remove_page(tlb,page) free_page_and_swap_cache(page)
88 #define pte_free_tlb(tlb,ptep) pte_free(ptep)
89 #define pmd_free_tlb(tlb,pmdp) pmd_free(pmdp)