Home
last modified time | relevance | path

Searched refs:PUD_MASK (Results 1 – 22 of 22) sorted by relevance

/linux/include/asm-generic/
H A Dpgtable-nopud.h21 #define PUD_MASK (~(PUD_SIZE-1)) macro
/linux/arch/powerpc/include/asm/nohash/64/
H A Dpgtable-4k.h37 #define PUD_MASK (~(PUD_SIZE-1)) macro
/linux/arch/x86/include/asm/
H A Dpgtable_64_types.h85 #define PUD_MASK (~(PUD_SIZE - 1)) macro
/linux/arch/um/include/asm/
H A Dpgtable-4level.h24 #define PUD_MASK (~(PUD_SIZE-1)) macro
/linux/arch/x86/mm/
H A Dkaslr.c150 entropy = (rand % (entropy + 1)) & PUD_MASK; in kernel_randomize_memory()
H A Dpti.c349 WARN_ON_ONCE(addr & ~PUD_MASK); in pti_clone_pgtable()
/linux/arch/arc/include/asm/
H A Dpgtable-levels.h76 #define PUD_MASK (~(PUD_SIZE - 1)) macro
/linux/arch/x86/mm/pat/
H A Dset_memory.c869 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 Dvmem.c339 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 Dpgtable-64.h37 #define PUD_MASK (~(PUD_SIZE - 1)) macro
H A Dpgtable.h780 return ((__pud_to_phys(pud) & PUD_MASK) >> PAGE_SHIFT); in pud_pfn()
/linux/arch/s390/include/asm/
H A Dpgtable.h386 #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 Dbook3s_64_mmu_radix.c662 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 Dpgtable.h43 #define PUD_MASK (~(PUD_SIZE-1)) macro
/linux/mm/
H A Dhmm.c523 pfn = pud_pfn(pud) + ((addr & ~PUD_MASK) >> PAGE_SHIFT); in hmm_vma_walk_pud()
H A Dhugetlb.c4753 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 Dmemory.c202 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 Dhuge_memory.c1795 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 Dvmalloc.c834 return pud_page(*pud) + ((addr & ~PUD_MASK) >> PAGE_SHIFT); in vmalloc_to_page()
/linux/arch/powerpc/include/asm/book3s/64/
H A Dpgtable.h215 #define PUD_MASK (~(PUD_SIZE-1)) macro
/linux/arch/arm64/include/asm/
H A Dpgtable.h654 #define pud_pfn(pud) ((__pud_to_phys(pud) & PUD_MASK) >> PAGE_SHIFT)
/linux/arch/x86/xen/
H A Dmmu_pv.c1930 return pa + (vaddr & ~PUD_MASK); in xen_early_virt_to_phys()