Home
last modified time | relevance | path

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

/Linux-v6.6/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-v6.6/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
143 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.c360 unsigned int hugepage_shift = ilog2(size); in arch_hugetlb_valid_size() local
364 switch (hugepage_shift) { in arch_hugetlb_valid_size()
/Linux-v6.6/arch/riscv/mm/
Dhugetlbpage.c186 unsigned long hugepage_shift; in set_huge_pte_at() local
190 hugepage_shift = PGDIR_SHIFT; in set_huge_pte_at()
192 hugepage_shift = P4D_SHIFT; in set_huge_pte_at()
194 hugepage_shift = PUD_SHIFT; in set_huge_pte_at()
196 hugepage_shift = PMD_SHIFT; in set_huge_pte_at()
198 hugepage_shift = PAGE_SHIFT; in set_huge_pte_at()
200 pte_num = sz >> hugepage_shift; in set_huge_pte_at()
201 for (i = 0; i < pte_num; i++, ptep++, addr += (1 << hugepage_shift)) in set_huge_pte_at()
/Linux-v6.6/arch/sparc/include/asm/
Dtlbflush_64.h12 unsigned int hugepage_shift; member
22 unsigned int hugepage_shift);
Dpgtable_64.h896 unsigned int hugepage_shift);
900 unsigned int hugepage_shift) in maybe_tlb_batch_add() argument
909 tlb_batch_add(mm, vaddr, ptep, orig, fullmm, hugepage_shift); in maybe_tlb_batch_add()
/Linux-v6.6/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()