Home
last modified time | relevance | path

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

12

/linux/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 Dinit_64.c622 paddr_next = (paddr & PUD_MASK) + PUD_SIZE; in phys_pud_init()
626 !e820__mapped_any(paddr & PUD_MASK, paddr_next, in phys_pud_init()
628 !e820__mapped_any(paddr & PUD_MASK, paddr_next, in phys_pud_init()
H A Dpti.c344 WARN_ON_ONCE(addr & ~PUD_MASK); in pti_clone_pgtable()
/linux/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.h85 #define PUD_MASK (~(PUD_SIZE - 1)) macro
/linux/include/asm-generic/
H A Dpgtable-nopud.h21 #define PUD_MASK (~(PUD_SIZE-1)) macro
H A Dtlb.h803 tlb_flush_pmd_range(tlb, addr & PUD_MASK, PUD_SIZE); in tlb_unshare_pmd_ptdesc()
/linux/arch/powerpc/include/asm/nohash/64/
H A Dpgtable-4k.h37 #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/arc/include/asm/
H A Dpgtable-levels.h76 #define PUD_MASK (~(PUD_SIZE - 1)) macro
/linux/arch/s390/mm/
H A Dpageattr.c245 new = __pud(pud_val(new) & PUD_MASK); in modify_pud_page()
266 need_split |= !!(addr & ~PUD_MASK); in walk_pud_level()
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/x86/mm/pat/
H A Dset_memory.c863 offset = virt_addr & ~PUD_MASK; in slow_virt_to_phys()
1161 lpaddr = address & PUD_MASK; in __split_large_page()
1325 addr &= PUD_MASK; in collapse_pud_page()
1334 if (!pmd_leaf(first) || (PFN_PHYS(pfn) & ~PUD_MASK)) in collapse_pud_page()
1505 unsigned long next_page = (start + PUD_SIZE) & PUD_MASK; in unmap_pud_range()
1669 unsigned long next_page = (start + PUD_SIZE) & PUD_MASK; in populate_pud()
/linux/arch/mips/include/asm/
H A Dpgtable-64.h61 #define PUD_MASK (~(PUD_SIZE-1)) macro
/linux/arch/arm64/include/asm/
H A Dpgtable-hwdef.h67 #define PUD_MASK (~(PUD_SIZE-1)) macro
/linux/arch/x86/platform/efi/
H A Defi_64.c134 BUILD_BUG_ON((EFI_VA_START & ~PUD_MASK) != 0); in efi_sync_low_kernel_mappings()
135 BUILD_BUG_ON((EFI_VA_END & ~PUD_MASK) != 0); in efi_sync_low_kernel_mappings()
/linux/arch/riscv/include/asm/
H A Dpgtable-64.h37 #define PUD_MASK (~(PUD_SIZE - 1)) macro
/linux/arch/s390/include/asm/
H A Dpgtable.h384 #define PUD_MASK _REGION3_MASK macro
1642 : [r1] "a" (r3o), [r2] "a" ((addr & PUD_MASK)), in __pudp_idte()
1650 : [r1] "a" (r3o), [r2] "a" ((addr & PUD_MASK) | opt), in __pudp_idte()
/linux/arch/riscv/mm/
H A Dpageattr.c148 vaddr <= (vaddr & PUD_MASK) && end >= next) in __split_linear_mapping_pud()
/linux/arch/arm64/mm/
H A Dmmu.c388 ((addr | next | phys) & ~PUD_MASK) == 0 && in alloc_init_pud()
1637 if (!pgtable_range_aligned(start, end, floor, ceiling, PUD_MASK)) in free_empty_pmd_table()
1803 VM_BUG_ON(phys & ~PUD_MASK); in pud_set_huge()
/linux/drivers/dax/
H A Ddevice.c191 unsigned long pud_addr = vmf->address & PUD_MASK; in __dev_dax_pud_fault()
/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.h39 #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()

12