Home
last modified time | relevance | path

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

/arch/sh/include/asm/
Dhugetlb.h22 if (len & ~HPAGE_MASK) in prepare_hugepage_range()
24 if (addr & ~HPAGE_MASK) in prepare_hugepage_range()
Dpage.h44 #define HPAGE_MASK (~(HPAGE_SIZE-1)) macro
/arch/parisc/include/asm/
Dhugetlb.h29 if (len & ~HPAGE_MASK) in prepare_hugepage_range()
31 if (addr & ~HPAGE_MASK) in prepare_hugepage_range()
Dpage.h157 #define HPAGE_MASK (~(HPAGE_SIZE - 1)) macro
/arch/ia64/mm/
Dhugetlbpage.c78 if (len & ~HPAGE_MASK) in prepare_hugepage_range()
80 if (addr & ~HPAGE_MASK) in prepare_hugepage_range()
100 page += ((addr & ~HPAGE_MASK) >> PAGE_SHIFT); in follow_huge_addr()
145 if (len & ~HPAGE_MASK) in hugetlb_get_unmapped_area()
/arch/mips/mm/
Dhugetlbpage.c60 if (len & ~HPAGE_MASK) in is_aligned_hugepage_range()
62 if (addr & ~HPAGE_MASK) in is_aligned_hugepage_range()
/arch/parisc/mm/
Dhugetlbpage.c61 addr &= HPAGE_MASK; in huge_pte_alloc()
81 addr &= HPAGE_MASK; in huge_pte_offset()
107 addr &= HPAGE_MASK; in purge_tlb_entries_huge()
123 addr &= HPAGE_MASK; in __set_huge_pte_at()
/arch/mips/include/asm/
Dpage.h64 #define HPAGE_MASK (~(HPAGE_SIZE - 1)) macro
69 #define HPAGE_MASK ({BUILD_BUG(); 0; }) macro
/arch/x86/include/asm/
Dpage_types.h31 #define HPAGE_MASK (~(HPAGE_SIZE - 1)) macro
/arch/hexagon/include/asm/
Dpage.h48 #define HPAGE_MASK (~(HPAGE_SIZE-1)) macro
/arch/riscv/include/asm/
Dpage.h26 #define HPAGE_MASK (~(HPAGE_SIZE - 1)) macro
/arch/s390/mm/
Dpgtable.c774 paddr = pmd_val(*pmdp) & HPAGE_MASK; in set_guest_storage_key()
775 paddr |= addr & ~HPAGE_MASK; in set_guest_storage_key()
877 paddr = pmd_val(*pmdp) & HPAGE_MASK; in reset_guest_reference_bit()
878 paddr |= addr & ~HPAGE_MASK; in reset_guest_reference_bit()
933 paddr = pmd_val(*pmdp) & HPAGE_MASK; in get_guest_storage_key()
934 paddr |= addr & ~HPAGE_MASK; in get_guest_storage_key()
Dgmap.c1064 dist = HPAGE_SIZE - (gaddr & ~HPAGE_MASK); in gmap_protect_range()
1066 gaddr = (gaddr & HPAGE_MASK) + HPAGE_SIZE; in gmap_protect_range()
2290 gaddr &= HPAGE_MASK; in gmap_pmdp_xchg()
2612 start = pmd_val(*pmd) & HPAGE_MASK; in __s390_enable_skey_hugetlb()
Dfault.c478 address &= HPAGE_MASK; in do_exception()
/arch/sparc/include/asm/
Dpage_64.h29 #define HPAGE_MASK (~(HPAGE_SIZE - 1UL)) macro
/arch/powerpc/include/asm/
Dpage.h38 #define HPAGE_MASK (~(HPAGE_SIZE - 1)) macro
/arch/s390/include/asm/
Dpage.h27 #define HPAGE_MASK (~(HPAGE_SIZE - 1)) macro
Dpgtable.h1477 : [r1] "a" (sto), [r2] "a" ((addr & HPAGE_MASK)), in __pmdp_idte()
1485 : [r1] "a" (sto), [r2] "a" ((addr & HPAGE_MASK) | opt), in __pmdp_idte()
1536 VM_BUG_ON(addr & ~HPAGE_MASK); in pmdp_set_access_flags()
1561 VM_BUG_ON(addr & ~HPAGE_MASK); in pmdp_clear_flush_young()
/arch/ia64/include/asm/
Dpage.h54 # define HPAGE_MASK (~(HPAGE_SIZE - 1)) macro
/arch/sparc/mm/
Dtlb.c205 addr &= HPAGE_MASK; in __set_pmd_acct()
Dfault_64.c105 pa += tpc & ~HPAGE_MASK; in get_user_insn()
/arch/arm/include/asm/
Dpgtable-3level.h59 #define HPAGE_MASK (~(HPAGE_SIZE - 1)) macro
/arch/x86/mm/
Dinit_32.c913 unsigned long size = (((unsigned long)__init_end + HPAGE_SIZE) & HPAGE_MASK) - start; in mark_nxdata_nx()
/arch/arm64/include/asm/
Dpgtable.h307 #define HPAGE_MASK (~(HPAGE_SIZE - 1)) macro