Searched refs:_PAGE_HUGE (Results 1 – 18 of 18) sorted by relevance
/openbmc/linux/arch/loongarch/mm/ |
H A D | hugetlbpage.c | 55 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 D | init.c | 136 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 D | tlbex.S | 154 xori t0, t0, _PAGE_HUGE 309 xori t0, t0, _PAGE_HUGE 463 xori t0, t0, _PAGE_HUGE
|
H A D | tlb.c | 179 if (pte_val(*ptep) & _PAGE_HUGE) { in __update_tlb()
|
/openbmc/linux/arch/mips/include/asm/ |
H A D | pgtable.h | 404 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 D | pgtable-64.h | 249 if (unlikely(pmd_val(pmd) & _PAGE_HUGE)) in pmd_bad() 262 if (unlikely(pmd_val(pmd) & _PAGE_HUGE)) in pmd_present()
|
H A D | pgtable-bits.h | 159 # define _PAGE_HUGE (1 << _PAGE_HUGE_SHIFT) macro
|
H A D | pgtable-32.h | 133 if (unlikely(pmd_val(pmd) & _PAGE_HUGE)) in pmd_bad()
|
/openbmc/linux/arch/loongarch/include/asm/ |
H A D | pgtable.h | 228 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 D | pgtable-bits.h | 47 #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 D | hugetlbpage.c | 63 return (pmd_val(pmd) & _PAGE_HUGE) != 0; in pmd_huge() 68 return (pud_val(pud) & _PAGE_HUGE) != 0; in pud_huge()
|
H A D | tlbex.c | 702 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 D | pte-8xx.h | 49 #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 D | hugetlb-8xx.h | 77 return __pte(pte_val(entry) | _PAGE_SPS | _PAGE_HUGE); in arch_make_huge_pte()
|
H A D | pgtable.h | 242 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 D | 8xx.c | 15 .mask = _PAGE_HUGE, 16 .val = _PAGE_HUGE,
|
/openbmc/linux/arch/parisc/include/asm/ |
H A D | pgtable.h | 201 #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 D | pgtable-bits.h | 130 #define _PAGE_HUGE (1 << _PAGE_HUGE_SHIFT) macro
|