Searched refs:HPAGE_MASK (Results 1 – 24 of 24) sorted by relevance
22 if (len & ~HPAGE_MASK) in prepare_hugepage_range()24 if (addr & ~HPAGE_MASK) in prepare_hugepage_range()
44 #define HPAGE_MASK (~(HPAGE_SIZE-1)) macro
29 if (len & ~HPAGE_MASK) in prepare_hugepage_range()31 if (addr & ~HPAGE_MASK) in prepare_hugepage_range()
157 #define HPAGE_MASK (~(HPAGE_SIZE - 1)) macro
78 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()
60 if (len & ~HPAGE_MASK) in is_aligned_hugepage_range()62 if (addr & ~HPAGE_MASK) in is_aligned_hugepage_range()
61 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()
64 #define HPAGE_MASK (~(HPAGE_SIZE - 1)) macro69 #define HPAGE_MASK ({BUILD_BUG(); 0; }) macro
31 #define HPAGE_MASK (~(HPAGE_SIZE - 1)) macro
48 #define HPAGE_MASK (~(HPAGE_SIZE-1)) macro
26 #define HPAGE_MASK (~(HPAGE_SIZE - 1)) macro
774 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()
1064 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()
478 address &= HPAGE_MASK; in do_exception()
29 #define HPAGE_MASK (~(HPAGE_SIZE - 1UL)) macro
38 #define HPAGE_MASK (~(HPAGE_SIZE - 1)) macro
27 #define HPAGE_MASK (~(HPAGE_SIZE - 1)) macro
1477 : [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()
54 # define HPAGE_MASK (~(HPAGE_SIZE - 1)) macro
205 addr &= HPAGE_MASK; in __set_pmd_acct()
105 pa += tpc & ~HPAGE_MASK; in get_user_insn()
59 #define HPAGE_MASK (~(HPAGE_SIZE - 1)) macro
913 unsigned long size = (((unsigned long)__init_end + HPAGE_SIZE) & HPAGE_MASK) - start; in mark_nxdata_nx()
307 #define HPAGE_MASK (~(HPAGE_SIZE - 1)) macro