Home
last modified time | relevance | path

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

/Linux-v5.10/arch/sparc/mm/
Dtlb.c69 bool exec, unsigned int hugepage_shift) in tlb_batch_add_one() argument
86 flush_tsb_user_page(mm, vaddr, hugepage_shift); in tlb_batch_add_one()
93 tb->hugepage_shift = hugepage_shift; in tlb_batch_add_one()
96 if (tb->hugepage_shift != hugepage_shift) { in tlb_batch_add_one()
98 tb->hugepage_shift = hugepage_shift; in tlb_batch_add_one()
113 unsigned int hugepage_shift) in tlb_batch_add() argument
140 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.c353 unsigned int hugepage_shift = ilog2(size); in arch_hugetlb_valid_size() local
357 switch (hugepage_shift) { in arch_hugetlb_valid_size()
/Linux-v5.10/arch/sparc/include/asm/
Dtlbflush_64.h12 unsigned int hugepage_shift; member
22 unsigned int hugepage_shift);
Dpgtable_64.h898 unsigned int hugepage_shift);
902 unsigned int hugepage_shift) in maybe_tlb_batch_add() argument
911 tlb_batch_add(mm, vaddr, ptep, orig, fullmm, hugepage_shift); in maybe_tlb_batch_add()
/Linux-v5.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()
/Linux-v5.10/arch/powerpc/kernel/
Dio-workarounds.c58 unsigned hugepage_shift; in iowa_mem_find_bus() local
77 ptep = find_init_mm_pte(vaddr, &hugepage_shift); in iowa_mem_find_bus()
81 WARN_ON(hugepage_shift); in iowa_mem_find_bus()
Deeh.c351 int hugepage_shift; in eeh_token_to_phys() local
358 ptep = find_init_mm_pte(token, &hugepage_shift); in eeh_token_to_phys()
365 if (hugepage_shift) { in eeh_token_to_phys()
366 pa <<= hugepage_shift; in eeh_token_to_phys()
367 pa |= token & ((1ul << hugepage_shift) - 1); in eeh_token_to_phys()