Home
last modified time | relevance | path

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

/linux-4.4.14/arch/m68k/sun3x/
Ddvma.c109 if((end & PGDIR_MASK) > (vaddr & PGDIR_MASK)) in dvma_map_cpu()
110 end2 = (vaddr + (PGDIR_SIZE-1)) & PGDIR_MASK; in dvma_map_cpu()
/linux-4.4.14/arch/tile/include/asm/
Dpgtable_32.h25 #define PGDIR_MASK (~(PGDIR_SIZE-1)) macro
55 #define PKMAP_BASE ((FIXADDR_BOOT_START - PAGE_SIZE*LAST_PKMAP) & PGDIR_MASK)
Dpgtable_64.h22 #define PGDIR_MASK (~(PGDIR_SIZE-1)) macro
/linux-4.4.14/arch/x86/kernel/
Dhead64.c155 BUILD_BUG_ON(!(((MODULES_END - 1) & PGDIR_MASK) == in x86_64_start_kernel()
156 (__START_KERNEL & PGDIR_MASK))); in x86_64_start_kernel()
/linux-4.4.14/arch/nios2/mm/
Dioremap.c56 address &= ~PGDIR_MASK; in remap_area_pmd()
103 address = (address + PGDIR_SIZE) & PGDIR_MASK; in remap_area_pages()
/linux-4.4.14/arch/mips/mm/
Dioremap.c50 address &= ~PGDIR_MASK; in remap_area_pmd()
93 address = (address + PGDIR_SIZE) & PGDIR_MASK; in remap_area_pages()
/linux-4.4.14/arch/x86/include/asm/
Dpgtable_32_types.h18 #define PGDIR_MASK (~(PGDIR_SIZE - 1)) macro
Dpgtable_64_types.h53 #define PGDIR_MASK (~(PGDIR_SIZE - 1)) macro
/linux-4.4.14/arch/powerpc/include/asm/
Dpgtable-ppc64-64k.h33 #define PGDIR_MASK (~(PGDIR_SIZE-1)) macro
Dpgtable-ppc64-4k.h41 #define PGDIR_MASK (~(PGDIR_SIZE-1)) macro
Dpgtable-ppc32.h32 #define PGDIR_MASK (~(PGDIR_SIZE-1)) macro
/linux-4.4.14/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-4.4.14/include/asm-generic/
D4level-fixup.h9 #define PUD_MASK PGDIR_MASK
Dpgtable.h333 ({ unsigned long __boundary = ((addr) + PGDIR_SIZE) & PGDIR_MASK; \
/linux-4.4.14/arch/arm/include/asm/
Dpgtable-nommu.h37 #define PGDIR_MASK (~(PGDIR_SIZE-1)) macro
Dpgtable-2level.h91 #define PGDIR_MASK (~(PGDIR_SIZE-1)) macro
Dkvm_mmu.h141 ({ u64 __boundary = ((addr) + PGDIR_SIZE) & PGDIR_MASK; \
Dpgtable-3level.h53 #define PGDIR_MASK (~((1 << PGDIR_SHIFT) - 1)) macro
/linux-4.4.14/arch/m68k/include/asm/
Dpgtable_mm.h49 #define PGDIR_MASK (~(PGDIR_SIZE-1)) macro
/linux-4.4.14/arch/sh/include/asm/
Dpgtable.h60 #define PGDIR_MASK (~(PGDIR_SIZE-1)) macro
/linux-4.4.14/arch/powerpc/mm/
Dtlb_hash32.c108 pmd_end = ((start + PGDIR_SIZE) & PGDIR_MASK) - 1; in flush_range()
Dhugetlbpage.c633 start &= PGDIR_MASK; in hugetlb_free_pud_range()
637 ceiling &= PGDIR_MASK; in hugetlb_free_pud_range()
/linux-4.4.14/arch/arm64/include/asm/
Dpgtable-hwdef.h80 #define PGDIR_MASK (~(PGDIR_SIZE-1)) macro
/linux-4.4.14/arch/mips/include/asm/
Dpgtable-32.h44 #define PGDIR_MASK (~(PGDIR_SIZE-1)) macro
Dpgtable-64.h60 #define PGDIR_MASK (~(PGDIR_SIZE-1)) macro
/linux-4.4.14/arch/parisc/kernel/
Dpci-dma.c116 vaddr &= ~PGDIR_MASK; in map_pmd_uncached()
205 vaddr &= ~PGDIR_MASK; in unmap_uncached_pmd()
/linux-4.4.14/arch/um/kernel/
Dum_arch.c275 task_size = host_task_size & PGDIR_MASK; in linux_main()
/linux-4.4.14/arch/nios2/include/asm/
Dpgtable.h84 #define PGDIR_MASK (~(PGDIR_SIZE-1)) macro
/linux-4.4.14/arch/cris/include/asm/
Dpgtable.h53 #define PGDIR_MASK (~(PGDIR_SIZE-1)) macro
/linux-4.4.14/arch/metag/include/asm/
Dpgtable.h36 #define PGDIR_MASK (~(PGDIR_SIZE-1)) macro
/linux-4.4.14/arch/m32r/include/asm/
Dpgtable.h53 #define PGDIR_MASK (~(PGDIR_SIZE - 1)) macro
/linux-4.4.14/arch/arc/include/asm/
Dpgtable.h214 #define PGDIR_MASK (~(PGDIR_SIZE-1)) macro
/linux-4.4.14/arch/unicore32/include/asm/
Dpgtable.h57 #define PGDIR_MASK (~(PGDIR_SIZE-1)) macro
/linux-4.4.14/arch/score/include/asm/
Dpgtable.h17 #define PGDIR_MASK (~(PGDIR_SIZE - 1)) macro
/linux-4.4.14/arch/hexagon/include/asm/
Dpgtable.h89 #define PGDIR_MASK (~(PGDIR_SIZE-1)) macro
/linux-4.4.14/arch/avr32/include/asm/
Dpgtable.h30 #define PGDIR_MASK (~(PGDIR_SIZE-1)) macro
/linux-4.4.14/arch/sparc/include/asm/
Dpgtable_32.h42 #define PGDIR_MASK SRMMU_PGDIR_MASK macro
Dpgtable_64.h64 #define PGDIR_MASK (~(PGDIR_SIZE-1)) macro
/linux-4.4.14/arch/alpha/include/asm/
Dpgtable.h38 #define PGDIR_MASK (~(PGDIR_SIZE-1)) macro
/linux-4.4.14/arch/openrisc/include/asm/
Dpgtable.h62 #define PGDIR_MASK (~(PGDIR_SIZE-1)) macro
/linux-4.4.14/arch/xtensa/include/asm/
Dpgtable.h53 #define PGDIR_MASK (~(PGDIR_SIZE-1)) macro
/linux-4.4.14/arch/microblaze/include/asm/
Dpgtable.h149 #define PGDIR_MASK (~(PGDIR_SIZE-1)) macro
/linux-4.4.14/arch/mn10300/include/asm/
Dpgtable.h67 #define PGDIR_MASK (~(PGDIR_SIZE - 1)) macro
/linux-4.4.14/arch/frv/include/asm/
Dpgtable.h123 #define PGDIR_MASK (~(PGDIR_SIZE - 1)) macro
/linux-4.4.14/arch/tile/mm/
Dfault.c902 BUILD_BUG_ON(PAGE_OFFSET & ~PGDIR_MASK); in vmalloc_sync_all()
/linux-4.4.14/arch/ia64/include/asm/
Dpgtable.h126 #define PGDIR_MASK (~(PGDIR_SIZE-1)) macro
/linux-4.4.14/arch/parisc/include/asm/
Dpgtable.h132 #define PGDIR_MASK (~(PGDIR_SIZE-1)) macro
/linux-4.4.14/arch/x86/mm/
Dinit_64.c109 next = (addr & PGDIR_MASK) + PGDIR_SIZE; in kernel_ident_mapping_init()
615 next = (start & PGDIR_MASK) + PGDIR_SIZE; in kernel_physical_mapping_init()
Dfault.c359 sync_global_pgds(VMALLOC_START & PGDIR_MASK, VMALLOC_END, 0); in vmalloc_sync_all()
/linux-4.4.14/mm/
Dgup.c1220 page = head + ((addr & ~PGDIR_MASK) >> PAGE_SHIFT); in gup_huge_pgd()
Dmemory.c452 start &= PGDIR_MASK; in free_pud_range()
456 ceiling &= PGDIR_MASK; in free_pud_range()
/linux-4.4.14/arch/tile/kernel/
Dsetup.c252 VMALLOC_RESERVE = (memparse(arg, &arg) + PGDIR_SIZE - 1) & PGDIR_MASK; in parse_vmalloc()
/linux-4.4.14/arch/s390/include/asm/
Dpgtable.h75 #define PGDIR_MASK (~(PGDIR_SIZE-1)) macro
/linux-4.4.14/arch/x86/xen/
Dmmu.c125 #define USER_LIMIT ((STACK_TOP_MAX + PGDIR_SIZE - 1) & PGDIR_MASK)