Home
last modified time | relevance | path

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

/linux-6.1.9/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.1.9/arch/ia64/mm/
Dhugetlbpage.c84 if (len & ~HPAGE_MASK) in prepare_hugepage_range()
86 if (addr & ~HPAGE_MASK) in prepare_hugepage_range()
106 page += ((addr & ~HPAGE_MASK) >> PAGE_SHIFT); in follow_huge_addr()
151 if (len & ~HPAGE_MASK) in hugetlb_get_unmapped_area()
/linux-6.1.9/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.1.9/arch/parisc/include/asm/
Dhugetlb.h23 if (len & ~HPAGE_MASK) in prepare_hugepage_range()
25 if (addr & ~HPAGE_MASK) in prepare_hugepage_range()
Dpage.h165 #define HPAGE_MASK (~(HPAGE_SIZE - 1)) macro
/linux-6.1.9/arch/loongarch/mm/
Dhugetlbpage.c58 if (len & ~HPAGE_MASK) in is_aligned_hugepage_range()
60 if (addr & ~HPAGE_MASK) in is_aligned_hugepage_range()
/linux-6.1.9/arch/mips/include/asm/
Dpage.h64 #define HPAGE_MASK (~(HPAGE_SIZE - 1)) macro
69 #define HPAGE_MASK ({BUILD_BUG(); 0; }) macro
/linux-6.1.9/arch/x86/include/asm/
Dpage_types.h31 #define HPAGE_MASK (~(HPAGE_SIZE - 1)) macro
/linux-6.1.9/arch/s390/mm/
Dpgtable.c815 paddr = pmd_val(*pmdp) & HPAGE_MASK; in set_guest_storage_key()
816 paddr |= addr & ~HPAGE_MASK; in set_guest_storage_key()
924 paddr = pmd_val(*pmdp) & HPAGE_MASK; in reset_guest_reference_bit()
925 paddr |= addr & ~HPAGE_MASK; in reset_guest_reference_bit()
986 paddr = pmd_val(*pmdp) & HPAGE_MASK; in get_guest_storage_key()
987 paddr |= addr & ~HPAGE_MASK; in get_guest_storage_key()
Dgmap.c1069 dist = HPAGE_SIZE - (gaddr & ~HPAGE_MASK); in gmap_protect_range()
1071 gaddr = (gaddr & HPAGE_MASK) + HPAGE_SIZE; in gmap_protect_range()
2302 gaddr &= HPAGE_MASK; in gmap_pmdp_xchg()
2643 start = pmd_val(*pmd) & HPAGE_MASK; in __s390_enable_skey_hugetlb()
/linux-6.1.9/arch/hexagon/include/asm/
Dpage.h48 #define HPAGE_MASK (~(HPAGE_SIZE-1)) macro
/linux-6.1.9/arch/loongarch/include/asm/
Dpage.h28 #define HPAGE_MASK (~(HPAGE_SIZE - 1)) macro
/linux-6.1.9/arch/powerpc/include/asm/
Dpage.h38 #define HPAGE_MASK (~(HPAGE_SIZE - 1)) macro
/linux-6.1.9/arch/sparc/include/asm/
Dpage_64.h29 #define HPAGE_MASK (~(HPAGE_SIZE - 1UL)) macro
/linux-6.1.9/arch/s390/include/asm/
Dpage.h29 #define HPAGE_MASK (~(HPAGE_SIZE - 1)) macro
Dpgtable.h1555 : [r1] "a" (sto), [r2] "a" ((addr & HPAGE_MASK)), in __pmdp_idte()
1563 : [r1] "a" (sto), [r2] "a" ((addr & HPAGE_MASK) | opt), in __pmdp_idte()
1614 VM_BUG_ON(addr & ~HPAGE_MASK); in pmdp_set_access_flags()
1639 VM_BUG_ON(addr & ~HPAGE_MASK); in pmdp_clear_flush_young()
/linux-6.1.9/arch/riscv/include/asm/
Dpage.h26 #define HPAGE_MASK (~(HPAGE_SIZE - 1)) macro
/linux-6.1.9/arch/ia64/include/asm/
Dpage.h54 # define HPAGE_MASK (~(HPAGE_SIZE - 1)) macro
/linux-6.1.9/arch/arm/include/asm/
Dpgtable-3level.h59 #define HPAGE_MASK (~(HPAGE_SIZE - 1)) macro
/linux-6.1.9/arch/sparc/mm/
Dtlb.c204 addr &= HPAGE_MASK; in __set_pmd_acct()
Dfault_64.c108 pa += tpc & ~HPAGE_MASK; in get_user_insn()
/linux-6.1.9/arch/x86/mm/
Dinit_32.c790 unsigned long size = (((unsigned long)__init_end + HPAGE_SIZE) & HPAGE_MASK) - start; in mark_nxdata_nx()
/linux-6.1.9/arch/arm64/include/asm/
Dpgtable.h372 #define HPAGE_MASK (~(HPAGE_SIZE - 1)) macro