Home
last modified time | relevance | path

Searched refs:hugepage_shift (Results 1 – 7 of 7) sorted by relevance

/linux-5.19.10/arch/sparc/mm/
Dtlb.c70 bool exec, unsigned int hugepage_shift) in tlb_batch_add_one() argument
87 flush_tsb_user_page(mm, vaddr, hugepage_shift); in tlb_batch_add_one()
94 tb->hugepage_shift = hugepage_shift; in tlb_batch_add_one()
97 if (tb->hugepage_shift != hugepage_shift) { in tlb_batch_add_one()
99 tb->hugepage_shift = hugepage_shift; in tlb_batch_add_one()
114 unsigned int hugepage_shift) in tlb_batch_add() argument
141 tlb_batch_add_one(mm, vaddr, pte_exec(orig), hugepage_shift); in tlb_batch_add()
Dtsb.c96 unsigned int hugepage_shift) in __flush_huge_tsb_one_entry() argument
101 hpage_entries = 1 << (hugepage_shift - hash_shift); in __flush_huge_tsb_one_entry()
109 unsigned int hugepage_shift) in __flush_huge_tsb_one() argument
115 nentries, hugepage_shift); in __flush_huge_tsb_one()
126 if (tb->hugepage_shift < REAL_HPAGE_SHIFT) { in flush_tsb_user()
131 if (tb->hugepage_shift == PAGE_SHIFT) in flush_tsb_user()
136 tb->hugepage_shift); in flush_tsb_user()
146 tb->hugepage_shift); in flush_tsb_user()
153 unsigned int hugepage_shift) in flush_tsb_user_page() argument
159 if (hugepage_shift < REAL_HPAGE_SHIFT) { in flush_tsb_user_page()
[all …]
Dinit_64.c354 unsigned int hugepage_shift = ilog2(size); in arch_hugetlb_valid_size() local
358 switch (hugepage_shift) { in arch_hugetlb_valid_size()
/linux-5.19.10/arch/powerpc/include/asm/
Dpte-walk.h43 int hugepage_shift; in ppc_find_vmap_phys() local
49 ptep = find_init_mm_pte(addr, &hugepage_shift); in ppc_find_vmap_phys()
55 if (!hugepage_shift) in ppc_find_vmap_phys()
56 hugepage_shift = PAGE_SHIFT; in ppc_find_vmap_phys()
58 pa |= addr & ((1ul << hugepage_shift) - 1); in ppc_find_vmap_phys()
/linux-5.19.10/arch/sparc/include/asm/
Dtlbflush_64.h12 unsigned int hugepage_shift; member
22 unsigned int hugepage_shift);
Dpgtable_64.h894 unsigned int hugepage_shift);
898 unsigned int hugepage_shift) in maybe_tlb_batch_add() argument
907 tlb_batch_add(mm, vaddr, ptep, orig, fullmm, hugepage_shift); in maybe_tlb_batch_add()
/linux-5.19.10/arch/powerpc/mm/book3s64/
Dhash_tlb.c192 int hugepage_shift; in __flush_hash_table_range() local
210 pte_t *ptep = find_init_mm_pte(start, &hugepage_shift); in __flush_hash_table_range()
218 hpte_need_flush(&init_mm, start, ptep, pte, hugepage_shift); in __flush_hash_table_range()