Searched refs:HPAGE_PMD_MASK (Results 1 - 10 of 10) sorted by relevance

/linux-4.4.14/mm/
H A Dpgtable-generic.c107 VM_BUG_ON(address & ~HPAGE_PMD_MASK); pmdp_set_access_flags()
121 VM_BUG_ON(address & ~HPAGE_PMD_MASK); pmdp_clear_flush_young()
134 VM_BUG_ON(address & ~HPAGE_PMD_MASK); pmdp_huge_clear_flush()
147 VM_BUG_ON(address & ~HPAGE_PMD_MASK); pmdp_splitting_flush()
210 VM_BUG_ON(address & ~HPAGE_PMD_MASK); pmdp_collapse_flush()
H A Dhuge_memory.c723 unsigned long haddr = address & HPAGE_PMD_MASK; __do_huge_pmd_anonymous_page()
814 unsigned long haddr = address & HPAGE_PMD_MASK; do_huge_pmd_anonymous_page()
1003 haddr = address & HPAGE_PMD_MASK; huge_pmd_set_accessed()
1165 haddr = address & HPAGE_PMD_MASK; do_huge_pmd_wp_page()
1306 if (pmdp_set_access_flags(vma, addr & HPAGE_PMD_MASK, follow_trans_huge_pmd()
1318 page += (addr & ~HPAGE_PMD_MASK) >> PAGE_SHIFT; follow_trans_huge_pmd()
1334 unsigned long haddr = addr & HPAGE_PMD_MASK; do_huge_pmd_numa_page()
1507 if ((old_addr & ~HPAGE_PMD_MASK) || move_huge_pmd()
1508 (new_addr & ~HPAGE_PMD_MASK) || move_huge_pmd()
1635 if (address & ~HPAGE_PMD_MASK) page_check_address_pmd()
2140 hstart = (vma->vm_start + ~HPAGE_PMD_MASK) & HPAGE_PMD_MASK; khugepaged_enter_vma_merge()
2141 hend = vma->vm_end & HPAGE_PMD_MASK; khugepaged_enter_vma_merge()
2521 VM_BUG_ON(address & ~HPAGE_PMD_MASK); collapse_huge_page()
2548 hstart = (vma->vm_start + ~HPAGE_PMD_MASK) & HPAGE_PMD_MASK; collapse_huge_page()
2549 hend = vma->vm_end & HPAGE_PMD_MASK; collapse_huge_page()
2653 VM_BUG_ON(address & ~HPAGE_PMD_MASK); khugepaged_scan_pmd()
2784 hstart = (vma->vm_start + ~HPAGE_PMD_MASK) & HPAGE_PMD_MASK;
2785 hend = vma->vm_end & HPAGE_PMD_MASK;
2792 VM_BUG_ON(khugepaged_scan.address & ~HPAGE_PMD_MASK);
2965 unsigned long haddr = address & HPAGE_PMD_MASK; __split_huge_page_pmd()
3025 VM_BUG_ON(!(address & ~HPAGE_PMD_MASK)); split_huge_page_address()
3055 if (start & ~HPAGE_PMD_MASK && vma_adjust_trans_huge()
3056 (start & HPAGE_PMD_MASK) >= vma->vm_start && vma_adjust_trans_huge()
3057 (start & HPAGE_PMD_MASK) + HPAGE_PMD_SIZE <= vma->vm_end) vma_adjust_trans_huge()
3065 if (end & ~HPAGE_PMD_MASK && vma_adjust_trans_huge()
3066 (end & HPAGE_PMD_MASK) >= vma->vm_start && vma_adjust_trans_huge()
3067 (end & HPAGE_PMD_MASK) + HPAGE_PMD_SIZE <= vma->vm_end) vma_adjust_trans_huge()
3079 if (nstart & ~HPAGE_PMD_MASK && vma_adjust_trans_huge()
3080 (nstart & HPAGE_PMD_MASK) >= next->vm_start && vma_adjust_trans_huge()
3081 (nstart & HPAGE_PMD_MASK) + HPAGE_PMD_SIZE <= next->vm_end) vma_adjust_trans_huge()
H A Dmigrate.c1748 unsigned long mmun_start = address & HPAGE_PMD_MASK; migrate_misplaced_transhuge_page()
/linux-4.4.14/include/linux/
H A Dhuge_mm.h68 #define HPAGE_PMD_MASK (~(HPAGE_PMD_SIZE - 1)) macro
169 #define HPAGE_PMD_MASK ({ BUILD_BUG(); 0; }) macro
H A Dmmu_notifier.h373 unsigned long ___haddr = __haddr & HPAGE_PMD_MASK; \
386 unsigned long ___haddr = __haddr & HPAGE_PMD_MASK; \
/linux-4.4.14/arch/powerpc/mm/
H A Dhugepage-hash64.c84 index = (ea & ~HPAGE_PMD_MASK) >> shift; __hash_page_thp()
H A Dpgtable_64.c552 VM_BUG_ON(address & ~HPAGE_PMD_MASK); pmdp_collapse_flush()
615 VM_BUG_ON(address & ~HPAGE_PMD_MASK); pmdp_splitting_flush()
H A Dhash_utils_64.c1342 s_addr = addr & HPAGE_PMD_MASK; flush_hash_hugepage()
/linux-4.4.14/arch/x86/mm/
H A Dpgtable.c430 VM_BUG_ON(address & ~HPAGE_PMD_MASK); pmdp_set_access_flags()
504 VM_BUG_ON(address & ~HPAGE_PMD_MASK); pmdp_clear_flush_young()
517 VM_BUG_ON(address & ~HPAGE_PMD_MASK); pmdp_splitting_flush()
/linux-4.4.14/arch/s390/mm/
H A Dpgtable.c1260 VM_BUG_ON(address & ~HPAGE_PMD_MASK); pmdp_clear_flush_young()
1270 VM_BUG_ON(address & ~HPAGE_PMD_MASK); pmdp_set_access_flags()
1290 VM_BUG_ON(address & ~HPAGE_PMD_MASK); pmdp_splitting_flush()

Completed in 316 milliseconds