Searched refs:pg_dir (Results 1 – 9 of 9) sorted by relevance
39 pgd_t * pg_dir; in paging_init() local51 pg_dir = swapper_pg_dir; in paging_init()62 pg_dir += PAGE_OFFSET >> PGDIR_SHIFT; in paging_init()67 pgd_val(*pg_dir) = (unsigned long) pg_table; in paging_init()68 pg_dir++; in paging_init()
38 pgd_t *pg_dir; in paging_init() local49 pg_dir = swapper_pg_dir; in paging_init()57 pg_dir += PAGE_OFFSET >> PGDIR_SHIFT; in paging_init()63 pgd_val(*pg_dir) = (unsigned long) pg_table; in paging_init()64 pg_dir++; in paging_init()
76 pgd_t *pg_dir; in vmem_add_mem() local93 pg_dir = pgd_offset_k(address); in vmem_add_mem()94 if (pgd_none(*pg_dir)) { in vmem_add_mem()98 pgd_populate(&init_mm, pg_dir, p4_dir); in vmem_add_mem()100 p4_dir = p4d_offset(pg_dir, address); in vmem_add_mem()160 pgd_t *pg_dir; in vmem_remove_range() local168 pg_dir = pgd_offset_k(address); in vmem_remove_range()169 if (pgd_none(*pg_dir)) { in vmem_remove_range()173 p4_dir = p4d_offset(pg_dir, address); in vmem_remove_range()218 pgd_t *pg_dir; in vmemmap_populate() local[all …]
101 pgd_t *pg_dir; in paging_init() local104 pg_dir = swapper_pg_dir; in paging_init()107 pgd_val(pg_dir[i]) = 0; in paging_init()
136 static inline void resume_init_first_level_page_table(pgd_t *pg_dir) in resume_init_first_level_page_table() argument143 set_pgd(pg_dir + i, in resume_init_first_level_page_table()
405 pgd_t *pg_dir; in map_pages() local425 pg_dir = pgd_offset_k(start_vaddr); in map_pages()438 pmd = (pmd_t *)__pa(pg_dir); in map_pages()440 pmd = (pmd_t *)pgd_address(*pg_dir); in map_pages()451 pgd_populate(NULL, pg_dir, __va(pmd)); in map_pages()453 pg_dir++; in map_pages()
119 static inline void resume_init_first_level_page_table(pgd_t *pg_dir) in resume_init_first_level_page_table() argument
88 extern void load_pgd(unsigned long pg_dir);
13 extern void load_pgd(unsigned long pg_dir);