Home
last modified time | relevance | path

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

12

/arch/x86/mm/
Dident_map.c30 next = (addr & PUD_MASK) + PUD_SIZE; in ident_pud_init()
40 addr &= PUD_MASK; in ident_pud_init()
Dkaslr.c127 entropy = (rand % (entropy + 1)) & PUD_MASK; in kernel_randomize_memory()
Dpti.c332 WARN_ON_ONCE(addr & ~PUD_MASK); in pti_clone_pgtable()
Dinit_64.c607 paddr_next = (paddr & PUD_MASK) + PUD_SIZE; in phys_pud_init()
611 !e820__mapped_any(paddr & PUD_MASK, paddr_next, in phys_pud_init()
613 !e820__mapped_any(paddr & PUD_MASK, paddr_next, in phys_pud_init()
/arch/x86/include/asm/
Dpage_types.h21 #define PHYSICAL_PUD_PAGE_MASK (((signed long)PUD_MASK) & __PHYSICAL_MASK)
Dpgtable_64_types.h102 #define PUD_MASK (~(PUD_SIZE - 1)) macro
/arch/powerpc/include/asm/nohash/64/
Dpgtable-4k.h37 #define PUD_MASK (~(PUD_SIZE-1)) macro
/arch/powerpc/mm/
Dhugetlbpage.c403 if (range_is_outside_limits(start, end, floor, ceiling, PUD_MASK)) in hugetlb_free_pmd_range()
406 pmd = pmd_offset(pud, start & PUD_MASK); in hugetlb_free_pmd_range()
408 pmd_free_tlb(tlb, pmd, start & PUD_MASK); in hugetlb_free_pmd_range()
/arch/arc/include/asm/
Dpgtable-levels.h76 #define PUD_MASK (~(PUD_SIZE - 1)) macro
/arch/s390/mm/
Dpageattr.c256 new = __pud(pud_val(new) & PUD_MASK); in modify_pud_page()
279 need_split |= !!(addr & ~PUD_MASK); in walk_pud_level()
Dhugetlbpage.c134 paddr = rste & PUD_MASK; in clear_huge_pte_skeys()
Dvmem.c353 try_free_pmd_table(pud, addr & PUD_MASK); in modify_pud_table()
/arch/sparc/mm/
Dhugetlbpage.c452 start &= PUD_MASK; in hugetlb_free_pmd_range()
456 ceiling &= PUD_MASK; in hugetlb_free_pmd_range()
/arch/mips/include/asm/
Dpgtable-64.h61 #define PUD_MASK (~(PUD_SIZE-1)) macro
/arch/arm64/include/asm/
Dpgtable-hwdef.h61 #define PUD_MASK (~(PUD_SIZE-1)) macro
/arch/x86/platform/efi/
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()
/arch/riscv/include/asm/
Dpgtable-64.h39 #define PUD_MASK (~(PUD_SIZE - 1)) macro
Dpgtable.h669 return ((__pud_to_phys(pud) & PUD_MASK) >> PAGE_SHIFT); in pud_pfn()
/arch/arm64/mm/
Dmmu.c346 ((addr | next | phys) & ~PUD_MASK) == 0 && in alloc_init_pud()
1039 if (!pgtable_range_aligned(start, end, floor, ceiling, PUD_MASK)) in free_empty_pmd_table()
1180 VM_BUG_ON(phys & ~PUD_MASK); in pud_set_huge()
/arch/x86/mm/pat/
Dset_memory.c817 offset = virt_addr & ~PUD_MASK; in slow_virt_to_phys()
1115 lpaddr = address & PUD_MASK; in __split_large_page()
1301 unsigned long next_page = (start + PUD_SIZE) & PUD_MASK; in unmap_pud_range()
1465 unsigned long next_page = (start + PUD_SIZE) & PUD_MASK; in populate_pud()
/arch/riscv/mm/
Dpageattr.c148 vaddr <= (vaddr & PUD_MASK) && end >= next) in __split_linear_mapping_pud()
/arch/ia64/include/asm/
Dpgtable.h115 #define PUD_MASK (~(PUD_SIZE-1)) macro
/arch/s390/include/asm/
Dpgtable.h343 #define PUD_MASK _REGION3_MASK macro
1672 : [r1] "a" (r3o), [r2] "a" ((addr & PUD_MASK)), in __pudp_idte()
1680 : [r1] "a" (r3o), [r2] "a" ((addr & PUD_MASK) | opt), in __pudp_idte()
/arch/loongarch/include/asm/
Dpgtable.h38 #define PUD_MASK (~(PUD_SIZE-1)) macro
/arch/powerpc/kvm/
Dbook3s_64_mmu_radix.c657 unsigned long hgpa = gpa & PUD_MASK; in kvmppc_create_pte()
1390 gpa = (gpa & PUD_MASK) + PUD_SIZE; in debugfs_radix_read()

12