Home
last modified time | relevance | path

Searched refs:HPAGE_PMD_MASK (Results 1 – 14 of 14) sorted by relevance

/linux-6.6.21/mm/
Dpgtable-generic.c114 VM_BUG_ON(address & ~HPAGE_PMD_MASK); in pmdp_set_access_flags()
128 VM_BUG_ON(address & ~HPAGE_PMD_MASK); in pmdp_clear_flush_young()
141 VM_BUG_ON(address & ~HPAGE_PMD_MASK); in pmdp_huge_clear_flush()
225 VM_BUG_ON(address & ~HPAGE_PMD_MASK); in pmdp_collapse_flush()
Dkhugepaged.c1094 VM_BUG_ON(address & ~HPAGE_PMD_MASK); in collapse_huge_page()
1255 VM_BUG_ON(address & ~HPAGE_PMD_MASK); in hpage_collapse_scan_pmd()
1474 unsigned long haddr = addr & HPAGE_PMD_MASK; in collapse_pte_mapped_thp()
1702 if (addr & ~HPAGE_PMD_MASK || in retract_page_tables()
2383 VM_BUG_ON(khugepaged_scan.address & ~HPAGE_PMD_MASK); in khugepaged_scan_mm_slot()
2720 hstart = (start + ~HPAGE_PMD_MASK) & HPAGE_PMD_MASK; in madvise_collapse()
2721 hend = end & HPAGE_PMD_MASK; in madvise_collapse()
2737 hend = min(hend, vma->vm_end & HPAGE_PMD_MASK); in madvise_collapse()
Dhuge_memory.c652 unsigned long haddr = vmf->address & HPAGE_PMD_MASK; in __do_huge_pmd_anonymous_page()
779 unsigned long haddr = vmf->address & HPAGE_PMD_MASK; in do_huge_pmd_anonymous_page()
1017 if (pmdp_set_access_flags(vma, addr & HPAGE_PMD_MASK, in touch_pmd()
1295 unsigned long haddr = vmf->address & HPAGE_PMD_MASK; in do_huge_pmd_wp_page()
1481 page += (addr & ~HPAGE_PMD_MASK) >> PAGE_SHIFT; in follow_trans_huge_pmd()
1494 unsigned long haddr = vmf->address & HPAGE_PMD_MASK; in do_huge_pmd_numa_page()
2079 VM_BUG_ON(haddr & ~HPAGE_PMD_MASK); in __split_huge_pmd_locked()
2273 address & HPAGE_PMD_MASK, in __split_huge_pmd()
2274 (address & HPAGE_PMD_MASK) + HPAGE_PMD_SIZE); in __split_huge_pmd()
3258 unsigned long haddr = address & HPAGE_PMD_MASK; in remove_migration_pmd()
Ddebug_vm_pgtable.c240 vaddr &= HPAGE_PMD_MASK; in pmd_advanced_tests()
Dshmem.c671 index = (inode->i_size & HPAGE_PMD_MASK) >> PAGE_SHIFT; in shmem_unused_huge_shrink()
Dmemory.c4275 unsigned long haddr = vmf->address & HPAGE_PMD_MASK; in do_set_pmd()
/linux-6.6.21/include/linux/
Dhuge_mm.h73 #define HPAGE_PMD_MASK (~(HPAGE_PMD_SIZE - 1)) macro
112 haddr = addr & HPAGE_PMD_MASK; in transhuge_vma_suitable()
258 #define HPAGE_PMD_MASK ({ BUILD_BUG(); 0; }) macro
/linux-6.6.21/arch/riscv/mm/
Dpgtable.c90 VM_BUG_ON(address & ~HPAGE_PMD_MASK); in pmdp_collapse_flush()
/linux-6.6.21/arch/powerpc/mm/book3s64/
Dhash_hugepage.c76 index = (ea & ~HPAGE_PMD_MASK) >> shift; in __hash_page_thp()
Dpgtable.c182 VM_BUG_ON(addr & ~HPAGE_PMD_MASK); in pmdp_huge_get_and_clear_full()
201 VM_BUG_ON(addr & ~HPAGE_PMD_MASK); in pudp_huge_get_and_clear_full()
Dhash_pgtable.c228 VM_BUG_ON(address & ~HPAGE_PMD_MASK); in hash__pmdp_collapse_flush()
Dradix_pgtable.c1398 VM_BUG_ON(address & ~HPAGE_PMD_MASK); in radix__pmdp_collapse_flush()
Dhash_utils.c1955 s_addr = addr & HPAGE_PMD_MASK; in flush_hash_hugepage()
/linux-6.6.21/arch/x86/mm/
Dpgtable.c518 VM_BUG_ON(address & ~HPAGE_PMD_MASK); in pmdp_set_access_flags()
619 VM_BUG_ON(address & ~HPAGE_PMD_MASK); in pmdp_clear_flush_young()