Searched refs:PTRS_PER_PGD (Results 1 – 25 of 106) sorted by relevance
12345
23 #define __pgd_alloc() kmalloc(PTRS_PER_PGD * sizeof(pgd_t), GFP_KERNEL)51 (PTRS_PER_PGD - USER_PTRS_PER_PGD) * sizeof(pgd_t)); in pgd_alloc()53 clean_dcache_area(new_pgd, PTRS_PER_PGD * sizeof(pgd_t)); in pgd_alloc()143 for (pgd = pgd_base; pgd < pgd_base + PTRS_PER_PGD; pgd++) { in pgd_free()
58 #define PTRS_PER_PGD 2048 macro62 #define PTRS_PER_PGD 1024 macro66 #define PTRS_PER_PGD 128 macro
17 (PTRS_PER_PGD - USER_PTRS_PER_PGD) * sizeof(pgd_t)); in pgd_ctor()23 PTRS_PER_PGD * (1<<PTE_MAGNITUDE), in pgtable_cache_init()
44 (PTRS_PER_PGD - FIRST_KERNEL_PGD_NR) * sizeof(pgd_t)); in get_pgd_slow()46 clean_dcache_area(new_pgd, PTRS_PER_PGD * sizeof(pgd_t)); in get_pgd_slow()
50 (PTRS_PER_PGD - USER_PTRS_PER_PGD - 1)*sizeof(pgd_t)); in pgd_alloc()52 pgd_val(ret[PTRS_PER_PGD-2]) = pgd_val(init[PTRS_PER_PGD-2]); in pgd_alloc()56 pgd_val(ret[PTRS_PER_PGD-1]) in pgd_alloc()
28 base = early_ioremap(olpc_ofw_pgd, sizeof(olpc_ofw_pgd) * PTRS_PER_PGD); in setup_olpc_ofw_pgd()40 early_iounmap(base, sizeof(olpc_ofw_pgd) * PTRS_PER_PGD); in setup_olpc_ofw_pgd()
20 #define PTRS_PER_PGD (PAGE_SIZE / (1 << PTE_MAGNITUDE)) macro
27 #define PTRS_PER_PGD 8192 macro
27 #define PTRS_PER_PGD 512 macro
27 #define PTRS_PER_PGD 1024 macro
33 #define PTRS_PER_PGD 4 macro
29 #define PTRS_PER_PGD 512 macro
52 return get_order(PTRS_PER_PGD * 4); in __get_order_pgd()68 (PTRS_PER_PGD - num - num2) * sizeof(pgd_t)); in pgd_alloc()
31 #define PGD_SIZE (PTRS_PER_PGD * sizeof(pgd_t))
21 pgd_t swapper_pg_dir[PTRS_PER_PGD] __attribute__((aligned(PAGE_SIZE)));114 (PTRS_PER_PGD - USER_PGDS_IN_LAST_PML4) * sizeof(pgd_t)); in pgd_ctor()
95 for (; pgd_idx < PTRS_PER_PGD; pgd++, pgd_idx++) { in resume_physical_mapping_init()141 for (i = 0; i < PTRS_PER_PGD; i++) in resume_init_first_level_page_table()
20 #define PTRS_PER_PGD (1 << PGD_INDEX_SIZE) macro
30 actual_pgd += PTRS_PER_PGD; in pgd_alloc()49 pgd -= PTRS_PER_PGD; in pgd_free()
37 #define PTRS_PER_PGD 512 macro40 #define PTRS_PER_PGD 1024 macro
17 #define PTRS_PER_PGD 1024 macro
34 extern pgd_t early_level4_pgt[PTRS_PER_PGD];44 for (i = 0; i < PTRS_PER_PGD-1; i++) in reset_early_page_tables()
123 #define PTRS_PER_PGD ((PAGE_SIZE << PGD_ORDER) / sizeof(pgd_t)) macro140 min(PTRS_PER_PGD * PTRS_PER_PMD * PTRS_PER_PTE * PAGE_SIZE, \251 #define pgd_index(address) (((address) >> PGDIR_SHIFT) & (PTRS_PER_PGD-1))
113 for (j = 0; p < e && j < PTRS_PER_PGD; in map_ram()143 for (i = 0; i < PTRS_PER_PGD; i++) in paging_init()
32 pgd_t swapper_pg_dir[PTRS_PER_PGD];119 for ( ; (i < PTRS_PER_PGD) && (vaddr < end); pgd++, i++) { in fixrange_init()261 (PTRS_PER_PGD - USER_PTRS_PER_PGD) * sizeof(pgd_t)); in pgd_alloc()
62 #define PTRS_PER_PGD (1UL << (PAGE_SHIFT-2)) macro233 #define pgd_index(address) (((address) >> PGDIR_SHIFT) & (PTRS_PER_PGD-1))265 extern pgd_t swapper_pg_dir[PTRS_PER_PGD]; /* defined in head.S */