Searched refs:PGDIR_MASK (Results 1 – 25 of 53) sorted by relevance
123
106 if((end & PGDIR_MASK) > (vaddr & PGDIR_MASK)) in dvma_map_cpu()107 end2 = (vaddr + (PGDIR_SIZE-1)) & PGDIR_MASK; in dvma_map_cpu()
15 #define PGDIR_MASK (~(PGDIR_SIZE - 1)) macro
14 #define PGDIR_MASK (~(PGDIR_SIZE - 1)) macro
21 #define PGDIR_MASK (~(PGDIR_SIZE - 1)) macro
103 #define PGDIR_MASK (~(PGDIR_SIZE - 1)) macro
29 #define PKMAP_BASE ((FIXADDR_START - PGDIR_SIZE) & (PGDIR_MASK))
33 #define PGDIR_MASK (~(PGDIR_SIZE-1)) macro
90 #define PGDIR_MASK (~(PGDIR_SIZE-1)) macro
17 #define PGDIR_MASK (~(PGDIR_SIZE-1)) macro
20 #define PGDIR_MASK (~(PGDIR_SIZE-1)) macro
56 address &= ~PGDIR_MASK; in remap_area_pmd()107 address = (address + PGDIR_SIZE) & PGDIR_MASK; in remap_area_pages()
175 unsigned long pgd_end = end & PGDIR_MASK; in clear_pgds()236 unsigned long addr = KASAN_SHADOW_START & PGDIR_MASK; in kasan_map_early_shadow()353 clear_pgds(KASAN_SHADOW_START & PGDIR_MASK, KASAN_SHADOW_END); in kasan_init()355 kasan_populate_early_shadow((void *)(KASAN_SHADOW_START & PGDIR_MASK), in kasan_init()
129 next = (addr & PGDIR_MASK) + PGDIR_SIZE; in kernel_ident_mapping_init()
104 pgd_start = ppd->vaddr & PGDIR_MASK; in sme_clear_pgd()105 pgd_end = ppd->vaddr_end & PGDIR_MASK; in sme_clear_pgd()
21 #define PGDIR_MASK (~(PGDIR_SIZE-1)) macro22 #define PGDIR_ALIGN(__addr) (((__addr) + ~PGDIR_MASK) & PGDIR_MASK)
231 vaddr &= ~PGDIR_MASK; in viking_hwprobe()
42 #define PGDIR_MASK (~(PGDIR_SIZE-1)) macro
53 #define PGDIR_MASK (~(PGDIR_SIZE-1)) macro
95 pmd_end = ((start + PGDIR_SIZE) & PGDIR_MASK) - 1; in flush_range()
57 #define PGDIR_MASK (~(PGDIR_SIZE-1)) macro
475 MAYBE_BUILD_BUG_ON(!(((MODULES_END - 1) & PGDIR_MASK) == in x86_64_start_kernel()476 (__START_KERNEL & PGDIR_MASK))); in x86_64_start_kernel()
110 vaddr &= ~PGDIR_MASK; in map_pmd_uncached()204 vaddr &= ~PGDIR_MASK; in unmap_uncached_pmd()
184 BUILD_BUG_ON(KASAN_SHADOW_START & ~PGDIR_MASK); in kasan_early_init()
71 #define PGDIR_MASK (~(PGDIR_SIZE-1)) macro
478 start &= PGDIR_MASK; in hugetlb_free_pud_range()482 ceiling &= PGDIR_MASK; in hugetlb_free_pud_range()