Home
last modified time | relevance | path

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

/arch/x86/include/asm/
Dpgtable_64_types.h51 #define PUD_MASK (~(PUD_SIZE - 1)) macro
/arch/powerpc/include/asm/
Dpgtable-ppc64-4k.h36 #define PUD_MASK (~(PUD_SIZE-1)) macro
/arch/arm64/include/asm/
Dpgtable-hwdef.h70 #define PUD_MASK (~(PUD_SIZE-1)) macro
Dpgtable.h381 #define pud_pfn(pud) (((pud_val(pud) & PUD_MASK) & PHYS_MASK) >> PAGE_SHIFT)
/arch/x86/mm/
Dinit_64.c79 next = (addr & PUD_MASK) + PUD_SIZE; in ident_pud_init()
544 next = (addr & PUD_MASK) + PUD_SIZE; in phys_pud_init()
547 !e820_any_mapped(addr & PUD_MASK, next, E820_RAM) && in phys_pud_init()
548 !e820_any_mapped(addr & PUD_MASK, next, E820_RESERVED_KERN)) in phys_pud_init()
586 pfn_pte((addr & PUD_MASK) >> PAGE_SHIFT, in phys_pud_init()
Dgup.c218 page = head + ((addr & ~PUD_MASK) >> PAGE_SHIFT); in gup_huge_pud()
Dpageattr.c853 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/mips/mm/
Dgup.c152 page = head + ((addr & ~PUD_MASK) >> PAGE_SHIFT); in gup_huge_pud()
/arch/arm64/mm/
Dmmu.c244 if (((addr | next | phys) & ~PUD_MASK) != 0) in use_1G_block()
873 BUG_ON(phys & ~PUD_MASK); in pud_set_huge()
/arch/powerpc/mm/
Dhugetlbpage.c584 start &= PUD_MASK; in hugetlb_free_pmd_range()
588 ceiling &= PUD_MASK; in hugetlb_free_pmd_range()
/arch/s390/mm/
Dvmem.c99 !(address & ~PUD_MASK) && (address + PUD_SIZE <= end)) { in vmem_add_mem()
/arch/frv/include/asm/
Dpgtable.h130 #define PUD_MASK (~(PUD_SIZE - 1)) macro
/arch/ia64/include/asm/
Dpgtable.h111 #define PUD_MASK (~(PUD_SIZE-1)) macro
/arch/sparc/include/asm/
Dpgtable_64.h58 #define PUD_MASK (~(PUD_SIZE-1)) macro
/arch/s390/include/asm/
Dpgtable.h73 #define PUD_MASK (~(PUD_SIZE-1)) macro
/arch/sparc/mm/
Dinit_64.c1595 if (guard && !(vstart & ~PUD_MASK) && (vend - vstart) >= PUD_SIZE) in kernel_can_map_hugepud()
/arch/x86/xen/
Dmmu.c2061 return pa + (vaddr & ~PUD_MASK); in xen_early_virt_to_phys()