Home
last modified time | relevance | path

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

12

/linux-6.15/arch/x86/include/asm/
H A Dpage_types.h18 #define PHYSICAL_PUD_PAGE_MASK (((signed long)PUD_MASK) & __PHYSICAL_MASK)
H A Dpgtable_64_types.h102 #define PUD_MASK (~(PUD_SIZE - 1)) macro
/linux-6.15/arch/x86/mm/
H A Dident_map.c115 use_gbpage &= ((addr & ~PUD_MASK) == 0); in ident_pud_init()
117 use_gbpage &= ((next & ~PUD_MASK) == 0); in ident_pud_init()
H A Dkaslr.c150 entropy = (rand % (entropy + 1)) & PUD_MASK; in kernel_randomize_memory()
H A Dpti.c337 WARN_ON_ONCE(addr & ~PUD_MASK); in pti_clone_pgtable()
H A Dinit_64.c608 paddr_next = (paddr & PUD_MASK) + PUD_SIZE; in phys_pud_init()
612 !e820__mapped_any(paddr & PUD_MASK, paddr_next, in phys_pud_init()
614 !e820__mapped_any(paddr & PUD_MASK, paddr_next, in phys_pud_init()
/linux-6.15/include/asm-generic/
H A Dpgtable-nopud.h21 #define PUD_MASK (~(PUD_SIZE-1)) macro
/linux-6.15/arch/powerpc/include/asm/nohash/64/
H A Dpgtable-4k.h37 #define PUD_MASK (~(PUD_SIZE-1)) macro
/linux-6.15/arch/sparc/mm/
H A Dhugetlbpage.c329 start &= PUD_MASK; in hugetlb_free_pmd_range()
333 ceiling &= PUD_MASK; in hugetlb_free_pmd_range()
/linux-6.15/arch/um/include/asm/
H A Dpgtable-4level.h24 #define PUD_MASK (~(PUD_SIZE-1)) macro
/linux-6.15/arch/arc/include/asm/
H A Dpgtable-levels.h76 #define PUD_MASK (~(PUD_SIZE - 1)) macro
/linux-6.15/arch/s390/mm/
H A Dpageattr.c254 new = __pud(pud_val(new) & PUD_MASK); in modify_pud_page()
275 need_split |= !!(addr & ~PUD_MASK); in walk_pud_level()
H A Dhugetlbpage.c151 paddr = rste & PUD_MASK; in clear_huge_pte_skeys()
/linux-6.15/arch/x86/mm/pat/
H A Dset_memory.c869 offset = virt_addr & ~PUD_MASK; in slow_virt_to_phys()
1167 lpaddr = address & PUD_MASK; in __split_large_page()
1328 addr &= PUD_MASK; in collapse_pud_page()
1337 if (!pmd_leaf(first) || (PFN_PHYS(pfn) & ~PUD_MASK)) in collapse_pud_page()
1508 unsigned long next_page = (start + PUD_SIZE) & PUD_MASK; in unmap_pud_range()
1672 unsigned long next_page = (start + PUD_SIZE) & PUD_MASK; in populate_pud()
/linux-6.15/arch/mips/include/asm/
H A Dpgtable-64.h61 #define PUD_MASK (~(PUD_SIZE-1)) macro
/linux-6.15/arch/x86/platform/efi/
H A Defi_64.c133 BUILD_BUG_ON((EFI_VA_START & ~PUD_MASK) != 0); in efi_sync_low_kernel_mappings()
134 BUILD_BUG_ON((EFI_VA_END & ~PUD_MASK) != 0); in efi_sync_low_kernel_mappings()
/linux-6.15/arch/riscv/include/asm/
H A Dpgtable-64.h37 #define PUD_MASK (~(PUD_SIZE - 1)) macro
/linux-6.15/arch/arm64/include/asm/
H A Dpgtable-hwdef.h67 #define PUD_MASK (~(PUD_SIZE-1)) macro
/linux-6.15/arch/arm64/mm/
H A Dmmu.c361 ((addr | next | phys) & ~PUD_MASK) == 0 && in alloc_init_pud()
1044 if (!pgtable_range_aligned(start, end, floor, ceiling, PUD_MASK)) in free_empty_pmd_table()
1210 VM_BUG_ON(phys & ~PUD_MASK); in pud_set_huge()
/linux-6.15/arch/riscv/mm/
H A Dpageattr.c148 vaddr <= (vaddr & PUD_MASK) && end >= next) in __split_linear_mapping_pud()
/linux-6.15/arch/s390/include/asm/
H A Dpgtable.h384 #define PUD_MASK _REGION3_MASK macro
1751 : [r1] "a" (r3o), [r2] "a" ((addr & PUD_MASK)), in __pudp_idte()
1759 : [r1] "a" (r3o), [r2] "a" ((addr & PUD_MASK) | opt), in __pudp_idte()
/linux-6.15/mm/
H A Dhmm.c450 pfn = pud_pfn(pud) + ((addr & ~PUD_MASK) >> PAGE_SHIFT); in hmm_vma_walk_pud()
/linux-6.15/drivers/dax/
H A Ddevice.c184 unsigned long pud_addr = vmf->address & PUD_MASK; in __dev_dax_pud_fault()
/linux-6.15/arch/loongarch/include/asm/
H A Dpgtable.h38 #define PUD_MASK (~(PUD_SIZE-1)) macro
/linux-6.15/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()

12