/linux-4.4.14/arch/arm/mach-ebsa110/ |
D | core.h | 18 #define ISAIO_SIZE PGDIR_SIZE 21 #define TRICK0_SIZE PGDIR_SIZE 23 #define TRICK1_SIZE PGDIR_SIZE 26 #define TRICK3_SIZE PGDIR_SIZE 28 #define TRICK4_SIZE PGDIR_SIZE
|
/linux-4.4.14/arch/um/include/asm/ |
D | pgtable-2level.h | 16 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro 17 #define PGDIR_MASK (~(PGDIR_SIZE-1)) 24 #define USER_PTRS_PER_PGD ((TASK_SIZE + (PGDIR_SIZE - 1)) / PGDIR_SIZE)
|
D | pgtable-3level.h | 19 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro 20 #define PGDIR_MASK (~(PGDIR_SIZE-1)) 43 #define USER_PTRS_PER_PGD ((TASK_SIZE + (PGDIR_SIZE - 1)) / PGDIR_SIZE)
|
/linux-4.4.14/arch/tile/include/asm/ |
D | kexec.h | 34 #define KEXEC_SOURCE_MEMORY_LIMIT PGDIR_SIZE 36 #define KEXEC_DESTINATION_MEMORY_LIMIT PGDIR_SIZE 38 #define KEXEC_CONTROL_MEMORY_LIMIT PGDIR_SIZE
|
D | pgtable_32.h | 24 #define PGDIR_SIZE HPAGE_SIZE macro 25 #define PGDIR_MASK (~(PGDIR_SIZE-1))
|
D | pgtable_64.h | 21 #define PGDIR_SIZE HV_L1_SPAN macro 22 #define PGDIR_MASK (~(PGDIR_SIZE-1))
|
/linux-4.4.14/arch/m68k/include/asm/ |
D | pgtable_mm.h | 48 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro 49 #define PGDIR_MASK (~(PGDIR_SIZE-1)) 70 #define USER_PTRS_PER_PGD (TASK_SIZE/PGDIR_SIZE)
|
/linux-4.4.14/arch/arm/include/asm/ |
D | pgtable-2level.h | 90 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro 91 #define PGDIR_MASK (~(PGDIR_SIZE-1)) 107 #define USER_PTRS_PER_PGD (TASK_SIZE / PGDIR_SIZE)
|
D | pgtable-nommu.h | 36 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro 37 #define PGDIR_MASK (~(PGDIR_SIZE-1))
|
D | pgtable-3level.h | 52 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro 62 #define USER_PTRS_PER_PGD (PAGE_OFFSET / PGDIR_SIZE)
|
D | kvm_mmu.h | 141 ({ u64 __boundary = ((addr) + PGDIR_SIZE) & PGDIR_MASK; \
|
/linux-4.4.14/arch/x86/include/asm/ |
D | pgtable_32_types.h | 17 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro 18 #define PGDIR_MASK (~(PGDIR_SIZE - 1))
|
D | pgtable_64_types.h | 52 #define PGDIR_SIZE (_AC(1, UL) << PGDIR_SHIFT) macro 53 #define PGDIR_MASK (~(PGDIR_SIZE - 1))
|
/linux-4.4.14/arch/powerpc/include/asm/ |
D | pgtable-ppc64-64k.h | 32 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro 33 #define PGDIR_MASK (~(PGDIR_SIZE-1))
|
D | pgtable-ppc64-4k.h | 40 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro 41 #define PGDIR_MASK (~(PGDIR_SIZE-1))
|
D | pgtable-ppc32.h | 31 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro 32 #define PGDIR_MASK (~(PGDIR_SIZE-1)) 47 #define USER_PTRS_PER_PGD (TASK_SIZE / PGDIR_SIZE)
|
/linux-4.4.14/arch/metag/include/asm/ |
D | pgtable.h | 35 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro 36 #define PGDIR_MASK (~(PGDIR_SIZE-1)) 45 #define PTRS_PER_PTE (PGDIR_SIZE/PAGE_SIZE) 46 #define HPTRS_PER_PTE (PGDIR_SIZE/HPAGE_SIZE) 173 #define pmd_num_ptrs(pmd) (PGDIR_SIZE >> pmd_page_shift(pmd))
|
/linux-4.4.14/arch/arc/include/asm/ |
D | highmem.h | 20 #define FIXMAP_SIZE PGDIR_SIZE /* only 1 PGD worth */ 26 #define PKMAP_SIZE PGDIR_SIZE
|
D | pgalloc.h | 61 num = USER_PTRS_PER_PGD + USER_KERNEL_GUTTER / PGDIR_SIZE; in pgd_alloc() 64 num2 = VMALLOC_SIZE / PGDIR_SIZE; in pgd_alloc()
|
D | pgtable.h | 213 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) /* vaddr span, not PDG sz */ macro 214 #define PGDIR_MASK (~(PGDIR_SIZE-1)) 223 #define USER_PTRS_PER_PGD (TASK_SIZE / PGDIR_SIZE)
|
D | processor.h | 118 #define VMALLOC_SIZE (PAGE_OFFSET - VMALLOC_START - PGDIR_SIZE * 4)
|
/linux-4.4.14/arch/mips/include/asm/ |
D | pgtable-64.h | 59 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro 60 #define PGDIR_MASK (~(PGDIR_SIZE-1)) 117 #if PGDIR_SIZE >= TASK_SIZE64 120 #define USER_PTRS_PER_PGD (TASK_SIZE64 / PGDIR_SIZE)
|
D | pgtable-32.h | 43 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro 44 #define PGDIR_MASK (~(PGDIR_SIZE-1)) 59 #define USER_PTRS_PER_PGD (0x80000000UL/PGDIR_SIZE)
|
/linux-4.4.14/arch/arm64/mm/ |
D | kasan_init.c | 94 BUILD_BUG_ON(!IS_ALIGNED(KASAN_SHADOW_START, PGDIR_SIZE)); in kasan_early_init() 95 BUILD_BUG_ON(!IS_ALIGNED(KASAN_SHADOW_END, PGDIR_SIZE)); in kasan_early_init() 107 for (; start < end; start += PGDIR_SIZE) in clear_pgds()
|
D | dump.c | 302 addr = start + i * PGDIR_SIZE; in walk_pgd()
|
/linux-4.4.14/arch/alpha/include/asm/ |
D | pgtable.h | 37 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro 38 #define PGDIR_MASK (~(PGDIR_SIZE-1)) 47 #define USER_PTRS_PER_PGD (TASK_SIZE / PGDIR_SIZE) 56 #define VMALLOC_START (-2*PGDIR_SIZE) 58 #define VMALLOC_END (-PGDIR_SIZE)
|
/linux-4.4.14/arch/nios2/mm/ |
D | ioremap.c | 58 if (end > PGDIR_SIZE) in remap_area_pmd() 59 end = PGDIR_SIZE; in remap_area_pmd() 103 address = (address + PGDIR_SIZE) & PGDIR_MASK; in remap_area_pages()
|
/linux-4.4.14/arch/mips/mm/ |
D | ioremap.c | 52 if (end > PGDIR_SIZE) in remap_area_pmd() 53 end = PGDIR_SIZE; in remap_area_pmd() 93 address = (address + PGDIR_SIZE) & PGDIR_MASK; in remap_area_pages()
|
/linux-4.4.14/arch/x86/platform/efi/ |
D | efi_64.c | 91 n_pgds = DIV_ROUND_UP((max_pfn << PAGE_SHIFT), PGDIR_SIZE); in efi_call_phys_prolog() 95 save_pgd[pgd] = *pgd_offset_k(pgd * PGDIR_SIZE); in efi_call_phys_prolog() 96 vaddress = (unsigned long)__va(pgd * PGDIR_SIZE); in efi_call_phys_prolog() 97 set_pgd(pgd_offset_k(pgd * PGDIR_SIZE), *pgd_offset_k(vaddress)); in efi_call_phys_prolog() 115 nr_pgds = DIV_ROUND_UP((max_pfn << PAGE_SHIFT) , PGDIR_SIZE); in efi_call_phys_epilog() 118 set_pgd(pgd_offset_k(pgd_idx * PGDIR_SIZE), save_pgd[pgd_idx]); in efi_call_phys_epilog()
|
/linux-4.4.14/arch/sh/include/asm/ |
D | pgtable.h | 59 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro 60 #define PGDIR_MASK (~(PGDIR_SIZE-1))
|
D | pgtable-2level.h | 21 #define USER_PTRS_PER_PGD (TASK_SIZE/PGDIR_SIZE)
|
/linux-4.4.14/arch/parisc/kernel/ |
D | pci-dma.c | 118 if (end > PGDIR_SIZE) in map_pmd_uncached() 119 end = PGDIR_SIZE; in map_pmd_uncached() 148 vaddr = vaddr + PGDIR_SIZE; in map_uncached_pages() 207 if (end > PGDIR_SIZE) in unmap_uncached_pmd() 208 end = PGDIR_SIZE; in unmap_uncached_pmd() 225 vaddr = vaddr + PGDIR_SIZE; in unmap_uncached_pages()
|
/linux-4.4.14/arch/x86/mm/ |
D | kasan_init_64.c | 34 for (; start < end; start += PGDIR_SIZE) in clear_pgds() 47 start += PGDIR_SIZE; in kasan_map_early_shadow()
|
D | init_64.c | 109 next = (addr & PGDIR_MASK) + PGDIR_SIZE; in kernel_ident_mapping_init() 170 for (address = start; address <= end; address += PGDIR_SIZE) { in sync_global_pgds() 615 next = (start & PGDIR_MASK) + PGDIR_SIZE; in kernel_physical_mapping_init()
|
/linux-4.4.14/arch/metag/mm/ |
D | mmu-meta2.c | 161 addr += PGDIR_SIZE; in mmu_init() 195 addr += PGDIR_SIZE; in mmu_init()
|
D | mmu-meta1.c | 154 addr += PGDIR_SIZE; in mmu_init()
|
/linux-4.4.14/arch/unicore32/mm/ |
D | mmu.c | 308 for (addr = 0; addr < MODULES_VADDR; addr += PGDIR_SIZE) in prepare_page_table() 311 for ( ; addr < PAGE_OFFSET; addr += PGDIR_SIZE) in prepare_page_table() 326 addr < VMALLOC_END; addr += PGDIR_SIZE) in prepare_page_table() 360 for (addr = VMALLOC_END; addr; addr += PGDIR_SIZE) in devicemaps_init()
|
D | ioremap.c | 94 addr += PGDIR_SIZE; in unmap_area_sections() 122 addr += PGDIR_SIZE; in remap_area_sections()
|
/linux-4.4.14/arch/nios2/include/asm/ |
D | pgtable.h | 80 (CONFIG_NIOS2_KERNEL_MMU_REGION_BASE / PGDIR_SIZE) 83 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro 84 #define PGDIR_MASK (~(PGDIR_SIZE-1))
|
/linux-4.4.14/arch/cris/include/asm/ |
D | pgtable.h | 52 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro 53 #define PGDIR_MASK (~(PGDIR_SIZE-1)) 69 #define USER_PTRS_PER_PGD (TASK_SIZE/PGDIR_SIZE)
|
/linux-4.4.14/mm/kasan/ |
D | kasan_init.c | 126 if (IS_ALIGNED(addr, PGDIR_SIZE) && end - addr >= PGDIR_SIZE) { in kasan_populate_zero_shadow()
|
/linux-4.4.14/arch/m32r/include/asm/ |
D | pgtable.h | 52 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro 53 #define PGDIR_MASK (~(PGDIR_SIZE - 1)) 55 #define USER_PTRS_PER_PGD (TASK_SIZE / PGDIR_SIZE)
|
/linux-4.4.14/arch/unicore32/include/asm/ |
D | pgtable.h | 56 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro 57 #define PGDIR_MASK (~(PGDIR_SIZE-1)) 67 #define USER_PTRS_PER_PGD ((TASK_SIZE/PGDIR_SIZE) - FIRST_USER_PGD_NR)
|
/linux-4.4.14/arch/tile/mm/ |
D | hugetlbpage.c | 66 if (sz >= PGDIR_SIZE) { in huge_pte_alloc() 67 BUG_ON(sz != PGDIR_SIZE && in huge_pte_alloc() 68 sz != PGDIR_SIZE << huge_shift[HUGE_SHIFT_PGDIR]); in huge_pte_alloc()
|
D | fault.c | 903 for (address = start; address >= PAGE_OFFSET; address += PGDIR_SIZE) { in vmalloc_sync_all() 921 start = address + PGDIR_SIZE; in vmalloc_sync_all()
|
/linux-4.4.14/arch/tile/kernel/ |
D | head_32.S | 162 .set addr, addr + PGDIR_SIZE 168 .org swapper_pg_dir + PGDIR_SIZE
|
D | machine_kexec.c | 230 #define QUASI_VA_IS_PA_ADDR_RANGE PGDIR_SIZE
|
D | setup.c | 252 VMALLOC_RESERVE = (memparse(arg, &arg) + PGDIR_SIZE - 1) & PGDIR_MASK; in parse_vmalloc()
|
/linux-4.4.14/arch/score/include/asm/ |
D | pgtable.h | 16 #define PGDIR_SIZE (_AC(1, UL) << PGDIR_SHIFT) macro 17 #define PGDIR_MASK (~(PGDIR_SIZE - 1)) 29 #define USER_PTRS_PER_PGD (0x80000000UL/PGDIR_SIZE)
|
/linux-4.4.14/arch/avr32/include/asm/ |
D | pgtable.h | 29 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro 30 #define PGDIR_MASK (~(PGDIR_SIZE-1)) 32 #define USER_PTRS_PER_PGD (TASK_SIZE / PGDIR_SIZE)
|
/linux-4.4.14/arch/arm64/include/asm/ |
D | pgtable-hwdef.h | 79 #define PGDIR_SIZE (_AC(1, UL) << PGDIR_SHIFT) macro 80 #define PGDIR_MASK (~(PGDIR_SIZE-1))
|
/linux-4.4.14/arch/openrisc/include/asm/ |
D | pgtable.h | 61 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro 62 #define PGDIR_MASK (~(PGDIR_SIZE-1)) 79 #define USER_PTRS_PER_PGD (TASK_SIZE/PGDIR_SIZE)
|
/linux-4.4.14/arch/xtensa/include/asm/ |
D | pgtable.h | 52 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro 53 #define PGDIR_MASK (~(PGDIR_SIZE-1)) 63 #define USER_PTRS_PER_PGD (TASK_SIZE/PGDIR_SIZE)
|
/linux-4.4.14/include/asm-generic/ |
D | 4level-fixup.h | 8 #define PUD_SIZE PGDIR_SIZE
|
D | pgtable.h | 333 ({ unsigned long __boundary = ((addr) + PGDIR_SIZE) & PGDIR_MASK; \
|
/linux-4.4.14/arch/microblaze/include/asm/ |
D | pgtable.h | 148 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro 149 #define PGDIR_MASK (~(PGDIR_SIZE-1)) 159 #define USER_PTRS_PER_PGD (TASK_SIZE / PGDIR_SIZE)
|
/linux-4.4.14/arch/mn10300/include/asm/ |
D | pgtable.h | 66 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro 67 #define PGDIR_MASK (~(PGDIR_SIZE - 1)) 69 #define USER_PTRS_PER_PGD (TASK_SIZE / PGDIR_SIZE)
|
/linux-4.4.14/arch/frv/include/asm/ |
D | pgtable.h | 122 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro 123 #define PGDIR_MASK (~(PGDIR_SIZE - 1)) 144 #define USER_PGDS_IN_LAST_PML4 (TASK_SIZE / PGDIR_SIZE)
|
/linux-4.4.14/arch/hexagon/include/asm/ |
D | pgtable.h | 88 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro 89 #define PGDIR_MASK (~(PGDIR_SIZE-1))
|
/linux-4.4.14/arch/x86/xen/ |
D | xen-head.S | 108 ELFNOTE(Xen, XEN_ELFNOTE_INIT_P2M, .quad PGDIR_SIZE)
|
D | mmu.c | 125 #define USER_LIMIT ((STACK_TOP_MAX + PGDIR_SIZE - 1) & PGDIR_MASK) 1168 unpin = (vaddr == 2 * PGDIR_SIZE); in xen_cleanmfnmap() 2102 n_pud = roundup(size, PGDIR_SIZE) >> PGDIR_SHIFT; in xen_relocate_p2m() 2125 new_p2m = (unsigned long *)(2 * PGDIR_SIZE); in xen_relocate_p2m()
|
/linux-4.4.14/arch/powerpc/mm/ |
D | tlb_hash32.c | 108 pmd_end = ((start + PGDIR_SIZE) & PGDIR_MASK) - 1; in flush_range()
|
/linux-4.4.14/arch/m68k/sun3x/ |
D | dvma.c | 110 end2 = (vaddr + (PGDIR_SIZE-1)) & PGDIR_MASK; in dvma_map_cpu()
|
/linux-4.4.14/arch/ia64/include/asm/ |
D | pgtable.h | 125 #define PGDIR_SIZE (__IA64_UL(1) << PGDIR_SHIFT) macro 126 #define PGDIR_MASK (~(PGDIR_SIZE-1))
|
/linux-4.4.14/arch/parisc/include/asm/ |
D | pgtable.h | 131 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro 132 #define PGDIR_MASK (~(PGDIR_SIZE-1))
|
/linux-4.4.14/arch/s390/mm/ |
D | dump_pagetables.c | 185 addr += PGDIR_SIZE; in walk_pgd_level()
|
D | vmem.c | 160 address += PGDIR_SIZE; in vmem_remove_range()
|
/linux-4.4.14/arch/arm/kvm/ |
D | mmu.c | 434 for (addr = PAGE_OFFSET; virt_addr_valid(addr); addr += PGDIR_SIZE) in free_hyp_pgds() 435 unmap_range(NULL, hyp_pgd, KERN_TO_HYP(addr), PGDIR_SIZE); in free_hyp_pgds() 436 for (addr = VMALLOC_START; is_vmalloc_addr((void*)addr); addr += PGDIR_SIZE) in free_hyp_pgds() 437 unmap_range(NULL, hyp_pgd, KERN_TO_HYP(addr), PGDIR_SIZE); in free_hyp_pgds()
|
/linux-4.4.14/arch/sparc/include/asm/ |
D | pgtable_32.h | 41 #define PGDIR_SIZE SRMMU_PGDIR_SIZE macro
|
D | pgtable_64.h | 63 #define PGDIR_SIZE (_AC(1,UL) << PGDIR_SHIFT) macro 64 #define PGDIR_MASK (~(PGDIR_SIZE-1))
|
/linux-4.4.14/arch/arm/mm/ |
D | dump.c | 315 addr = i * PGDIR_SIZE; in walk_pgd()
|
/linux-4.4.14/arch/arm/mach-rpc/ |
D | ecard.c | 232 memcpy(dst_pgd, src_pgd, sizeof(pgd_t) * (IO_SIZE / PGDIR_SIZE)); in ecard_init_pgtables() 237 memcpy(dst_pgd, src_pgd, sizeof(pgd_t) * (EASI_SIZE / PGDIR_SIZE)); in ecard_init_pgtables()
|
/linux-4.4.14/arch/um/kernel/ |
D | tlb.c | 322 last = ADD_ROUND(addr, PGDIR_SIZE); in flush_tlb_kernel_range_common()
|
/linux-4.4.14/arch/ia64/mm/ |
D | init.c | 394 end_address += PGDIR_SIZE; in vmemmap_find_next_valid_pfn()
|
/linux-4.4.14/arch/s390/include/asm/ |
D | pgtable.h | 74 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro 75 #define PGDIR_MASK (~(PGDIR_SIZE-1))
|