Searched refs:PUD_MASK (Results 1 – 17 of 17) sorted by relevance
51 #define PUD_MASK (~(PUD_SIZE - 1)) macro
36 #define PUD_MASK (~(PUD_SIZE-1)) macro
70 #define PUD_MASK (~(PUD_SIZE-1)) macro
381 #define pud_pfn(pud) (((pud_val(pud) & PUD_MASK) & PHYS_MASK) >> PAGE_SHIFT)
79 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()
218 page = head + ((addr & ~PUD_MASK) >> PAGE_SHIFT); in gup_huge_pud()
853 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()
152 page = head + ((addr & ~PUD_MASK) >> PAGE_SHIFT); in gup_huge_pud()
244 if (((addr | next | phys) & ~PUD_MASK) != 0) in use_1G_block()873 BUG_ON(phys & ~PUD_MASK); in pud_set_huge()
584 start &= PUD_MASK; in hugetlb_free_pmd_range()588 ceiling &= PUD_MASK; in hugetlb_free_pmd_range()
99 !(address & ~PUD_MASK) && (address + PUD_SIZE <= end)) { in vmem_add_mem()
130 #define PUD_MASK (~(PUD_SIZE - 1)) macro
111 #define PUD_MASK (~(PUD_SIZE-1)) macro
58 #define PUD_MASK (~(PUD_SIZE-1)) macro
73 #define PUD_MASK (~(PUD_SIZE-1)) macro
1595 if (guard && !(vstart & ~PUD_MASK) && (vend - vstart) >= PUD_SIZE) in kernel_can_map_hugepud()
2061 return pa + (vaddr & ~PUD_MASK); in xen_early_virt_to_phys()