Home
last modified time | relevance | path

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

12

/arch/x86/mm/
Dkaslr.c135 entropy = (rand % (entropy + 1)) & PUD_MASK; in kernel_randomize_memory()
171 paddr_next = (paddr & PUD_MASK) + PUD_SIZE; in init_trampoline_pud()
Dident_map.c30 next = (addr & PUD_MASK) + PUD_SIZE; in ident_pud_init()
40 addr &= PUD_MASK; in ident_pud_init()
Dinit_64.c558 paddr_next = (paddr & PUD_MASK) + PUD_SIZE; in phys_pud_init()
562 !e820__mapped_any(paddr & PUD_MASK, paddr_next, in phys_pud_init()
564 !e820__mapped_any(paddr & PUD_MASK, paddr_next, in phys_pud_init()
604 pfn_pte((paddr & PUD_MASK) >> PAGE_SHIFT, in phys_pud_init()
Dpageattr.c872 unsigned long next_page = (start + PUD_SIZE) & PUD_MASK; in unmap_pud_range()
1048 unsigned long next_page = (start + PUD_SIZE) & PUD_MASK; in populate_pud()
/arch/powerpc/include/asm/nohash/64/
Dpgtable-4k.h37 #define PUD_MASK (~(PUD_SIZE-1)) macro
/arch/x86/include/asm/
Dpgtable_64_types.h74 #define PUD_MASK (~(PUD_SIZE - 1)) macro
/arch/sparc/mm/
Dhugetlbpage.c423 start &= PUD_MASK; in hugetlb_free_pmd_range()
427 ceiling &= PUD_MASK; in hugetlb_free_pmd_range()
Dgup.c121 page = pud_page(pud) + ((addr & ~PUD_MASK) >> PAGE_SHIFT); in gup_huge_pud()
/arch/arm64/include/asm/
Dpgtable-hwdef.h70 #define PUD_MASK (~(PUD_SIZE-1)) macro
Dpgtable.h345 #define pud_pfn(pud) (((pud_val(pud) & PUD_MASK) & PHYS_MASK) >> PAGE_SHIFT)
/arch/mips/mm/
Dgup.c140 page = head + ((addr & ~PUD_MASK) >> PAGE_SHIFT); in gup_huge_pud()
/arch/mips/include/asm/
Dpgtable-64.h67 #define PUD_MASK (~(PUD_SIZE-1)) macro
/arch/s390/mm/
Dgup.c147 page = head + ((addr & ~PUD_MASK) >> PAGE_SHIFT); in gup_huge_pud()
Dhugetlbpage.c227 return pud_page(*pud) + ((address & ~PUD_MASK) >> PAGE_SHIFT); in follow_huge_pud()
Dvmem.c109 !(address & ~PUD_MASK) && (address + PUD_SIZE <= end) && in vmem_add_mem()
Dpageattr.c247 if (addr & ~PUD_MASK || addr + PUD_SIZE > next) { in walk_pud_level()
/arch/x86/platform/efi/
Defi_64.c287 BUILD_BUG_ON((EFI_VA_START & ~PUD_MASK) != 0); in efi_sync_low_kernel_mappings()
288 BUILD_BUG_ON((EFI_VA_END & ~PUD_MASK) != 0); in efi_sync_low_kernel_mappings()
/arch/powerpc/mm/
Dhugetlbpage.c374 start &= PUD_MASK; in hugetlb_free_pmd_range()
378 ceiling &= PUD_MASK; in hugetlb_free_pmd_range()
/arch/arm64/mm/
Dmmu.c261 if (((addr | next | phys) & ~PUD_MASK) != 0) in use_1G_block()
927 BUG_ON(phys & ~PUD_MASK); in pud_set_huge()
/arch/s390/include/asm/
Dpgtable.h333 #define PUD_MASK _REGION3_MASK macro
1403 : [r1] "a" (r3o), [r2] "a" ((addr & PUD_MASK)), in __pudp_idte()
1411 : [r1] "a" (r3o), [r2] "a" ((addr & PUD_MASK) | opt), in __pudp_idte()
/arch/frv/include/asm/
Dpgtable.h131 #define PUD_MASK (~(PUD_SIZE - 1)) macro
/arch/ia64/include/asm/
Dpgtable.h112 #define PUD_MASK (~(PUD_SIZE-1)) macro
/arch/sparc/include/asm/
Dpgtable_64.h60 #define PUD_MASK (~(PUD_SIZE-1)) macro
/arch/powerpc/include/asm/book3s/64/
Dpgtable.h255 #define PUD_MASK (~(PUD_SIZE-1)) macro
/arch/x86/xen/
Dmmu_pv.c2007 return pa + (vaddr & ~PUD_MASK); in xen_early_virt_to_phys()

12