Home
last modified time | relevance | path

Searched defs:pgd (Results 1 – 25 of 218) sorted by relevance

123456789

/arch/mn10300/mm/
Dpgtable.c37 pgd_t *pgd; in set_pmd_pfn() local
108 static inline void pgd_list_add(pgd_t *pgd) in pgd_list_add()
118 static inline void pgd_list_del(pgd_t *pgd) in pgd_list_del()
128 void pgd_ctor(void *pgd) in pgd_ctor()
148 void pgd_dtor(void *pgd) in pgd_dtor()
162 void pgd_free(struct mm_struct *mm, pgd_t *pgd) in pgd_free()
/arch/frv/mm/
Dpgalloc.c89 static inline void pgd_list_add(pgd_t *pgd) in pgd_list_add()
99 static inline void pgd_list_del(pgd_t *pgd) in pgd_list_del()
109 void pgd_ctor(void *pgd) in pgd_ctor()
129 void pgd_dtor(void *pgd) in pgd_dtor()
143 void pgd_free(struct mm_struct *mm, pgd_t *pgd) in pgd_free()
/arch/powerpc/include/asm/
Dpgtable-ppc64-4k.h55 #define pgd_none(pgd) (!pgd_val(pgd)) argument
56 #define pgd_bad(pgd) (pgd_val(pgd) == 0) argument
57 #define pgd_present(pgd) (pgd_val(pgd) != 0) argument
59 #define pgd_page_vaddr(pgd) (pgd_val(pgd) & ~PGD_MASKED_BITS) argument
63 static inline pte_t pgd_pte(pgd_t pgd) in pgd_pte()
/arch/arm/mm/
Dpgd.c24 #define __pgd_free(pgd) kfree(pgd) argument
27 #define __pgd_free(pgd) free_pages((unsigned long)pgd, 2) argument
121 pgd_t *pgd; in pgd_free() local
/arch/m32r/include/asm/
Dpgtable-2level.h34 static inline int pgd_none(pgd_t pgd) { return 0; } in pgd_none()
35 static inline int pgd_bad(pgd_t pgd) { return 0; } in pgd_bad()
36 static inline int pgd_present(pgd_t pgd) { return 1; } in pgd_present()
54 #define pgd_page_vaddr(pgd) \ argument
58 #define pgd_page(pgd) (mem_map + ((pgd_val(pgd) >> PAGE_SHIFT) - PFN_BASE)) argument
/arch/x86/mm/
Dpgtable.c88 static inline void pgd_list_add(pgd_t *pgd) in pgd_list_add()
95 static inline void pgd_list_del(pgd_t *pgd) in pgd_list_del()
106 static void pgd_set_mm(pgd_t *pgd, struct mm_struct *mm) in pgd_set_mm()
117 static void pgd_ctor(struct mm_struct *mm, pgd_t *pgd) in pgd_ctor()
137 static void pgd_dtor(pgd_t *pgd) in pgd_dtor()
245 pgd_t pgd = pgdp[i]; in pgd_mop_up_pmds() local
259 static void pgd_prepopulate_pmd(struct mm_struct *mm, pgd_t *pgd, pmd_t *pmds[]) in pgd_prepopulate_pmd()
336 static inline void _pgd_free(pgd_t *pgd) in _pgd_free()
359 static inline void _pgd_free(pgd_t *pgd) in _pgd_free()
367 pgd_t *pgd; in pgd_alloc() local
[all …]
Dkaiser.c66 pgd_t *pgd; in get_pa_from_mapping() local
120 pgd_t *pgd = native_get_shadow_pgd(pgd_offset_k(address)); in kaiser_pagetable_walk() local
245 pgd_t *pgd; in kaiser_init_all_pgds() local
407 pgd_t *pgd; in kaiser_remove_mapping() local
430 pgd_t kaiser_set_shadow_pgd(pgd_t *pgdp, pgd_t pgd) in kaiser_set_shadow_pgd()
Dinit_64.c106 pgd_t *pgd = pgd_page + pgd_index(addr) + off; in kernel_ident_mapping_init() local
184 pgd_t *pgd; in sync_global_pgds() local
233 static pud_t *fill_pud(pgd_t *pgd, unsigned long vaddr) in fill_pud()
289 pgd_t *pgd; in set_pte_vaddr() local
306 pgd_t *pgd; in populate_extra_pmd() local
328 pgd_t *pgd; in __init_extra_mapping() local
622 pgd_t *pgd = pgd_offset_k(start); in kernel_physical_mapping_init() local
780 static bool __meminit free_pud_table(pud_t *pud_start, pgd_t *pgd) in free_pud_table()
989 pgd_t *pgd; in remove_pagetable() local
1169 pgd_t *pgd; in kern_addr_valid() local
[all …]
/arch/tile/mm/
Dpgtable.c100 pgd_t *pgd; in shatter_huge_page() local
168 static inline void pgd_list_add(pgd_t *pgd) in pgd_list_add()
173 static inline void pgd_list_del(pgd_t *pgd) in pgd_list_del()
181 static void pgd_ctor(pgd_t *pgd) in pgd_ctor()
205 static void pgd_dtor(pgd_t *pgd) in pgd_dtor()
216 pgd_t *pgd = kmem_cache_alloc(pgd_cache, GFP_KERNEL); in pgd_alloc() local
222 void pgd_free(struct mm_struct *mm, pgd_t *pgd) in pgd_free()
342 pgd_t *pgd; in virt_to_pte() local
Dfault.c105 static inline pmd_t *vmalloc_sync_one(pgd_t *pgd, unsigned long address) in vmalloc_sync_one()
137 static inline int vmalloc_fault(pgd_t *pgd, unsigned long address) in vmalloc_fault()
211 static int handle_migrating_pte(pgd_t *pgd, int fault_num, in handle_migrating_pte()
274 pgd_t *pgd; in handle_page_fault() local
606 pgd_t *pgd = get_current_pgd(); in do_page_fault_ics() local
/arch/sh/mm/
Dhugetlbpage.c27 pgd_t *pgd; in huge_pte_alloc() local
47 pgd_t *pgd; in huge_pte_offset() local
Dpgtable.c13 pgd_t *pgd = x; in pgd_ctor() local
37 void pgd_free(struct mm_struct *mm, pgd_t *pgd) in pgd_free()
/arch/m68k/include/asm/
Dpgtable_no.h18 #define pgd_present(pgd) (1) argument
19 #define pgd_none(pgd) (0) argument
20 #define pgd_bad(pgd) (0) argument
/arch/mips/mm/
Dhugetlbpage.c27 pgd_t *pgd; in huge_pte_alloc() local
41 pgd_t *pgd; in huge_pte_offset() local
/arch/metag/include/asm/
Dpgalloc.h19 static inline void pgd_ctor(pgd_t *pgd) in pgd_ctor()
31 pgd_t *pgd = (pgd_t *)get_zeroed_page(GFP_KERNEL); in pgd_alloc() local
37 static inline void pgd_free(struct mm_struct *mm, pgd_t *pgd) in pgd_free()
/arch/um/kernel/
Dmem.c90 pgd_t *pgd; in fixrange_init() local
118 pgd_t *pgd; in fixaddr_user_init() local
187 pgd_t *pgd = (pgd_t *)__get_free_page(GFP_KERNEL); in pgd_alloc() local
198 void pgd_free(struct mm_struct *mm, pgd_t *pgd) in pgd_free()
/arch/arm64/mm/
Dmmu.c250 static void alloc_init_pud(pgd_t *pgd, unsigned long addr, unsigned long end, in alloc_init_pud()
306 static void init_pgd(pgd_t *pgd, phys_addr_t phys, unsigned long virt, in init_pgd()
387 static void __init __map_memblock(pgd_t *pgd, phys_addr_t start, phys_addr_t end) in __map_memblock()
431 static void __init map_mem(pgd_t *pgd) in map_mem()
476 static void __init map_kernel_chunk(pgd_t *pgd, void *va_start, void *va_end, in map_kernel_chunk()
531 static void __init map_kernel(pgd_t *pgd) in map_kernel()
574 pgd_t *pgd = pgd_set_fixmap(pgd_phys); in paging_init() local
612 pgd_t *pgd; in kern_addr_valid() local
655 pgd_t *pgd; in vmemmap_populate() local
693 pgd_t *pgd = pgd_offset_k(addr); in fixmap_pud() local
[all …]
Dkasan_init.c73 static void __init kasan_early_pud_populate(pgd_t *pgd, in kasan_early_pud_populate()
96 pgd_t *pgd; in kasan_map_early_shadow() local
118 pgd_t *pgd, *pgd_new, *pgd_end; in kasan_copy_shadow() local
/arch/metag/mm/
Dinit.c44 static void insert_gateway_page(pgd_t *pgd, unsigned long address) in insert_gateway_page()
70 pgd_t *pgd; in user_gateway_init() local
266 pgd_t *pgd; in allocate_pgtables() local
295 pgd_t *pgd; in fixedrange_init() local
/arch/um/include/asm/
Dpgtable-2level.h35 static inline int pgd_newpage(pgd_t pgd) { return 0; } in pgd_newpage()
36 static inline void pgd_mkuptodate(pgd_t pgd) { } in pgd_mkuptodate()
/arch/x86/power/
Dhibernate_32.c33 static pmd_t *resume_one_md_table_init(pgd_t *pgd) in resume_one_md_table_init()
84 pgd_t *pgd; in resume_physical_mapping_init() local
/arch/parisc/include/asm/
Dpgalloc.h23 pgd_t *pgd = (pgd_t *)__get_free_pages(GFP_KERNEL, in pgd_alloc() local
46 static inline void pgd_free(struct mm_struct *mm, pgd_t *pgd) in pgd_free()
58 static inline void pgd_populate(struct mm_struct *mm, pgd_t *pgd, pmd_t *pmd) in pgd_populate()
/arch/c6x/include/asm/
Dpgtable.h26 #define pgd_present(pgd) (1) argument
27 #define pgd_none(pgd) (0) argument
28 #define pgd_bad(pgd) (0) argument
/arch/unicore32/include/asm/
Dcpu-single.h21 #define cpu_switch_mm(pgd, mm) cpu_do_switch_mm(virt_to_phys(pgd), mm) argument
/arch/x86/include/asm/
Dpgtable_64.h121 static inline pgd_t kaiser_set_shadow_pgd(pgd_t *pgdp, pgd_t pgd) in kaiser_set_shadow_pgd()
132 static inline void native_set_pgd(pgd_t *pgdp, pgd_t pgd) in native_set_pgd()
137 static inline void native_pgd_clear(pgd_t *pgd) in native_pgd_clear()
153 static inline int pgd_large(pgd_t pgd) { return 0; } in pgd_large()

123456789