Searched refs:HPAGE_MASK (Results 1 – 23 of 23) sorted by relevance
16 if (len & ~HPAGE_MASK) in prepare_hugepage_range()18 if (addr & ~HPAGE_MASK) in prepare_hugepage_range()
42 #define HPAGE_MASK (~(HPAGE_SIZE-1)) macro
23 if (len & ~HPAGE_MASK) in prepare_hugepage_range()25 if (addr & ~HPAGE_MASK) in prepare_hugepage_range()
163 #define HPAGE_MASK (~(HPAGE_SIZE - 1)) macro
61 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()
84 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()
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
38 #define HPAGE_MASK (~(HPAGE_SIZE - 1)) macro
805 paddr = pmd_val(*pmdp) & HPAGE_MASK; in set_guest_storage_key()806 paddr |= addr & ~HPAGE_MASK; in set_guest_storage_key()907 paddr = pmd_val(*pmdp) & HPAGE_MASK; in reset_guest_reference_bit()908 paddr |= addr & ~HPAGE_MASK; in reset_guest_reference_bit()972 paddr = pmd_val(*pmdp) & HPAGE_MASK; in get_guest_storage_key()973 paddr |= addr & ~HPAGE_MASK; in get_guest_storage_key()
1069 dist = HPAGE_SIZE - (gaddr & ~HPAGE_MASK); in gmap_protect_range()1071 gaddr = (gaddr & HPAGE_MASK) + HPAGE_SIZE; in gmap_protect_range()2295 gaddr &= HPAGE_MASK; in gmap_pmdp_xchg()2634 start = pmd_val(*pmd) & HPAGE_MASK; in __s390_enable_skey_hugetlb()
443 address &= HPAGE_MASK; in do_exception()
29 #define HPAGE_MASK (~(HPAGE_SIZE - 1UL)) macro
27 #define HPAGE_MASK (~(HPAGE_SIZE - 1)) macro
1494 : [r1] "a" (sto), [r2] "a" ((addr & HPAGE_MASK)), in __pmdp_idte()1502 : [r1] "a" (sto), [r2] "a" ((addr & HPAGE_MASK) | opt), in __pmdp_idte()1553 VM_BUG_ON(addr & ~HPAGE_MASK); in pmdp_set_access_flags()1578 VM_BUG_ON(addr & ~HPAGE_MASK); in pmdp_clear_flush_young()
54 # define HPAGE_MASK (~(HPAGE_SIZE - 1)) macro
26 #define HPAGE_MASK (~(HPAGE_SIZE - 1)) macro
204 addr &= HPAGE_MASK; in __set_pmd_acct()
108 pa += tpc & ~HPAGE_MASK; in get_user_insn()
59 #define HPAGE_MASK (~(HPAGE_SIZE - 1)) macro
825 unsigned long size = (((unsigned long)__init_end + HPAGE_SIZE) & HPAGE_MASK) - start; in mark_nxdata_nx()
360 #define HPAGE_MASK (~(HPAGE_SIZE - 1)) macro