| /linux/include/asm-generic/ |
| H A D | pgtable-nopud.h | 21 #define PUD_MASK (~(PUD_SIZE-1)) macro
|
| /linux/arch/powerpc/include/asm/nohash/64/ |
| H A D | pgtable-4k.h | 37 #define PUD_MASK (~(PUD_SIZE-1)) macro
|
| /linux/arch/x86/include/asm/ |
| H A D | pgtable_64_types.h | 85 #define PUD_MASK (~(PUD_SIZE - 1)) macro
|
| /linux/arch/um/include/asm/ |
| H A D | pgtable-4level.h | 24 #define PUD_MASK (~(PUD_SIZE-1)) macro
|
| /linux/arch/x86/mm/ |
| H A D | kaslr.c | 150 entropy = (rand % (entropy + 1)) & PUD_MASK; in kernel_randomize_memory()
|
| H A D | pti.c | 349 WARN_ON_ONCE(addr & ~PUD_MASK); in pti_clone_pgtable()
|
| /linux/arch/arc/include/asm/ |
| H A D | pgtable-levels.h | 76 #define PUD_MASK (~(PUD_SIZE - 1)) macro
|
| /linux/arch/x86/mm/pat/ |
| H A D | set_memory.c | 869 offset = virt_addr & ~PUD_MASK; in slow_virt_to_phys() 1168 lpaddr = address & PUD_MASK; in __split_large_page() 1332 addr &= PUD_MASK; in collapse_pud_page() 1341 if (!pmd_leaf(first) || (PFN_PHYS(pfn) & ~PUD_MASK)) in collapse_pud_page() 1512 unsigned long next_page = (start + PUD_SIZE) & PUD_MASK; in unmap_pud_range() 1680 unsigned long next_page = (start + PUD_SIZE) & PUD_MASK; in populate_pud()
|
| /linux/arch/s390/mm/ |
| H A D | vmem.c | 339 split_pud_page(pud, addr & PUD_MASK); in modify_pud_table() 362 try_free_pmd_table(pud, addr & PUD_MASK); in modify_pud_table()
|
| /linux/arch/riscv/include/asm/ |
| H A D | pgtable-64.h | 37 #define PUD_MASK (~(PUD_SIZE - 1)) macro
|
| H A D | pgtable.h | 780 return ((__pud_to_phys(pud) & PUD_MASK) >> PAGE_SHIFT); in pud_pfn()
|
| /linux/arch/s390/include/asm/ |
| H A D | pgtable.h | 386 #define PUD_MASK _REGION3_MASK macro 1650 : [r1] "a" (r3o), [r2] "a" ((addr & PUD_MASK)), in __pudp_idte() 1658 : [r1] "a" (r3o), [r2] "a" ((addr & PUD_MASK) | opt), in __pudp_idte()
|
| /linux/arch/powerpc/kvm/ |
| H A D | book3s_64_mmu_radix.c | 662 unsigned long hgpa = gpa & PUD_MASK; in kvmppc_create_pte() 1374 gpa = (gpa & PUD_MASK) + PUD_SIZE; in debugfs_radix_read()
|
| /linux/arch/loongarch/include/asm/ |
| H A D | pgtable.h | 43 #define PUD_MASK (~(PUD_SIZE-1)) macro
|
| /linux/mm/ |
| H A D | hmm.c | 523 pfn = pud_pfn(pud) + ((addr & ~PUD_MASK) >> PAGE_SHIFT); in hmm_vma_walk_pud()
|
| H A D | hugetlb.c | 4753 if (addr & ~PUD_MASK) { in hugetlb_split() 4754 unsigned long floor = addr & PUD_MASK; in hugetlb_split() 6783 unsigned long sbase = saddr & PUD_MASK; in page_table_shareable() 6807 unsigned long start = addr & PUD_MASK; in want_pmd_share()
|
| H A D | memory.c | 202 start &= PUD_MASK; in free_pmd_range() 206 ceiling &= PUD_MASK; in free_pmd_range() 6926 pud_pfn(pud), PUD_MASK, pud_write(pud), in follow_pfnmap_start()
|
| H A D | huge_memory.c | 1795 unsigned long addr = vmf->address & PUD_MASK; in vmf_insert_pfn_pud() 1830 unsigned long addr = vmf->address & PUD_MASK; in vmf_insert_folio_pud()
|
| H A D | vmalloc.c | 834 return pud_page(*pud) + ((addr & ~PUD_MASK) >> PAGE_SHIFT); in vmalloc_to_page()
|
| /linux/arch/powerpc/include/asm/book3s/64/ |
| H A D | pgtable.h | 215 #define PUD_MASK (~(PUD_SIZE-1)) macro
|
| /linux/arch/arm64/include/asm/ |
| H A D | pgtable.h | 654 #define pud_pfn(pud) ((__pud_to_phys(pud) & PUD_MASK) >> PAGE_SHIFT)
|
| /linux/arch/x86/xen/ |
| H A D | mmu_pv.c | 1930 return pa + (vaddr & ~PUD_MASK); in xen_early_virt_to_phys()
|