Lines Matching refs:tlb
27 #define tlb_remove_entry(tlb, entry) tlb_remove_table(tlb, entry) argument
33 #define tlb_remove_entry(tlb, entry) tlb_remove_page(tlb, entry) argument
38 static inline void tlb_flush(struct mmu_gather *tlb) in tlb_flush() argument
40 struct vm_area_struct vma = { .vm_mm = tlb->mm, }; in tlb_flush()
46 if (tlb->fullmm) in tlb_flush()
54 __flush_tlb_range(&vma, tlb->start, tlb->end, true); in tlb_flush()
57 static inline void __pte_free_tlb(struct mmu_gather *tlb, pgtable_t pte, in __pte_free_tlb() argument
60 __flush_tlb_pgtable(tlb->mm, addr); in __pte_free_tlb()
62 tlb_remove_entry(tlb, pte); in __pte_free_tlb()
66 static inline void __pmd_free_tlb(struct mmu_gather *tlb, pmd_t *pmdp, in __pmd_free_tlb() argument
69 __flush_tlb_pgtable(tlb->mm, addr); in __pmd_free_tlb()
70 tlb_remove_entry(tlb, virt_to_page(pmdp)); in __pmd_free_tlb()
75 static inline void __pud_free_tlb(struct mmu_gather *tlb, pud_t *pudp, in __pud_free_tlb() argument
78 __flush_tlb_pgtable(tlb->mm, addr); in __pud_free_tlb()
79 tlb_remove_entry(tlb, virt_to_page(pudp)); in __pud_free_tlb()