Home
last modified time | relevance | path

Searched refs:HPAGE_MASK (Results 1 – 23 of 23) sorted by relevance

/linux-6.6.21/arch/parisc/mm/
Dhugetlbpage.c61 addr &= HPAGE_MASK; in huge_pte_alloc()
83 addr &= HPAGE_MASK; in huge_pte_offset()
112 addr &= HPAGE_MASK; in purge_tlb_entries_huge()
128 addr &= HPAGE_MASK; in __set_huge_pte_at()
/linux-6.6.21/arch/sh/include/asm/
Dhugetlb.h16 if (len & ~HPAGE_MASK) in prepare_hugepage_range()
18 if (addr & ~HPAGE_MASK) in prepare_hugepage_range()
Dpage.h42 #define HPAGE_MASK (~(HPAGE_SIZE-1)) macro
/linux-6.6.21/arch/parisc/include/asm/
Dhugetlb.h23 if (len & ~HPAGE_MASK) in prepare_hugepage_range()
25 if (addr & ~HPAGE_MASK) in prepare_hugepage_range()
Dpage.h161 #define HPAGE_MASK (~(HPAGE_SIZE - 1)) macro
/linux-6.6.21/arch/ia64/mm/
Dhugetlbpage.c84 if (len & ~HPAGE_MASK) in prepare_hugepage_range()
86 if (addr & ~HPAGE_MASK) in prepare_hugepage_range()
136 if (len & ~HPAGE_MASK) in hugetlb_get_unmapped_area()
/linux-6.6.21/arch/mips/include/asm/
Dpage.h64 #define HPAGE_MASK (~(HPAGE_SIZE - 1)) macro
69 #define HPAGE_MASK ({BUILD_BUG(); 0; }) macro
/linux-6.6.21/arch/x86/include/asm/
Dpage_types.h25 #define HPAGE_MASK (~(HPAGE_SIZE - 1)) macro
/linux-6.6.21/arch/hexagon/include/asm/
Dpage.h48 #define HPAGE_MASK (~(HPAGE_SIZE-1)) macro
/linux-6.6.21/arch/loongarch/include/asm/
Dpage.h28 #define HPAGE_MASK (~(HPAGE_SIZE - 1)) macro
/linux-6.6.21/arch/s390/mm/
Dpgtable.c840 paddr = pmd_val(*pmdp) & HPAGE_MASK; in set_guest_storage_key()
841 paddr |= addr & ~HPAGE_MASK; in set_guest_storage_key()
951 paddr = pmd_val(*pmdp) & HPAGE_MASK; in reset_guest_reference_bit()
952 paddr |= addr & ~HPAGE_MASK; in reset_guest_reference_bit()
1015 paddr = pmd_val(*pmdp) & HPAGE_MASK; in get_guest_storage_key()
1016 paddr |= addr & ~HPAGE_MASK; in get_guest_storage_key()
Dgmap.c1080 dist = HPAGE_SIZE - (gaddr & ~HPAGE_MASK); in gmap_protect_range()
1082 gaddr = (gaddr & HPAGE_MASK) + HPAGE_SIZE; in gmap_protect_range()
2318 gaddr &= HPAGE_MASK; in gmap_pmdp_xchg()
2660 start = pmd_val(*pmd) & HPAGE_MASK; in __s390_enable_skey_hugetlb()
/linux-6.6.21/arch/powerpc/include/asm/
Dpage.h39 #define HPAGE_MASK (~(HPAGE_SIZE - 1)) macro
/linux-6.6.21/arch/sparc/include/asm/
Dpage_64.h29 #define HPAGE_MASK (~(HPAGE_SIZE - 1UL)) macro
/linux-6.6.21/arch/s390/include/asm/
Dpage.h29 #define HPAGE_MASK (~(HPAGE_SIZE - 1)) macro
Dpgtable.h1633 : [r1] "a" (sto), [r2] "a" ((addr & HPAGE_MASK)), in __pmdp_idte()
1641 : [r1] "a" (sto), [r2] "a" ((addr & HPAGE_MASK) | opt), in __pmdp_idte()
1692 VM_BUG_ON(addr & ~HPAGE_MASK); in pmdp_set_access_flags()
1717 VM_BUG_ON(addr & ~HPAGE_MASK); in pmdp_clear_flush_young()
/linux-6.6.21/arch/ia64/include/asm/
Dpage.h54 # define HPAGE_MASK (~(HPAGE_SIZE - 1)) macro
/linux-6.6.21/arch/riscv/include/asm/
Dpage.h21 #define HPAGE_MASK (~(HPAGE_SIZE - 1)) macro
/linux-6.6.21/arch/arm/include/asm/
Dpgtable-3level.h59 #define HPAGE_MASK (~(HPAGE_SIZE - 1)) macro
/linux-6.6.21/arch/sparc/mm/
Dtlb.c208 addr &= HPAGE_MASK; in __set_pmd_acct()
Dfault_64.c109 pa += tpc & ~HPAGE_MASK; in get_user_insn()
/linux-6.6.21/arch/x86/mm/
Dinit_32.c777 unsigned long size = (((unsigned long)__init_end + HPAGE_SIZE) & HPAGE_MASK) - start; in mark_nxdata_nx()
/linux-6.6.21/arch/arm64/include/asm/
Dpgtable.h376 #define HPAGE_MASK (~(HPAGE_SIZE - 1)) macro