Home
last modified time | relevance | path

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

1234

/openbmc/linux/arch/x86/include/asm/
H A Dpgtable_32_areas.h31 ((FIXADDR_TOT_START - PAGE_SIZE*(CPU_ENTRY_AREA_PAGES+1)) & PMD_MASK)
34 ((CPU_ENTRY_AREA_BASE - PAGE_SIZE) & PMD_MASK)
39 ((LDT_BASE_ADDR - PAGE_SIZE) & PMD_MASK)
H A Dpgtable_32_types.h13 # define PMD_MASK (~(PMD_SIZE - 1)) macro
H A Dpage_types.h20 #define PHYSICAL_PMD_PAGE_MASK (((signed long)PMD_MASK) & __PHYSICAL_MASK)
/openbmc/linux/arch/m68k/sun3x/
H A Ddvma.c120 if((end2 & PMD_MASK) > (vaddr & PMD_MASK)) in dvma_map_cpu()
121 end3 = (vaddr + (PMD_SIZE-1)) & PMD_MASK; in dvma_map_cpu()
/openbmc/linux/arch/mips/mm/
H A Dpgtable-32.c73 fixrange_init(vaddr & PMD_MASK, vaddr + FIXADDR_SIZE, pgd_base); in pagetable_init()
80 fixrange_init(vaddr & PMD_MASK, vaddr + PAGE_SIZE*LAST_PKMAP, pgd_base); in pagetable_init()
/openbmc/linux/arch/arm/mm/
H A Didmap.c50 *pmd = __pmd((addr & PMD_MASK) | prot); in idmap_add_pmd()
60 addr = (addr & PMD_MASK) | prot; in idmap_add_pmd()
/openbmc/linux/arch/parisc/kernel/
H A Dpci-dma.c83 vaddr &= ~PMD_MASK; in map_pte_uncached()
120 vaddr = (vaddr + PMD_SIZE) & PMD_MASK; in map_pmd_uncached()
168 vaddr &= ~PMD_MASK; in unmap_uncached_pte()
210 vaddr = (vaddr + PMD_SIZE) & PMD_MASK; in unmap_uncached_pmd()
/openbmc/linux/arch/xtensa/include/asm/
H A Dfixmap.h32 #define FIXADDR_START ((FIXADDR_END - FIXADDR_SIZE) & PMD_MASK)
H A Dhighmem.h22 (LAST_PKMAP + 1) * PAGE_SIZE) & PMD_MASK)
/openbmc/linux/arch/nios2/mm/
H A Dioremap.c31 address &= ~PMD_MASK; in remap_area_pte()
70 address = (address + PMD_SIZE) & PMD_MASK; in remap_area_pmd()
/openbmc/linux/arch/arc/include/asm/
H A Dpgtable-levels.h82 #define PMD_MASK (~(PMD_SIZE - 1)) macro
143 #define pmd_pfn(pmd) ((pmd_val(pmd) & PMD_MASK) >> PAGE_SHIFT)
/openbmc/linux/arch/x86/kernel/
H A Dhead64.c205 if (load_delta & ~PMD_MASK) in __startup_64()
405 pmd = (physaddr & PMD_MASK) + early_pmd_flags; in early_make_pgtable()
482 BUILD_BUG_ON((__START_KERNEL_map & ~PMD_MASK) != 0); in x86_64_start_kernel()
483 BUILD_BUG_ON((MODULES_VADDR & ~PMD_MASK) != 0); in x86_64_start_kernel()
/openbmc/linux/arch/microblaze/include/asm/
H A Dhighmem.h46 & PMD_MASK)
/openbmc/linux/arch/sparc/include/asm/
H A Dpgtable_32.h16 #define PMD_MASK (~(PMD_SIZE-1)) macro
17 #define PMD_ALIGN(__addr) (((__addr) + ~PMD_MASK) & PMD_MASK)
H A Dviking.h241 vaddr &= ~PMD_MASK; in viking_hwprobe()
/openbmc/linux/arch/arm/include/asm/
H A Dtlb.h51 addr = (addr & PMD_MASK) + SZ_1M; in __pte_free_tlb()
H A Dkfence.h38 if (split_pmd_page(pmd, addr & PMD_MASK)) in arch_kfence_init_pool()
H A Dpgtable-3level.h41 #define PMD_MASK (~((1 << PMD_SHIFT) - 1)) macro
212 #define pmd_pfn(pmd) (((pmd_val(pmd) & PMD_MASK) & PHYS_MASK) >> PAGE_SHIFT)
/openbmc/linux/arch/powerpc/include/asm/
H A Dhighmem.h53 #define PKMAP_BASE ((FIXADDR_START - PAGE_SIZE*(LAST_PKMAP + 1)) & PMD_MASK)
/openbmc/linux/arch/sh/include/asm/
H A Dpgtable-3level.h24 #define PMD_MASK (~(PMD_SIZE-1)) macro
/openbmc/linux/include/asm-generic/
H A Dpgtable-nopmd.h23 #define PMD_MASK (~(PMD_SIZE-1)) macro
/openbmc/linux/arch/x86/boot/compressed/
H A Dident_map_64.c204 address = __address & PMD_MASK; in split_large_pmd()
368 address &= PMD_MASK; in do_boot_page_fault()
/openbmc/linux/arch/powerpc/include/asm/nohash/64/
H A Dpgtable-4k.h32 #define PMD_MASK (~(PMD_SIZE-1)) macro
/openbmc/linux/arch/um/include/asm/
H A Dpgtable-3level.h28 #define PMD_MASK (~(PMD_SIZE-1)) macro
/openbmc/linux/arch/x86/power/
H A Dhibernate_64.c69 __pmd((jump_address_phys & PMD_MASK) | pgprot_val(pmd_text_prot))); in set_up_temporary_text_mapping()

1234