Home
last modified time | relevance | path

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

123

/linux-6.6.21/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()
/linux-6.6.21/arch/nios2/mm/
Dioremap.c56 address &= ~PGDIR_MASK; in remap_area_pmd()
107 address = (address + PGDIR_SIZE) & PGDIR_MASK; in remap_area_pages()
/linux-6.6.21/arch/x86/include/asm/
Dpgtable_32_types.h21 #define PGDIR_MASK (~(PGDIR_SIZE - 1)) macro
Dpgtable_64_types.h104 #define PGDIR_MASK (~(PGDIR_SIZE - 1)) macro
/linux-6.6.21/arch/x86/mm/
Dkasan_init_64.c173 unsigned long pgd_end = end & PGDIR_MASK; in clear_pgds()
234 unsigned long addr = KASAN_SHADOW_START & PGDIR_MASK; in kasan_map_early_shadow()
374 clear_pgds(KASAN_SHADOW_START & PGDIR_MASK, KASAN_SHADOW_END); in kasan_init()
376 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.c107 pgd_start = ppd->vaddr & PGDIR_MASK; in sme_clear_pgd()
108 pgd_end = ppd->vaddr_end & PGDIR_MASK; in sme_clear_pgd()
/linux-6.6.21/arch/riscv/include/asm/
Dpgtable-32.h16 #define PGDIR_MASK (~(PGDIR_SIZE - 1)) macro
Dkasan.h35 #define KASAN_SHADOW_START ((KASAN_SHADOW_END - KASAN_SHADOW_SIZE) & PGDIR_MASK)
/linux-6.6.21/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()
/linux-6.6.21/arch/arm/include/asm/
Dpgtable-nommu.h31 #define PGDIR_MASK (~(PGDIR_SIZE-1)) macro
Dpgtable-2level.h90 #define PGDIR_MASK (~(PGDIR_SIZE-1)) macro
/linux-6.6.21/arch/um/include/asm/
Dpgtable-2level.h17 #define PGDIR_MASK (~(PGDIR_SIZE-1)) macro
Dpgtable-3level.h20 #define PGDIR_MASK (~(PGDIR_SIZE-1)) macro
/linux-6.6.21/arch/powerpc/mm/book3s32/
Dtlb.c63 pmd_end = ((start + PGDIR_SIZE) & PGDIR_MASK) - 1; in hash__flush_range()
/linux-6.6.21/arch/powerpc/include/asm/nohash/64/
Dpgtable-4k.h42 #define PGDIR_MASK (~(PGDIR_SIZE-1)) macro
/linux-6.6.21/arch/powerpc/mm/
Dhugetlbpage.c446 if (range_is_outside_limits(start, end, floor, ceiling, PGDIR_MASK)) in hugetlb_free_pud_range()
449 pud = pud_offset(p4d, start & PGDIR_MASK); in hugetlb_free_pud_range()
451 pud_free_tlb(tlb, pud, start & PGDIR_MASK); in hugetlb_free_pud_range()
/linux-6.6.21/arch/sh/include/asm/
Dpgtable.h57 #define PGDIR_MASK (~(PGDIR_SIZE-1)) macro
/linux-6.6.21/arch/m68k/include/asm/
Dpgtable_mm.h51 #define PGDIR_MASK (~(PGDIR_SIZE-1)) macro
/linux-6.6.21/arch/parisc/kernel/
Dpci-dma.c110 vaddr &= ~PGDIR_MASK; in map_pmd_uncached()
204 vaddr &= ~PGDIR_MASK; in unmap_uncached_pmd()
/linux-6.6.21/arch/x86/kernel/
Dhead64.c486 MAYBE_BUILD_BUG_ON(!(((MODULES_END - 1) & PGDIR_MASK) == in x86_64_start_kernel()
487 (__START_KERNEL & PGDIR_MASK))); in x86_64_start_kernel()
/linux-6.6.21/arch/arc/include/asm/
Dpgtable-levels.h71 #define PGDIR_MASK (~(PGDIR_SIZE - 1)) macro
/linux-6.6.21/arch/powerpc/mm/kasan/
Dinit_32.c184 BUILD_BUG_ON(KASAN_SHADOW_START & ~PGDIR_MASK); in kasan_early_init()
/linux-6.6.21/arch/mips/include/asm/
Dpgtable-32.h71 #define PGDIR_MASK (~(PGDIR_SIZE-1)) macro

123