Searched refs:PUD_MASK (Results 1 – 25 of 26) sorted by relevance
12
135 entropy = (rand % (entropy + 1)) & PUD_MASK; in kernel_randomize_memory()171 paddr_next = (paddr & PUD_MASK) + PUD_SIZE; in init_trampoline_pud()
30 next = (addr & PUD_MASK) + PUD_SIZE; in ident_pud_init()40 addr &= PUD_MASK; in ident_pud_init()
558 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()
872 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()
37 #define PUD_MASK (~(PUD_SIZE-1)) macro
74 #define PUD_MASK (~(PUD_SIZE - 1)) macro
423 start &= PUD_MASK; in hugetlb_free_pmd_range()427 ceiling &= PUD_MASK; in hugetlb_free_pmd_range()
121 page = pud_page(pud) + ((addr & ~PUD_MASK) >> PAGE_SHIFT); in gup_huge_pud()
70 #define PUD_MASK (~(PUD_SIZE-1)) macro
345 #define pud_pfn(pud) (((pud_val(pud) & PUD_MASK) & PHYS_MASK) >> PAGE_SHIFT)
140 page = head + ((addr & ~PUD_MASK) >> PAGE_SHIFT); in gup_huge_pud()
67 #define PUD_MASK (~(PUD_SIZE-1)) macro
147 page = head + ((addr & ~PUD_MASK) >> PAGE_SHIFT); in gup_huge_pud()
227 return pud_page(*pud) + ((address & ~PUD_MASK) >> PAGE_SHIFT); in follow_huge_pud()
109 !(address & ~PUD_MASK) && (address + PUD_SIZE <= end) && in vmem_add_mem()
247 if (addr & ~PUD_MASK || addr + PUD_SIZE > next) { in walk_pud_level()
287 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()
374 start &= PUD_MASK; in hugetlb_free_pmd_range()378 ceiling &= PUD_MASK; in hugetlb_free_pmd_range()
261 if (((addr | next | phys) & ~PUD_MASK) != 0) in use_1G_block()927 BUG_ON(phys & ~PUD_MASK); in pud_set_huge()
333 #define PUD_MASK _REGION3_MASK macro1403 : [r1] "a" (r3o), [r2] "a" ((addr & PUD_MASK)), in __pudp_idte()1411 : [r1] "a" (r3o), [r2] "a" ((addr & PUD_MASK) | opt), in __pudp_idte()
131 #define PUD_MASK (~(PUD_SIZE - 1)) macro
112 #define PUD_MASK (~(PUD_SIZE-1)) macro
60 #define PUD_MASK (~(PUD_SIZE-1)) macro
255 #define PUD_MASK (~(PUD_SIZE-1)) macro
2007 return pa + (vaddr & ~PUD_MASK); in xen_early_virt_to_phys()