/linux-6.6.21/include/asm-generic/ |
D | tlb.h | 212 #define tlb_remove_table(tlb, page) tlb_remove_page((tlb), (page)) argument 272 #define tlb_delay_rmap(tlb) (((tlb)->delayed_rmap = 1), true) argument 286 #define tlb_delay_rmap(tlb) (false) argument 287 static inline void tlb_flush_rmaps(struct mmu_gather *tlb, struct vm_area_struct *vma) { } in tlb_flush_rmaps() 355 static inline void __tlb_adjust_range(struct mmu_gather *tlb, in __tlb_adjust_range() 363 static inline void __tlb_reset_range(struct mmu_gather *tlb) in __tlb_reset_range() 397 static inline void tlb_flush(struct mmu_gather *tlb) in tlb_flush() 411 static inline void tlb_flush(struct mmu_gather *tlb) in tlb_flush() 430 tlb_update_vma_flags(struct mmu_gather *tlb, struct vm_area_struct *vma) in tlb_update_vma_flags() 448 static inline void tlb_flush_mmu_tlbonly(struct mmu_gather *tlb) in tlb_flush_mmu_tlbonly() [all …]
|
/linux-6.6.21/mm/ |
D | mmu_gather.c | 18 static bool tlb_next_batch(struct mmu_gather *tlb) in tlb_next_batch() 73 void tlb_flush_rmaps(struct mmu_gather *tlb, struct vm_area_struct *vma) in tlb_flush_rmaps() 85 static void tlb_batch_pages_flush(struct mmu_gather *tlb) in tlb_batch_pages_flush() 108 static void tlb_batch_list_free(struct mmu_gather *tlb) in tlb_batch_list_free() 119 bool __tlb_remove_page_size(struct mmu_gather *tlb, struct encoded_page *page, int page_size) in __tlb_remove_page_size() 229 static inline void tlb_table_invalidate(struct mmu_gather *tlb) in tlb_table_invalidate() 247 static void tlb_table_flush(struct mmu_gather *tlb) in tlb_table_flush() 258 void tlb_remove_table(struct mmu_gather *tlb, void *table) in tlb_remove_table() 277 static inline void tlb_table_init(struct mmu_gather *tlb) in tlb_table_init() 284 static inline void tlb_table_flush(struct mmu_gather *tlb) { } in tlb_table_flush() [all …]
|
D | mprotect.c | 83 static long change_pte_range(struct mmu_gather *tlb, in change_pte_range() 353 static inline long change_pmd_range(struct mmu_gather *tlb, in change_pmd_range() 437 static inline long change_pud_range(struct mmu_gather *tlb, in change_pud_range() 460 static inline long change_p4d_range(struct mmu_gather *tlb, in change_p4d_range() 483 static long change_protection_range(struct mmu_gather *tlb, in change_protection_range() 513 long change_protection(struct mmu_gather *tlb, in change_protection() 575 mprotect_fixup(struct vma_iterator *vmi, struct mmu_gather *tlb, in mprotect_fixup() 699 struct mmu_gather tlb; in do_mprotect_pkey() local
|
D | madvise.c | 41 struct mmu_gather *tlb; member 347 struct mmu_gather *tlb = private->tlb; in madvise_cold_or_pageout_pte_range() local 544 static void madvise_cold_page_range(struct mmu_gather *tlb, in madvise_cold_page_range() 568 struct mmu_gather tlb; in madvise_cold() local 582 static void madvise_pageout_page_range(struct mmu_gather *tlb, in madvise_pageout_page_range() 601 struct mmu_gather tlb; in madvise_pageout() local 629 struct mmu_gather *tlb = walk->private; in madvise_free_pte_range() local 773 struct mmu_gather tlb; in madvise_free_single_vma() local
|
/linux-6.6.21/arch/s390/include/asm/ |
D | tlb.h | 48 static inline bool __tlb_remove_page_size(struct mmu_gather *tlb, in __tlb_remove_page_size() 56 static inline void tlb_flush(struct mmu_gather *tlb) in tlb_flush() 65 static inline void pte_free_tlb(struct mmu_gather *tlb, pgtable_t pte, in pte_free_tlb() 87 static inline void pmd_free_tlb(struct mmu_gather *tlb, pmd_t *pmd, in pmd_free_tlb() 107 static inline void p4d_free_tlb(struct mmu_gather *tlb, p4d_t *p4d, in p4d_free_tlb() 125 static inline void pud_free_tlb(struct mmu_gather *tlb, pud_t *pud, in pud_free_tlb()
|
/linux-6.6.21/arch/arm64/include/asm/ |
D | tlb.h | 29 static inline int tlb_get_level(struct mmu_gather *tlb) in tlb_get_level() 53 static inline void tlb_flush(struct mmu_gather *tlb) in tlb_flush() 75 static inline void __pte_free_tlb(struct mmu_gather *tlb, pgtable_t pte, in __pte_free_tlb() 85 static inline void __pmd_free_tlb(struct mmu_gather *tlb, pmd_t *pmdp, in __pmd_free_tlb() 96 static inline void __pud_free_tlb(struct mmu_gather *tlb, pud_t *pudp, in __pud_free_tlb()
|
/linux-6.6.21/arch/arm/include/asm/ |
D | tlb.h | 23 #define tlb_flush(tlb) ((void) tlb) argument 40 __pte_free_tlb(struct mmu_gather *tlb, pgtable_t pte, unsigned long addr) in __pte_free_tlb() 59 __pmd_free_tlb(struct mmu_gather *tlb, pmd_t *pmdp, unsigned long addr) in __pmd_free_tlb()
|
/linux-6.6.21/arch/sparc/include/asm/ |
D | pgalloc_64.h | 82 static inline void pgtable_free_tlb(struct mmu_gather *tlb, void *table, bool is_page) in pgtable_free_tlb() 100 static inline void pgtable_free_tlb(struct mmu_gather *tlb, void *table, bool is_page) in pgtable_free_tlb() 106 static inline void __pte_free_tlb(struct mmu_gather *tlb, pte_t *pte, in __pte_free_tlb() 112 #define __pmd_free_tlb(tlb, pmd, addr) \ argument 115 #define __pud_free_tlb(tlb, pud, addr) \ argument
|
D | pgalloc_32.h | 51 #define __pmd_free_tlb(tlb, pmd, addr) pmd_free((tlb)->mm, pmd) argument 75 #define __pte_free_tlb(tlb, pte, addr) pte_free((tlb)->mm, pte) argument
|
/linux-6.6.21/arch/powerpc/mm/ |
D | hugetlbpage.c | 275 static void hugepd_free(struct mmu_gather *tlb, void *hugepte) in hugepd_free() 301 static inline void hugepd_free(struct mmu_gather *tlb, void *hugepte) {} in hugepd_free() 319 static void free_hugepd_range(struct mmu_gather *tlb, hugepd_t *hpdp, int pdshift, in free_hugepd_range() 347 static void hugetlb_free_pte_range(struct mmu_gather *tlb, pmd_t *pmd, in hugetlb_free_pte_range() 361 static void hugetlb_free_pmd_range(struct mmu_gather *tlb, pud_t *pud, in hugetlb_free_pmd_range() 412 static void hugetlb_free_pud_range(struct mmu_gather *tlb, p4d_t *p4d, in hugetlb_free_pud_range() 458 void hugetlb_free_pgd_range(struct mmu_gather *tlb, in hugetlb_free_pgd_range()
|
/linux-6.6.21/arch/powerpc/include/asm/nohash/ |
D | pgalloc.h | 13 static inline void tlb_flush_pgtable(struct mmu_gather *tlb, in tlb_flush_pgtable() 49 static inline void pgtable_free_tlb(struct mmu_gather *tlb, void *table, int shift) in pgtable_free_tlb() 66 static inline void __pte_free_tlb(struct mmu_gather *tlb, pgtable_t table, in __pte_free_tlb()
|
/linux-6.6.21/arch/ia64/include/asm/ |
D | pgalloc.h | 39 #define __pud_free_tlb(tlb, pud, address) pud_free((tlb)->mm, pud) argument 48 #define __pmd_free_tlb(tlb, pmd, address) pmd_free((tlb)->mm, pmd) argument 62 #define __pte_free_tlb(tlb, pte, address) pte_free((tlb)->mm, pte) argument
|
/linux-6.6.21/arch/arc/include/asm/ |
D | pgalloc.h | 80 #define __pud_free_tlb(tlb, pmd, addr) pud_free((tlb)->mm, pmd) argument 91 #define __pmd_free_tlb(tlb, pmd, addr) pmd_free((tlb)->mm, pmd) argument 95 #define __pte_free_tlb(tlb, pte, addr) pte_free((tlb)->mm, pte) argument
|
/linux-6.6.21/arch/powerpc/include/asm/book3s/32/ |
D | pgalloc.h | 25 #define __pmd_free_tlb(tlb,x,a) do { } while (0) argument 52 static inline void pgtable_free_tlb(struct mmu_gather *tlb, in pgtable_free_tlb() 69 static inline void __pte_free_tlb(struct mmu_gather *tlb, pgtable_t table, in __pte_free_tlb()
|
/linux-6.6.21/arch/loongarch/include/asm/ |
D | pgalloc.h | 47 #define __pte_free_tlb(tlb, pte, address) \ argument 74 #define __pmd_free_tlb(tlb, x, addr) pmd_free((tlb)->mm, x) argument 93 #define __pud_free_tlb(tlb, x, addr) pud_free((tlb)->mm, x) argument
|
/linux-6.6.21/arch/alpha/include/asm/ |
D | tlb.h | 7 #define __pte_free_tlb(tlb, pte, address) pte_free((tlb)->mm, pte) argument 8 #define __pmd_free_tlb(tlb, pmd, address) pmd_free((tlb)->mm, pmd) argument
|
/linux-6.6.21/arch/parisc/include/asm/ |
D | tlb.h | 8 #define __pmd_free_tlb(tlb, pmd, addr) pmd_free((tlb)->mm, pmd) argument 10 #define __pte_free_tlb(tlb, pte, addr) pte_free((tlb)->mm, pte) argument
|
/linux-6.6.21/arch/riscv/include/asm/ |
D | pgalloc.h | 98 #define __pud_free_tlb(tlb, pud, addr) pud_free((tlb)->mm, pud) argument 127 #define __p4d_free_tlb(tlb, p4d, addr) p4d_free((tlb)->mm, p4d) argument 152 #define __pmd_free_tlb(tlb, pmd, addr) pmd_free((tlb)->mm, pmd) argument 156 #define __pte_free_tlb(tlb, pte, buf) \ argument
|
/linux-6.6.21/arch/mips/include/asm/ |
D | pgalloc.h | 57 #define __pte_free_tlb(tlb, pte, address) \ argument 84 #define __pmd_free_tlb(tlb, x, addr) pmd_free((tlb)->mm, x) argument 109 #define __pud_free_tlb(tlb, x, addr) pud_free((tlb)->mm, x) argument
|
/linux-6.6.21/arch/um/include/asm/ |
D | pgalloc.h | 28 #define __pte_free_tlb(tlb, pte, address) \ argument 36 #define __pmd_free_tlb(tlb, pmd, address) \ argument
|
/linux-6.6.21/arch/sh/include/asm/ |
D | pgalloc.h | 20 #define __pmd_free_tlb(tlb, pmdp, addr) pmd_free((tlb)->mm, (pmdp)) argument 35 #define __pte_free_tlb(tlb, pte, addr) \ argument
|
/linux-6.6.21/arch/x86/include/asm/ |
D | pgalloc.h | 58 static inline void __pte_free_tlb(struct mmu_gather *tlb, struct page *pte, in __pte_free_tlb() 90 static inline void __pmd_free_tlb(struct mmu_gather *tlb, pmd_t *pmd, in __pmd_free_tlb() 127 static inline void __pud_free_tlb(struct mmu_gather *tlb, pud_t *pud, in __pud_free_tlb() 170 static inline void __p4d_free_tlb(struct mmu_gather *tlb, p4d_t *p4d, in __p4d_free_tlb()
|
/linux-6.6.21/arch/powerpc/include/asm/book3s/64/ |
D | pgalloc.h | 136 static inline void __pud_free_tlb(struct mmu_gather *tlb, pud_t *pud, in __pud_free_tlb() 152 static inline void __pmd_free_tlb(struct mmu_gather *tlb, pmd_t *pmd, in __pmd_free_tlb() 170 static inline void __pte_free_tlb(struct mmu_gather *tlb, pgtable_t table, in __pte_free_tlb()
|
/linux-6.6.21/arch/powerpc/include/asm/nohash/64/ |
D | pgalloc.h | 62 #define __pmd_free_tlb(tlb, pmd, addr) \ argument 64 #define __pud_free_tlb(tlb, pud, addr) \ argument
|
/linux-6.6.21/arch/sparc/mm/ |
D | hugetlbpage.c | 422 static void hugetlb_free_pte_range(struct mmu_gather *tlb, pmd_t *pmd, in hugetlb_free_pte_range() 432 static void hugetlb_free_pmd_range(struct mmu_gather *tlb, pud_t *pud, in hugetlb_free_pmd_range() 469 static void hugetlb_free_pud_range(struct mmu_gather *tlb, p4d_t *p4d, in hugetlb_free_pud_range() 507 void hugetlb_free_pgd_range(struct mmu_gather *tlb, in hugetlb_free_pgd_range()
|