Home
last modified time | relevance | path

Searched refs:PMD_MASK (Results 1 – 25 of 86) sorted by relevance

1234

/Linux-v5.4/arch/x86/include/asm/
Dpgtable_32_types.h13 # define PMD_MASK (~(PMD_SIZE - 1)) macro
51 & PMD_MASK)
54 ((CPU_ENTRY_AREA_BASE - PAGE_SIZE) & PMD_MASK)
59 ((LDT_BASE_ADDR - PAGE_SIZE) & PMD_MASK)
Dpgtable_64_types.h99 #define PMD_MASK (~(PMD_SIZE - 1)) macro
/Linux-v5.4/arch/m68k/sun3x/
Ddvma.c117 if((end2 & PMD_MASK) > (vaddr & PMD_MASK)) in dvma_map_cpu()
118 end3 = (vaddr + (PMD_SIZE-1)) & PMD_MASK; in dvma_map_cpu()
/Linux-v5.4/arch/mips/mm/
Dpgtable-32.c75 fixrange_init(vaddr & PMD_MASK, vaddr + FIXADDR_SIZE, pgd_base); in pagetable_init()
82 fixrange_init(vaddr & PMD_MASK, vaddr + PAGE_SIZE*LAST_PKMAP, pgd_base); in pagetable_init()
Dioremap.c29 address &= ~PMD_MASK; in remap_area_pte()
63 address = (address + PMD_SIZE) & PMD_MASK; in remap_area_pmd()
/Linux-v5.4/arch/arm/include/asm/
Dstage2_pgtable.h49 phys_addr_t boundary = (addr + PMD_SIZE) & PMD_MASK; in stage2_pmd_addr_end()
65 #define S2_PMD_MASK PMD_MASK
Dtlb.h54 addr = (addr & PMD_MASK) + SZ_1M; in __pte_free_tlb()
Dpgtable-3level.h39 #define PMD_MASK (~((1 << PMD_SHIFT) - 1)) macro
235 #define pmd_pfn(pmd) (((pmd_val(pmd) & PMD_MASK) & PHYS_MASK) >> PAGE_SHIFT)
/Linux-v5.4/arch/arm/mm/
Didmap.c50 *pmd = __pmd((addr & PMD_MASK) | prot); in idmap_add_pmd()
60 addr = (addr & PMD_MASK) | prot; in idmap_add_pmd()
/Linux-v5.4/arch/parisc/kernel/
Dpci-dma.c84 vaddr &= ~PMD_MASK; in map_pte_uncached()
121 vaddr = (vaddr + PMD_SIZE) & PMD_MASK; in map_pmd_uncached()
164 vaddr &= ~PMD_MASK; in unmap_uncached_pte()
206 vaddr = (vaddr + PMD_SIZE) & PMD_MASK; in unmap_uncached_pmd()
/Linux-v5.4/arch/nios2/mm/
Dioremap.c31 address &= ~PMD_MASK; in remap_area_pte()
70 address = (address + PMD_SIZE) & PMD_MASK; in remap_area_pmd()
/Linux-v5.4/arch/sparc/include/asm/
Dpgtable_32.h39 #define PMD_MASK (~(PMD_SIZE-1)) macro
40 #define PMD_ALIGN(__addr) (((__addr) + ~PMD_MASK) & PMD_MASK)
/Linux-v5.4/arch/x86/kernel/
Dhead64.c375 pmd = (physaddr & PMD_MASK) + early_pmd_flags; in early_make_pgtable()
434 BUILD_BUG_ON((__START_KERNEL_map & ~PMD_MASK) != 0); in x86_64_start_kernel()
435 BUILD_BUG_ON((MODULES_VADDR & ~PMD_MASK) != 0); in x86_64_start_kernel()
/Linux-v5.4/arch/s390/mm/
Dkasan_init.c154 address = (address + PMD_SIZE) & PMD_MASK; in kasan_early_vmemmap_populate()
169 address = (address + PMD_SIZE) & PMD_MASK; in kasan_early_vmemmap_populate()
176 address = (address + PMD_SIZE) & PMD_MASK; in kasan_early_vmemmap_populate()
Dvmem.c123 !(address & ~PMD_MASK) && (address + PMD_SIZE <= end) && in vmem_add_mem()
271 address = (address + PMD_SIZE) & PMD_MASK; in vmemmap_populate()
279 address = (address + PMD_SIZE) & PMD_MASK; in vmemmap_populate()
/Linux-v5.4/arch/xtensa/include/asm/
Dfixmap.h49 #define FIXADDR_START ((FIXADDR_TOP - FIXADDR_SIZE) & PMD_MASK)
Dhighmem.h22 (LAST_PKMAP + 1) * PAGE_SIZE) & PMD_MASK)
/Linux-v5.4/arch/microblaze/include/asm/
Dhighmem.h48 & PMD_MASK)
/Linux-v5.4/arch/powerpc/include/asm/
Dhighmem.h56 #define PKMAP_BASE ((FIXADDR_START - PAGE_SIZE*(LAST_PKMAP + 1)) & PMD_MASK)
/Linux-v5.4/arch/sh/include/asm/
Dpgtable-3level.h25 #define PMD_MASK (~(PMD_SIZE-1)) macro
/Linux-v5.4/include/asm-generic/
Dpgtable-nopmd.h23 #define PMD_MASK (~(PMD_SIZE-1)) macro
/Linux-v5.4/arch/riscv/include/asm/
Dpgtable-64.h19 #define PMD_MASK (~(PMD_SIZE - 1)) macro
/Linux-v5.4/mm/
Dmremap.c203 if ((old_addr & ~PMD_MASK) || (new_addr & ~PMD_MASK) in move_normal_pmd()
258 next = (old_addr + PMD_SIZE) & PMD_MASK; in move_page_tables()
306 next = (new_addr + PMD_SIZE) & PMD_MASK; in move_page_tables()
/Linux-v5.4/arch/powerpc/include/asm/nohash/64/
Dpgtable-4k.h32 #define PMD_MASK (~(PMD_SIZE-1)) macro
/Linux-v5.4/arch/m68k/include/asm/
Dpgtable_mm.h39 #define PMD_MASK (~(PMD_SIZE-1)) macro

1234