Home
last modified time | relevance | path

Searched refs:PGDIR_MASK (Results 1 – 25 of 27) sorted by relevance

12

/linux/arch/m68k/sun3x/
H A Ddvma.c106 if((end & PGDIR_MASK) > (vaddr & PGDIR_MASK)) in dvma_map_cpu()
107 end2 = (vaddr + (PGDIR_SIZE-1)) & PGDIR_MASK; in dvma_map_cpu()
/linux/arch/x86/mm/
H A Dkasan_init_64.c172 unsigned long pgd_end = end & PGDIR_MASK; in clear_pgds()
233 unsigned long addr = KASAN_SHADOW_START & PGDIR_MASK; in kasan_map_early_shadow()
373 clear_pgds(KASAN_SHADOW_START & PGDIR_MASK, KASAN_SHADOW_END); in kasan_init()
375 kasan_populate_early_shadow((void *)(KASAN_SHADOW_START & PGDIR_MASK), in kasan_init()
/linux/arch/nios2/mm/
H A Dioremap.c56 address &= ~PGDIR_MASK; in remap_area_pmd()
107 address = (address + PGDIR_SIZE) & PGDIR_MASK; in remap_area_pages()
/linux/arch/x86/include/asm/
H A Dpgtable_32_types.h21 #define PGDIR_MASK (~(PGDIR_SIZE - 1)) macro
H A Dpgtable_64_types.h87 #define PGDIR_MASK (~(PGDIR_SIZE - 1)) macro
/linux/arch/riscv/include/asm/
H A Dkasan.h33 #define KASAN_SHADOW_START ((KASAN_SHADOW_END - KASAN_SHADOW_SIZE) & PGDIR_MASK)
H A Dpgtable-32.h16 #define PGDIR_MASK (~(PGDIR_SIZE - 1)) macro
H A Dpgtable-64.h23 #define PGDIR_MASK (~(PGDIR_SIZE - 1)) macro
/linux/arch/x86/kernel/
H A Dhead64.c234 MAYBE_BUILD_BUG_ON(!(((MODULES_END - 1) & PGDIR_MASK) == in x86_64_start_kernel()
235 (__START_KERNEL & PGDIR_MASK))); in x86_64_start_kernel()
/linux/arch/um/include/asm/
H A Dpgtable-2level.h17 #define PGDIR_MASK (~(PGDIR_SIZE-1)) macro
H A Dpgtable-4level.h16 #define PGDIR_MASK (~(PGDIR_SIZE-1)) macro
/linux/arch/arm/include/asm/
H A Dpgtable-nommu.h31 #define PGDIR_MASK (~(PGDIR_SIZE-1)) macro
H A Dpgtable-3level.h43 #define PGDIR_MASK (~((1 << PGDIR_SHIFT) - 1)) macro
/linux/arch/powerpc/include/asm/nohash/64/
H A Dpgtable-4k.h42 #define PGDIR_MASK (~(PGDIR_SIZE-1)) macro
/linux/arch/powerpc/mm/book3s32/
H A Dtlb.c63 pmd_end = ((start + PGDIR_SIZE) & PGDIR_MASK) - 1; in hash__flush_range()
/linux/arch/powerpc/include/asm/nohash/32/
H A Dpgtable.h47 #define PGDIR_MASK (~(PGDIR_SIZE-1)) macro
/linux/arch/parisc/kernel/
H A Dpci-dma.c110 vaddr &= ~PGDIR_MASK; in map_pmd_uncached()
204 vaddr &= ~PGDIR_MASK; in unmap_uncached_pmd()
/linux/arch/arc/include/asm/
H A Dpgtable-levels.h71 #define PGDIR_MASK (~(PGDIR_SIZE - 1)) macro
/linux/arch/powerpc/mm/kasan/
H A Dinit_32.c184 BUILD_BUG_ON(KASAN_SHADOW_START & ~PGDIR_MASK); in kasan_early_init()
/linux/arch/powerpc/include/asm/book3s/32/
H A Dpgtable.h131 #define PGDIR_MASK (~(PGDIR_SIZE-1)) macro
/linux/arch/parisc/include/asm/
H A Dpgtable.h129 #define PGDIR_MASK (~(PGDIR_SIZE-1)) macro
/linux/arch/loongarch/include/asm/
H A Dpgtable.h48 #define PGDIR_MASK (~(PGDIR_SIZE-1)) macro
/linux/arch/s390/mm/
H A Dvmem.c466 try_free_p4d_table(pgd, addr & PGDIR_MASK); in modify_pagetable()
/linux/arch/powerpc/include/asm/book3s/64/
H A Dpgtable.h220 #define PGDIR_MASK (~(PGDIR_SIZE-1)) macro
/linux/arch/s390/include/asm/
H A Dpgtable.h388 #define PGDIR_MASK _REGION1_MASK macro

12