PGDIR_SIZE         39 arch/alpha/include/asm/pgtable.h #define PGDIR_MASK	(~(PGDIR_SIZE-1))
PGDIR_SIZE         48 arch/alpha/include/asm/pgtable.h #define USER_PTRS_PER_PGD	(TASK_SIZE / PGDIR_SIZE)
PGDIR_SIZE         57 arch/alpha/include/asm/pgtable.h #define VMALLOC_START		(-2*PGDIR_SIZE)
PGDIR_SIZE         59 arch/alpha/include/asm/pgtable.h #define VMALLOC_END		(-PGDIR_SIZE)
PGDIR_SIZE         16 arch/arc/include/asm/highmem.h #define FIXMAP_SIZE		PGDIR_SIZE	/* only 1 PGD worth */
PGDIR_SIZE         22 arch/arc/include/asm/highmem.h #define PKMAP_SIZE		PGDIR_SIZE
PGDIR_SIZE         58 arch/arc/include/asm/pgalloc.h 		num = USER_PTRS_PER_PGD + USER_KERNEL_GUTTER / PGDIR_SIZE;
PGDIR_SIZE         61 arch/arc/include/asm/pgalloc.h 		num2 = VMALLOC_SIZE / PGDIR_SIZE;
PGDIR_SIZE        219 arch/arc/include/asm/pgtable.h #define PGDIR_MASK	(~(PGDIR_SIZE-1))
PGDIR_SIZE        228 arch/arc/include/asm/pgtable.h #define	USER_PTRS_PER_PGD	(TASK_SIZE / PGDIR_SIZE)
PGDIR_SIZE        119 arch/arc/include/asm/processor.h #define VMALLOC_SIZE	((CONFIG_ARC_KVADDR_SIZE << 20) - PGDIR_SIZE * 4)
PGDIR_SIZE         88 arch/arm/include/asm/pgtable-2level.h #define PGDIR_MASK		(~(PGDIR_SIZE-1))
PGDIR_SIZE        104 arch/arm/include/asm/pgtable-2level.h #define USER_PTRS_PER_PGD	(TASK_SIZE / PGDIR_SIZE)
PGDIR_SIZE         50 arch/arm/include/asm/pgtable-3level.h #define USER_PTRS_PER_PGD	(PAGE_OFFSET / PGDIR_SIZE)
PGDIR_SIZE         34 arch/arm/include/asm/pgtable-nommu.h #define PGDIR_MASK		(~(PGDIR_SIZE-1))
PGDIR_SIZE         39 arch/arm/include/asm/stage2_pgtable.h 	phys_addr_t boundary = (addr + PGDIR_SIZE) & PGDIR_MASK;
PGDIR_SIZE         15 arch/arm/mach-ebsa110/core.h #define ISAIO_SIZE		PGDIR_SIZE
PGDIR_SIZE         18 arch/arm/mach-ebsa110/core.h #define TRICK0_SIZE		PGDIR_SIZE
PGDIR_SIZE         20 arch/arm/mach-ebsa110/core.h #define TRICK1_SIZE		PGDIR_SIZE
PGDIR_SIZE         23 arch/arm/mach-ebsa110/core.h #define TRICK3_SIZE		PGDIR_SIZE
PGDIR_SIZE         25 arch/arm/mach-ebsa110/core.h #define TRICK4_SIZE		PGDIR_SIZE
PGDIR_SIZE        234 arch/arm/mach-rpc/ecard.c 	memcpy(dst_pgd, src_pgd, sizeof(pgd_t) * (IO_SIZE / PGDIR_SIZE));
PGDIR_SIZE        239 arch/arm/mach-rpc/ecard.c 	memcpy(dst_pgd, src_pgd, sizeof(pgd_t) * (EASI_SIZE / PGDIR_SIZE));
PGDIR_SIZE        382 arch/arm/mm/dump.c 		addr = start + i * PGDIR_SIZE;
PGDIR_SIZE         71 arch/arm64/include/asm/pgtable-hwdef.h #define PGDIR_MASK		(~(PGDIR_SIZE-1))
PGDIR_SIZE        159 arch/arm64/mm/kasan_init.c 	BUILD_BUG_ON(!IS_ALIGNED(_KASAN_SHADOW_START(VA_BITS), PGDIR_SIZE));
PGDIR_SIZE        160 arch/arm64/mm/kasan_init.c 	BUILD_BUG_ON(!IS_ALIGNED(_KASAN_SHADOW_START(VA_BITS_MIN), PGDIR_SIZE));
PGDIR_SIZE        161 arch/arm64/mm/kasan_init.c 	BUILD_BUG_ON(!IS_ALIGNED(KASAN_SHADOW_END, PGDIR_SIZE));
PGDIR_SIZE        196 arch/arm64/mm/kasan_init.c 	for (; start < end; start += PGDIR_SIZE)
PGDIR_SIZE         14 arch/csky/include/asm/pgtable.h #define PGDIR_MASK		(~(PGDIR_SIZE-1))
PGDIR_SIZE         16 arch/csky/include/asm/pgtable.h #define USER_PTRS_PER_PGD	(0x80000000UL/PGDIR_SIZE)
PGDIR_SIZE         75 arch/hexagon/include/asm/pgtable.h #define PGDIR_MASK (~(PGDIR_SIZE-1))
PGDIR_SIZE        127 arch/ia64/include/asm/pgtable.h #define PGDIR_MASK		(~(PGDIR_SIZE-1))
PGDIR_SIZE        391 arch/ia64/mm/init.c 			end_address += PGDIR_SIZE;
PGDIR_SIZE         50 arch/m68k/include/asm/pgtable_mm.h #define PGDIR_MASK	(~(PGDIR_SIZE-1))
PGDIR_SIZE         71 arch/m68k/include/asm/pgtable_mm.h #define USER_PTRS_PER_PGD	(TASK_SIZE/PGDIR_SIZE)
PGDIR_SIZE        104 arch/m68k/sun3x/dvma.c 			end2 = (vaddr + (PGDIR_SIZE-1)) & PGDIR_MASK;
PGDIR_SIZE        149 arch/microblaze/include/asm/pgtable.h #define PGDIR_MASK	(~(PGDIR_SIZE-1))
PGDIR_SIZE        159 arch/microblaze/include/asm/pgtable.h #define USER_PTRS_PER_PGD	(TASK_SIZE / PGDIR_SIZE)
PGDIR_SIZE         72 arch/mips/include/asm/pgtable-32.h #define PGDIR_MASK	(~(PGDIR_SIZE-1))
PGDIR_SIZE         96 arch/mips/include/asm/pgtable-32.h #define USER_PTRS_PER_PGD	(0x80000000UL/PGDIR_SIZE)
PGDIR_SIZE         67 arch/mips/include/asm/pgtable-64.h #define PGDIR_MASK	(~(PGDIR_SIZE-1))
PGDIR_SIZE        140 arch/mips/include/asm/pgtable-64.h #define USER_PTRS_PER_PGD       ((TASK_SIZE64 / PGDIR_SIZE)?(TASK_SIZE64 / PGDIR_SIZE):1)
PGDIR_SIZE         54 arch/mips/mm/ioremap.c 	if (end > PGDIR_SIZE)
PGDIR_SIZE         55 arch/mips/mm/ioremap.c 		end = PGDIR_SIZE;
PGDIR_SIZE         95 arch/mips/mm/ioremap.c 		address = (address + PGDIR_SIZE) & PGDIR_MASK;
PGDIR_SIZE         30 arch/nds32/include/asm/highmem.h #define PKMAP_BASE		((FIXADDR_START - PGDIR_SIZE) & (PGDIR_MASK))
PGDIR_SIZE         48 arch/nds32/include/asm/pgtable.h #define PGDIR_MASK		(~(PGDIR_SIZE-1))
PGDIR_SIZE         80 arch/nds32/include/asm/pgtable.h #define USER_PTRS_PER_PGD	((TASK_SIZE/PGDIR_SIZE) + FIRST_USER_PGD_NR)
PGDIR_SIZE         81 arch/nios2/include/asm/pgtable.h 	(CONFIG_NIOS2_KERNEL_MMU_REGION_BASE / PGDIR_SIZE)
PGDIR_SIZE         85 arch/nios2/include/asm/pgtable.h #define PGDIR_MASK	(~(PGDIR_SIZE-1))
PGDIR_SIZE         58 arch/nios2/mm/ioremap.c 	if (end > PGDIR_SIZE)
PGDIR_SIZE         59 arch/nios2/mm/ioremap.c 		end = PGDIR_SIZE;
PGDIR_SIZE        103 arch/nios2/mm/ioremap.c 		address = (address + PGDIR_SIZE) & PGDIR_MASK;
PGDIR_SIZE         59 arch/openrisc/include/asm/pgtable.h #define PGDIR_MASK	(~(PGDIR_SIZE-1))
PGDIR_SIZE         76 arch/openrisc/include/asm/pgtable.h #define USER_PTRS_PER_PGD       (TASK_SIZE/PGDIR_SIZE)
PGDIR_SIZE        154 arch/parisc/include/asm/pgtable.h #define PGDIR_MASK	(~(PGDIR_SIZE-1))
PGDIR_SIZE        113 arch/parisc/kernel/pci-dma.c 	if (end > PGDIR_SIZE)
PGDIR_SIZE        114 arch/parisc/kernel/pci-dma.c 		end = PGDIR_SIZE;
PGDIR_SIZE        143 arch/parisc/kernel/pci-dma.c 		vaddr = vaddr + PGDIR_SIZE;
PGDIR_SIZE        202 arch/parisc/kernel/pci-dma.c 	if (end > PGDIR_SIZE)
PGDIR_SIZE        203 arch/parisc/kernel/pci-dma.c 		end = PGDIR_SIZE;
PGDIR_SIZE        220 arch/parisc/kernel/pci-dma.c 		vaddr = vaddr + PGDIR_SIZE;
PGDIR_SIZE        134 arch/powerpc/include/asm/book3s/32/pgtable.h #define PGDIR_MASK	(~(PGDIR_SIZE-1))
PGDIR_SIZE        136 arch/powerpc/include/asm/book3s/32/pgtable.h #define USER_PTRS_PER_PGD	(TASK_SIZE / PGDIR_SIZE)
PGDIR_SIZE        247 arch/powerpc/include/asm/book3s/64/pgtable.h #define PGDIR_MASK	(~(PGDIR_SIZE-1))
PGDIR_SIZE         51 arch/powerpc/include/asm/nohash/32/pgtable.h #define PGDIR_MASK	(~(PGDIR_SIZE-1))
PGDIR_SIZE         56 arch/powerpc/include/asm/nohash/32/pgtable.h #define USER_PTRS_PER_PGD	(TASK_SIZE / PGDIR_SIZE)
PGDIR_SIZE         42 arch/powerpc/include/asm/nohash/64/pgtable-4k.h #define PGDIR_MASK	(~(PGDIR_SIZE-1))
PGDIR_SIZE       1274 arch/powerpc/kvm/book3s_64_mmu_radix.c 			gpa = (gpa & PGDIR_MASK) + PGDIR_SIZE;
PGDIR_SIZE         92 arch/powerpc/mm/book3s32/tlb.c 		pmd_end = ((start + PGDIR_SIZE) & PGDIR_MASK) - 1;
PGDIR_SIZE        856 arch/powerpc/mm/book3s64/radix_pgtable.c 			split_kernel_mapping(addr, end, PGDIR_SIZE, (pte_t *)pgd);
PGDIR_SIZE        445 arch/powerpc/mm/ptdump/hashpagetable.c 		addr = KERN_VIRT_START + i * PGDIR_SIZE;
PGDIR_SIZE        307 arch/powerpc/mm/ptdump/ptdump.c 	for (i = pgd_index(addr); i < PTRS_PER_PGD; i++, pgd++, addr += PGDIR_SIZE) {
PGDIR_SIZE        312 arch/powerpc/mm/ptdump/ptdump.c 			note_page(st, addr, 1, pgd_val(*pgd), PGDIR_SIZE);
PGDIR_SIZE         15 arch/riscv/include/asm/pgtable-32.h #define PGDIR_MASK      (~(PGDIR_SIZE - 1))
PGDIR_SIZE         14 arch/riscv/include/asm/pgtable-64.h #define PGDIR_MASK      (~(PGDIR_SIZE - 1))
PGDIR_SIZE         34 arch/riscv/include/asm/pgtable.h #define USER_PTRS_PER_PGD   (TASK_SIZE / PGDIR_SIZE)
PGDIR_SIZE        112 arch/riscv/include/asm/pgtable.h #define FIXADDR_SIZE     PGDIR_SIZE
PGDIR_SIZE        444 arch/riscv/include/asm/pgtable.h #define TASK_SIZE (PGDIR_SIZE * PTRS_PER_PGD / 2)
PGDIR_SIZE        216 arch/riscv/mm/init.c #if MAX_EARLY_MAPPING_SIZE < PGDIR_SIZE
PGDIR_SIZE        219 arch/riscv/mm/init.c #define NUM_EARLY_PMDS		(1UL + MAX_EARLY_MAPPING_SIZE / PGDIR_SIZE)
PGDIR_SIZE        285 arch/riscv/mm/init.c #define PTE_PARENT_SIZE		PGDIR_SIZE
PGDIR_SIZE        297 arch/riscv/mm/init.c 	if (sz == PGDIR_SIZE) {
PGDIR_SIZE        363 arch/riscv/mm/init.c 	BUG_ON((PAGE_OFFSET % PGDIR_SIZE) != 0);
PGDIR_SIZE        369 arch/riscv/mm/init.c 			   (uintptr_t)fixmap_pgd_next, PGDIR_SIZE, PAGE_TABLE);
PGDIR_SIZE        377 arch/riscv/mm/init.c 			   (uintptr_t)trampoline_pmd, PGDIR_SIZE, PAGE_TABLE);
PGDIR_SIZE        383 arch/riscv/mm/init.c 			   load_pa, PGDIR_SIZE, PAGE_KERNEL_EXEC);
PGDIR_SIZE        422 arch/riscv/mm/init.c 			   PGDIR_SIZE, PAGE_TABLE);
PGDIR_SIZE        251 arch/s390/mm/dump_pagetables.c 		addr += PGDIR_SIZE;
PGDIR_SIZE        108 arch/s390/mm/kasan_init.c 			    IS_ALIGNED(address, PGDIR_SIZE) &&
PGDIR_SIZE        109 arch/s390/mm/kasan_init.c 			    end - address >= PGDIR_SIZE) {
PGDIR_SIZE        112 arch/s390/mm/kasan_init.c 				address = (address + PGDIR_SIZE) & PGDIR_MASK;
PGDIR_SIZE        169 arch/s390/mm/vmem.c 			address += PGDIR_SIZE;
PGDIR_SIZE         23 arch/sh/include/asm/pgtable-2level.h #define USER_PTRS_PER_PGD	(TASK_SIZE/PGDIR_SIZE)
PGDIR_SIZE         57 arch/sh/include/asm/pgtable.h #define PGDIR_MASK	(~(PGDIR_SIZE-1))
PGDIR_SIZE         67 arch/sparc/include/asm/pgtable_64.h #define PGDIR_MASK	(~(PGDIR_SIZE-1))
PGDIR_SIZE         18 arch/um/include/asm/pgtable-2level.h #define PGDIR_MASK	(~(PGDIR_SIZE-1))
PGDIR_SIZE         25 arch/um/include/asm/pgtable-2level.h #define USER_PTRS_PER_PGD ((TASK_SIZE + (PGDIR_SIZE - 1)) / PGDIR_SIZE)
PGDIR_SIZE         21 arch/um/include/asm/pgtable-3level.h #define PGDIR_MASK	(~(PGDIR_SIZE-1))
PGDIR_SIZE         44 arch/um/include/asm/pgtable-3level.h #define USER_PTRS_PER_PGD ((TASK_SIZE + (PGDIR_SIZE - 1)) / PGDIR_SIZE)
PGDIR_SIZE        353 arch/um/kernel/tlb.c 			last = ADD_ROUND(addr, PGDIR_SIZE);
PGDIR_SIZE         55 arch/unicore32/include/asm/pgtable.h #define PGDIR_MASK		(~(PGDIR_SIZE-1))
PGDIR_SIZE         65 arch/unicore32/include/asm/pgtable.h #define USER_PTRS_PER_PGD	((TASK_SIZE/PGDIR_SIZE) - FIRST_USER_PGD_NR)
PGDIR_SIZE         90 arch/unicore32/mm/ioremap.c 		addr += PGDIR_SIZE;
PGDIR_SIZE        118 arch/unicore32/mm/ioremap.c 		addr += PGDIR_SIZE;
PGDIR_SIZE        303 arch/unicore32/mm/mmu.c 	for (addr = 0; addr < MODULES_VADDR; addr += PGDIR_SIZE)
PGDIR_SIZE        306 arch/unicore32/mm/mmu.c 	for ( ; addr < PAGE_OFFSET; addr += PGDIR_SIZE)
PGDIR_SIZE        321 arch/unicore32/mm/mmu.c 	     addr < VMALLOC_END; addr += PGDIR_SIZE)
PGDIR_SIZE        358 arch/unicore32/mm/mmu.c 	for (addr = VMALLOC_END; addr; addr += PGDIR_SIZE)
PGDIR_SIZE         21 arch/x86/include/asm/pgtable_32_types.h #define PGDIR_MASK	(~(PGDIR_SIZE - 1))
PGDIR_SIZE        103 arch/x86/include/asm/pgtable_64_types.h #define PGDIR_MASK	(~(PGDIR_SIZE - 1))
PGDIR_SIZE        121 arch/x86/include/asm/pgtable_64_types.h #define LDT_END_ADDR		(LDT_BASE_ADDR + PGDIR_SIZE)
PGDIR_SIZE        108 arch/x86/mm/ident_map.c 		next = (addr & PGDIR_MASK) + PGDIR_SIZE;
PGDIR_SIZE        131 arch/x86/mm/init_64.c 	for (addr = start; addr <= end; addr = ALIGN(addr + 1, PGDIR_SIZE)) {
PGDIR_SIZE        168 arch/x86/mm/init_64.c 	for (addr = start; addr <= end; addr = ALIGN(addr + 1, PGDIR_SIZE)) {
PGDIR_SIZE        739 arch/x86/mm/init_64.c 		vaddr_next = (vaddr & PGDIR_MASK) + PGDIR_SIZE;
PGDIR_SIZE        178 arch/x86/mm/kasan_init_64.c 	for (; start < pgd_end; start += PGDIR_SIZE) {
PGDIR_SIZE         98 arch/x86/mm/mem_encrypt_identity.c 	pgd_size = (((pgd_end - pgd_start) / PGDIR_SIZE) + 1) * sizeof(pgd_t);
PGDIR_SIZE        262 arch/x86/mm/mem_encrypt_identity.c 		entries += (DIV_ROUND_UP(len, PGDIR_SIZE) + 1) * sizeof(p4d_t) * PTRS_PER_P4D;
PGDIR_SIZE        273 arch/x86/mm/mem_encrypt_identity.c 		tables += DIV_ROUND_UP(entries, PGDIR_SIZE) * sizeof(p4d_t) * PTRS_PER_P4D;
PGDIR_SIZE         92 arch/x86/platform/efi/efi_64.c 	n_pgds = DIV_ROUND_UP((max_pfn << PAGE_SHIFT), PGDIR_SIZE);
PGDIR_SIZE        106 arch/x86/platform/efi/efi_64.c 		addr_pgd = (unsigned long)(pgd * PGDIR_SIZE);
PGDIR_SIZE        107 arch/x86/platform/efi/efi_64.c 		vaddr = (unsigned long)__va(pgd * PGDIR_SIZE);
PGDIR_SIZE        140 arch/x86/platform/efi/efi_64.c 		pgd_offset_k(pgd * PGDIR_SIZE)->pgd &= ~_PAGE_NX;
PGDIR_SIZE        166 arch/x86/platform/efi/efi_64.c 	nr_pgds = DIV_ROUND_UP((max_pfn << PAGE_SHIFT) , PGDIR_SIZE);
PGDIR_SIZE        169 arch/x86/platform/efi/efi_64.c 		pgd = pgd_offset_k(pgd_idx * PGDIR_SIZE);
PGDIR_SIZE        170 arch/x86/platform/efi/efi_64.c 		set_pgd(pgd_offset_k(pgd_idx * PGDIR_SIZE), save_pgd[pgd_idx]);
PGDIR_SIZE        177 arch/x86/platform/efi/efi_64.c 					 pgd_idx * PGDIR_SIZE + i * P4D_SIZE);
PGDIR_SIZE        134 arch/x86/xen/mmu_pv.c #define USER_LIMIT	((STACK_TOP_MAX + PGDIR_SIZE - 1) & PGDIR_MASK)
PGDIR_SIZE       1214 arch/x86/xen/mmu_pv.c 	unpin = (vaddr == 2 * PGDIR_SIZE);
PGDIR_SIZE       2094 arch/x86/xen/mmu_pv.c 	new_p2m = (unsigned long *)(2 * PGDIR_SIZE);
PGDIR_SIZE         52 arch/xtensa/include/asm/pgtable.h #define PGDIR_MASK	(~(PGDIR_SIZE-1))
PGDIR_SIZE         62 arch/xtensa/include/asm/pgtable.h #define USER_PTRS_PER_PGD	(TASK_SIZE/PGDIR_SIZE)
PGDIR_SIZE          9 include/asm-generic/4level-fixup.h #define PUD_SIZE			PGDIR_SIZE
PGDIR_SIZE          9 include/asm-generic/5level-fixup.h #define P4D_SIZE			PGDIR_SIZE
PGDIR_SIZE        530 include/asm-generic/pgtable.h ({	unsigned long __boundary = ((addr) + PGDIR_SIZE) & PGDIR_MASK;	\
PGDIR_SIZE        241 mm/kasan/init.c 		if (IS_ALIGNED(addr, PGDIR_SIZE) && end - addr >= PGDIR_SIZE) {
PGDIR_SIZE        475 mm/kasan/init.c 			if (IS_ALIGNED(addr, PGDIR_SIZE) &&
PGDIR_SIZE        476 mm/kasan/init.c 			    IS_ALIGNED(next, PGDIR_SIZE))