Home
last modified time | relevance | path

Searched refs:_PAGE_HUGE (Results 1 – 18 of 18) sorted by relevance

/openbmc/linux/arch/loongarch/mm/
H A Dhugetlbpage.c55 return (pmd_val(pmd) & _PAGE_HUGE) != 0; in pmd_huge()
60 return (pud_val(pud) & _PAGE_HUGE) != 0; in pud_huge()
70 val = pmd_val ^ _PAGE_HUGE; in pmd_to_entrylo()
H A Dinit.c136 pmd_val(entry) |= _PAGE_HUGE | _PAGE_HGLOBAL; in vmemmap_set_pmd()
143 int huge = pmd_val(*pmd) & _PAGE_HUGE; in vmemmap_check_pmd()
H A Dtlbex.S154 xori t0, t0, _PAGE_HUGE
309 xori t0, t0, _PAGE_HUGE
463 xori t0, t0, _PAGE_HUGE
H A Dtlb.c179 if (pte_val(*ptep) & _PAGE_HUGE) { in __update_tlb()
/openbmc/linux/arch/mips/include/asm/
H A Dpgtable.h404 static inline int pte_huge(pte_t pte) { return pte_val(pte) & _PAGE_HUGE; }
408 pte_val(pte) |= _PAGE_HUGE;
420 if (pmd_val(pmd) & _PAGE_HUGE)
630 return !!(pmd_val(pmd) & _PAGE_HUGE);
635 pmd_val(pmd) |= _PAGE_HUGE;
726 pmd_val(pmd) = (pmd_val(pmd) & (_PAGE_CHG_MASK | _PAGE_HUGE)) |
755 #ifdef _PAGE_HUGE
756 #define pmd_leaf(pmd) ((pmd_val(pmd) & _PAGE_HUGE) != 0)
757 #define pud_leaf(pud) ((pud_val(pud) & _PAGE_HUGE) != 0)
H A Dpgtable-64.h249 if (unlikely(pmd_val(pmd) & _PAGE_HUGE)) in pmd_bad()
262 if (unlikely(pmd_val(pmd) & _PAGE_HUGE)) in pmd_present()
H A Dpgtable-bits.h159 # define _PAGE_HUGE (1 << _PAGE_HUGE_SHIFT) macro
H A Dpgtable-32.h133 if (unlikely(pmd_val(pmd) & _PAGE_HUGE)) in pmd_bad()
/openbmc/linux/arch/loongarch/include/asm/
H A Dpgtable.h228 if (unlikely(pmd_val(pmd) & _PAGE_HUGE)) in pmd_present()
290 #define __swp_entry_to_pmd(x) ((pmd_t) { (x).val | _PAGE_HUGE })
417 static inline int pte_huge(pte_t pte) { return pte_val(pte) & _PAGE_HUGE; } in pte_huge()
421 pte_val(pte) |= _PAGE_HUGE; in pte_mkhuge()
494 return !!(pmd_val(pmd) & _PAGE_HUGE) && pmd_present(pmd); in pmd_trans_huge()
501 pmd_val(pmd) |= _PAGE_HUGE; in pmd_mkhuge()
615 #define pmd_leaf(pmd) ((pmd_val(pmd) & _PAGE_HUGE) != 0)
616 #define pud_leaf(pud) ((pud_val(pud) & _PAGE_HUGE) != 0)
H A Dpgtable-bits.h47 #define _PAGE_HUGE (_ULCAST_(1) << _PAGE_HUGE_SHIFT) macro
78 …_HPAGE_CHG_MASK (_PAGE_MODIFIED | _PAGE_SPECIAL | _PFN_MASK | _CACHE_MASK | _PAGE_PLV | _PAGE_HUGE)
/openbmc/linux/arch/mips/mm/
H A Dhugetlbpage.c63 return (pmd_val(pmd) & _PAGE_HUGE) != 0; in pmd_huge()
68 return (pud_val(pud) & _PAGE_HUGE) != 0; in pud_huge()
H A Dtlbex.c702 uasm_il_bbit1(p, r, tmp, ilog2(_PAGE_HUGE), lid); in build_is_huge_pte()
704 uasm_i_andi(p, tmp, tmp, _PAGE_HUGE); in build_is_huge_pte()
1197 uasm_il_bbit1(p, r, scratch, ilog2(_PAGE_HUGE), label_tlb_huge_update); in build_fast_tlb_refill_handler()
1457 psn = ilog2(_PAGE_HUGE); /* bit used to indicate huge page */ in setup_pw()
/openbmc/linux/arch/powerpc/include/asm/nohash/32/
H A Dpte-8xx.h49 #define _PAGE_HUGE 0x0800 /* Copied to L1 PS bit 29 */ macro
141 return __pte(pte_val(pte) | _PAGE_SPS | _PAGE_HUGE); in pte_mkhuge()
181 if (val & _PAGE_HUGE) in pte_leaf_size()
H A Dhugetlb-8xx.h77 return __pte(pte_val(entry) | _PAGE_SPS | _PAGE_HUGE); in arch_make_huge_pte()
H A Dpgtable.h242 else if (IS_ENABLED(CONFIG_PPC_4K_PAGES) && !(val & _PAGE_HUGE)) in number_of_cells_per_pte()
/openbmc/linux/arch/powerpc/mm/ptdump/
H A D8xx.c15 .mask = _PAGE_HUGE,
16 .val = _PAGE_HUGE,
/openbmc/linux/arch/parisc/include/asm/
H A Dpgtable.h201 #define _PAGE_HUGE (1 << xlate_pabit(_PAGE_HPAGE_BIT)) macro
332 #define pte_huge(pte) (pte_val(pte) & _PAGE_HUGE)
334 (parisc_requires_coherency() ? 0 : _PAGE_HUGE)))
/openbmc/u-boot/arch/mips/include/asm/
H A Dpgtable-bits.h130 #define _PAGE_HUGE (1 << _PAGE_HUGE_SHIFT) macro