Home
last modified time | relevance | path

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

123

/arch/m68k/sun3x/
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()
/arch/riscv/include/asm/
Dpgtable-32.h15 #define PGDIR_MASK (~(PGDIR_SIZE - 1)) macro
Dpgtable-64.h14 #define PGDIR_MASK (~(PGDIR_SIZE - 1)) macro
/arch/x86/include/asm/
Dpgtable_32_types.h21 #define PGDIR_MASK (~(PGDIR_SIZE - 1)) macro
Dpgtable_64_types.h103 #define PGDIR_MASK (~(PGDIR_SIZE - 1)) macro
/arch/nds32/include/asm/
Dhighmem.h29 #define PKMAP_BASE ((FIXADDR_START - PGDIR_SIZE) & (PGDIR_MASK))
/arch/arm/include/asm/
Dpgtable-nommu.h33 #define PGDIR_MASK (~(PGDIR_SIZE-1)) macro
Dpgtable-2level.h90 #define PGDIR_MASK (~(PGDIR_SIZE-1)) macro
/arch/um/include/asm/
Dpgtable-2level.h17 #define PGDIR_MASK (~(PGDIR_SIZE-1)) macro
Dpgtable-3level.h20 #define PGDIR_MASK (~(PGDIR_SIZE-1)) macro
/arch/nios2/mm/
Dioremap.c56 address &= ~PGDIR_MASK; in remap_area_pmd()
107 address = (address + PGDIR_SIZE) & PGDIR_MASK; in remap_area_pages()
/arch/x86/mm/
Dkasan_init_64.c175 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()
Dident_map.c129 next = (addr & PGDIR_MASK) + PGDIR_SIZE; in kernel_ident_mapping_init()
Dmem_encrypt_identity.c104 pgd_start = ppd->vaddr & PGDIR_MASK; in sme_clear_pgd()
105 pgd_end = ppd->vaddr_end & PGDIR_MASK; in sme_clear_pgd()
/arch/sparc/include/asm/
Dpgtable_32.h21 #define PGDIR_MASK (~(PGDIR_SIZE-1)) macro
22 #define PGDIR_ALIGN(__addr) (((__addr) + ~PGDIR_MASK) & PGDIR_MASK)
Dviking.h231 vaddr &= ~PGDIR_MASK; in viking_hwprobe()
/arch/powerpc/include/asm/nohash/64/
Dpgtable-4k.h42 #define PGDIR_MASK (~(PGDIR_SIZE-1)) macro
/arch/m68k/include/asm/
Dpgtable_mm.h53 #define PGDIR_MASK (~(PGDIR_SIZE-1)) macro
/arch/powerpc/mm/book3s32/
Dtlb.c95 pmd_end = ((start + PGDIR_SIZE) & PGDIR_MASK) - 1; in flush_range()
/arch/sh/include/asm/
Dpgtable.h57 #define PGDIR_MASK (~(PGDIR_SIZE-1)) macro
/arch/x86/kernel/
Dhead64.c475 MAYBE_BUILD_BUG_ON(!(((MODULES_END - 1) & PGDIR_MASK) == in x86_64_start_kernel()
476 (__START_KERNEL & PGDIR_MASK))); in x86_64_start_kernel()
/arch/parisc/kernel/
Dpci-dma.c110 vaddr &= ~PGDIR_MASK; in map_pmd_uncached()
204 vaddr &= ~PGDIR_MASK; in unmap_uncached_pmd()
/arch/powerpc/mm/kasan/
Dkasan_init_32.c184 BUILD_BUG_ON(KASAN_SHADOW_START & ~PGDIR_MASK); in kasan_early_init()
/arch/mips/include/asm/
Dpgtable-32.h71 #define PGDIR_MASK (~(PGDIR_SIZE-1)) macro
/arch/sparc/mm/
Dhugetlbpage.c478 start &= PGDIR_MASK; in hugetlb_free_pud_range()
482 ceiling &= PGDIR_MASK; in hugetlb_free_pud_range()

123