Home
last modified time | relevance | path

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

123

/openbmc/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()
/openbmc/linux/arch/x86/include/asm/
H A Dpgtable_32_types.h21 #define PGDIR_MASK (~(PGDIR_SIZE - 1)) macro
H A Dpgtable_64_types.h104 #define PGDIR_MASK (~(PGDIR_SIZE - 1)) macro
/openbmc/linux/arch/riscv/include/asm/
H A Dpgtable-32.h16 #define PGDIR_MASK (~(PGDIR_SIZE - 1)) macro
H A Dkasan.h35 #define KASAN_SHADOW_START ((KASAN_SHADOW_END - KASAN_SHADOW_SIZE) & PGDIR_MASK)
/openbmc/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()
/openbmc/linux/arch/x86/mm/
H A 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()
H A Dident_map.c116 next = (addr & PGDIR_MASK) + PGDIR_SIZE; in kernel_ident_mapping_init()
H A Dmem_encrypt_identity.c103 pgd_start = ppd->vaddr & PGDIR_MASK; in sme_clear_pgd()
104 pgd_end = ppd->vaddr_end & PGDIR_MASK; in sme_clear_pgd()
/openbmc/linux/arch/sparc/include/asm/
H A Dpgtable_32.h21 #define PGDIR_MASK (~(PGDIR_SIZE-1)) macro
22 #define PGDIR_ALIGN(__addr) (((__addr) + ~PGDIR_MASK) & PGDIR_MASK)
H A Dviking.h231 vaddr &= ~PGDIR_MASK; in viking_hwprobe()
/openbmc/linux/arch/arm/include/asm/
H A Dpgtable-nommu.h31 #define PGDIR_MASK (~(PGDIR_SIZE-1)) macro
H A Dpgtable-2level.h90 #define PGDIR_MASK (~(PGDIR_SIZE-1)) macro
/openbmc/linux/arch/um/include/asm/
H A Dpgtable-2level.h17 #define PGDIR_MASK (~(PGDIR_SIZE-1)) macro
H A Dpgtable-3level.h20 #define PGDIR_MASK (~(PGDIR_SIZE-1)) macro
/openbmc/linux/arch/powerpc/mm/book3s32/
H A Dtlb.c63 pmd_end = ((start + PGDIR_SIZE) & PGDIR_MASK) - 1; in hash__flush_range()
/openbmc/linux/arch/powerpc/include/asm/nohash/64/
H A Dpgtable-4k.h42 #define PGDIR_MASK (~(PGDIR_SIZE-1)) macro
/openbmc/linux/arch/powerpc/mm/
H A 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()
/openbmc/linux/arch/sh/include/asm/
H A Dpgtable.h57 #define PGDIR_MASK (~(PGDIR_SIZE-1)) macro
/openbmc/linux/arch/m68k/include/asm/
H A Dpgtable_mm.h51 #define PGDIR_MASK (~(PGDIR_SIZE-1)) macro
/openbmc/linux/arch/parisc/kernel/
H A Dpci-dma.c110 vaddr &= ~PGDIR_MASK; in map_pmd_uncached()
204 vaddr &= ~PGDIR_MASK; in unmap_uncached_pmd()
/openbmc/linux/arch/arc/include/asm/
H A Dpgtable-levels.h71 #define PGDIR_MASK (~(PGDIR_SIZE - 1)) macro
/openbmc/linux/arch/x86/kernel/
H A Dhead64.c485 MAYBE_BUILD_BUG_ON(!(((MODULES_END - 1) & PGDIR_MASK) == in x86_64_start_kernel()
486 (__START_KERNEL & PGDIR_MASK))); in x86_64_start_kernel()
/openbmc/linux/arch/powerpc/mm/kasan/
H A Dinit_32.c184 BUILD_BUG_ON(KASAN_SHADOW_START & ~PGDIR_MASK); in kasan_early_init()
/openbmc/linux/arch/mips/include/asm/
H A Dpgtable-32.h71 #define PGDIR_MASK (~(PGDIR_SIZE-1)) macro

123