Searched refs:HPAGE_MASK (Results 1 – 24 of 24) 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()
66 if (len & ~HPAGE_MASK) in is_aligned_hugepage_range()68 if (addr & ~HPAGE_MASK) in is_aligned_hugepage_range()
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
38 #define HPAGE_MASK (~(HPAGE_SIZE - 1)) macro
792 paddr = pmd_val(*pmdp) & HPAGE_MASK; in set_guest_storage_key()793 paddr |= addr & ~HPAGE_MASK; in set_guest_storage_key()895 paddr = pmd_val(*pmdp) & HPAGE_MASK; in reset_guest_reference_bit()896 paddr |= addr & ~HPAGE_MASK; in reset_guest_reference_bit()951 paddr = pmd_val(*pmdp) & HPAGE_MASK; in get_guest_storage_key()952 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()2629 start = pmd_val(*pmd) & HPAGE_MASK; in __s390_enable_skey_hugetlb()
475 address &= HPAGE_MASK; in do_exception()
29 #define HPAGE_MASK (~(HPAGE_SIZE - 1UL)) macro
27 #define HPAGE_MASK (~(HPAGE_SIZE - 1)) macro
1499 : [r1] "a" (sto), [r2] "a" ((addr & HPAGE_MASK)), in __pmdp_idte()1507 : [r1] "a" (sto), [r2] "a" ((addr & HPAGE_MASK) | opt), in __pmdp_idte()1558 VM_BUG_ON(addr & ~HPAGE_MASK); in pmdp_set_access_flags()1583 VM_BUG_ON(addr & ~HPAGE_MASK); in pmdp_clear_flush_young()
54 # define HPAGE_MASK (~(HPAGE_SIZE - 1)) macro
203 addr &= HPAGE_MASK; in __set_pmd_acct()
108 pa += tpc & ~HPAGE_MASK; in get_user_insn()
59 #define HPAGE_MASK (~(HPAGE_SIZE - 1)) macro
843 unsigned long size = (((unsigned long)__init_end + HPAGE_SIZE) & HPAGE_MASK) - start; in mark_nxdata_nx()
340 #define HPAGE_MASK (~(HPAGE_SIZE - 1)) macro