Home
last modified time | relevance | path

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

12345678910

/openbmc/linux/include/asm-generic/
H A Dpgtable-nop4d.h9 typedef struct { pgd_t pgd; } p4d_t; member
21 static inline int pgd_none(pgd_t pgd) { return 0; } in pgd_none()
22 static inline int pgd_bad(pgd_t pgd) { return 0; } in pgd_bad()
23 static inline int pgd_present(pgd_t pgd) { return 1; } in pgd_present()
24 static inline void pgd_clear(pgd_t *pgd) { } in pgd_clear()
27 #define pgd_populate(mm, pgd, p4d) do { } while (0) argument
28 #define pgd_populate_safe(mm, pgd, p4d) do { } while (0) argument
35 static inline p4d_t *p4d_offset(pgd_t *pgd, unsigned long address) in p4d_offset()
43 #define pgd_page(pgd) (p4d_page((p4d_t){ pgd })) argument
44 #define pgd_page_vaddr(pgd) ((unsigned long)(p4d_pgtable((p4d_t){ pgd }))) argument
/openbmc/linux/arch/x86/mm/
H A Dkasan_init_64.c123 static void __init kasan_populate_pgd(pgd_t *pgd, unsigned long addr, in kasan_populate_pgd()
145 pgd_t *pgd; in kasan_populate_shadow() local
171 pgd_t *pgd; in clear_pgds() local
192 static inline p4d_t *early_p4d_offset(pgd_t *pgd, unsigned long addr) in early_p4d_offset()
204 static void __init kasan_early_p4d_populate(pgd_t *pgd, in kasan_early_p4d_populate()
231 static void __init kasan_map_early_shadow(pgd_t *pgd) in kasan_map_early_shadow()
245 static void __init kasan_shallow_populate_p4ds(pgd_t *pgd, in kasan_shallow_populate_p4ds()
267 pgd_t *pgd; in kasan_shallow_populate_pgds() local
H A Dpgtable.c93 static inline void pgd_list_add(pgd_t *pgd) in pgd_list_add()
100 static inline void pgd_list_del(pgd_t *pgd) in pgd_list_del()
113 static void pgd_set_mm(pgd_t *pgd, struct mm_struct *mm) in pgd_set_mm()
123 static void pgd_ctor(struct mm_struct *mm, pgd_t *pgd) in pgd_ctor()
143 static void pgd_dtor(pgd_t *pgd) in pgd_dtor()
273 pgd_t pgd = *pgdp; in mop_up_one_pmd() local
305 static void pgd_prepopulate_pmd(struct mm_struct *mm, pgd_t *pgd, pmd_t *pmds[]) in pgd_prepopulate_pmd()
409 static inline void _pgd_free(pgd_t *pgd) in _pgd_free()
424 static inline void _pgd_free(pgd_t *pgd) in _pgd_free()
432 pgd_t *pgd; in pgd_alloc() local
[all …]
H A Dinit_64.c150 pgd_t *pgd; in sync_global_pgds_l5() local
191 pgd_t *pgd; in sync_global_pgds_l4() local
249 static p4d_t *fill_p4d(pgd_t *pgd, unsigned long vaddr) in fill_p4d()
327 pgd_t *pgd; in set_pte_vaddr() local
345 pgd_t *pgd; in populate_extra_pmd() local
369 pgd_t *pgd; in __init_extra_mapping() local
740 pgd_t *pgd = pgd_offset_k(vaddr); in __kernel_physical_mapping_init() local
1228 pgd_t *pgd; in remove_pagetable() local
1296 pgd_t *pgd = pgd_offset_k(addr); in preallocate_vmalloc_pages() local
1569 pgd_t *pgd; in register_page_bootmem_memmap() local
/openbmc/linux/arch/m68k/include/asm/
H A Dpgtable_no.h19 #define pgd_present(pgd) (1) argument
20 #define pgd_none(pgd) (0) argument
21 #define pgd_bad(pgd) (0) argument
H A Dmcf_pgalloc.h26 extern inline pmd_t *pmd_alloc_kernel(pgd_t *pgd, unsigned long address) in pmd_alloc_kernel()
74 static inline void pgd_free(struct mm_struct *mm, pgd_t *pgd) in pgd_free()
/openbmc/linux/arch/arm/mm/
H A Dpgd.c21 #define __pgd_free(pgd) kfree(pgd) argument
24 #define __pgd_free(pgd) free_pages((unsigned long)pgd, 2) argument
144 pgd_t *pgd; in pgd_free() local
H A Didmap.c68 static void idmap_add_pud(pgd_t *pgd, unsigned long addr, unsigned long end, in idmap_add_pud()
81 static void identity_mapping_add(pgd_t *pgd, const char *text_start, in identity_mapping_add()
/openbmc/linux/arch/x86/power/
H A Dhibernate_32.c30 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
147 pgd_t *pgd; in set_up_temporary_text_mapping() local
H A Dhibernate_64.c28 static int set_up_temporary_text_mapping(pgd_t *pgd) in set_up_temporary_text_mapping()
100 pgd_t *pgd; in set_up_temporary_mappings() local
/openbmc/linux/arch/riscv/include/asm/
H A Dpgtable-64.h341 static inline void set_pgd(pgd_t *pgdp, pgd_t pgd) in set_pgd()
349 static inline int pgd_none(pgd_t pgd) in pgd_none()
357 static inline int pgd_present(pgd_t pgd) in pgd_present()
365 static inline int pgd_bad(pgd_t pgd) in pgd_bad()
373 static inline void pgd_clear(pgd_t *pgd) in pgd_clear()
379 static inline p4d_t *pgd_pgtable(pgd_t pgd) in pgd_pgtable()
386 #define pgd_page_vaddr(pgd) ((unsigned long)pgd_pgtable(pgd)) argument
388 static inline struct page *pgd_page(pgd_t pgd) in pgd_page()
392 #define pgd_page(pgd) pgd_page(pgd) argument
H A Dpgalloc.h62 static inline void pgd_populate(struct mm_struct *mm, pgd_t *pgd, p4d_t *p4d) in pgd_populate()
71 static inline void pgd_populate_safe(struct mm_struct *mm, pgd_t *pgd, in pgd_populate_safe()
130 static inline void sync_kernel_mappings(pgd_t *pgd) in sync_kernel_mappings()
139 pgd_t *pgd; in pgd_alloc() local
/openbmc/linux/arch/powerpc/include/asm/book3s/64/
H A Dpgalloc.h39 static inline void radix__pgd_free(struct mm_struct *mm, pgd_t *pgd) in radix__pgd_free()
50 pgd_t *pgd; in pgd_alloc() local
81 static inline void pgd_free(struct mm_struct *mm, pgd_t *pgd) in pgd_free()
88 static inline void p4d_populate(struct mm_struct *mm, p4d_t *pgd, pud_t *pud) in p4d_populate()
/openbmc/linux/arch/arm/include/asm/
H A Dpgtable-nommu.h20 #define pgd_present(pgd) (1) argument
21 #define pgd_none(pgd) (0) argument
22 #define pgd_bad(pgd) (0) argument
/openbmc/linux/mm/kasan/
H A Dinit.c33 static inline bool kasan_p4d_table(pgd_t pgd) in kasan_p4d_table()
38 static inline bool kasan_p4d_table(pgd_t pgd) in kasan_p4d_table()
188 static int __ref zero_p4d_populate(pgd_t *pgd, unsigned long addr, in zero_p4d_populate()
241 pgd_t *pgd = pgd_offset_k(addr); in kasan_populate_early_shadow() local
337 static void kasan_free_p4d(p4d_t *p4d_start, pgd_t *pgd) in kasan_free_p4d()
456 pgd_t *pgd; in kasan_remove_zero_shadow() local
/openbmc/linux/arch/mips/mm/
H A Dhugetlbpage.c27 pgd_t *pgd; in huge_pte_alloc() local
44 pgd_t *pgd; in huge_pte_offset() local
/openbmc/linux/arch/sh/mm/
H A Dpgtable.c12 pgd_t *pgd = x; in pgd_ctor() local
37 void pgd_free(struct mm_struct *mm, pgd_t *pgd) in pgd_free()
H A Dhugetlbpage.c27 pgd_t *pgd; in huge_pte_alloc() local
52 pgd_t *pgd; in huge_pte_offset() local
/openbmc/linux/arch/loongarch/mm/
H A Dhugetlbpage.c19 pgd_t *pgd; in huge_pte_alloc() local
36 pgd_t *pgd; in huge_pte_offset() local
/openbmc/linux/arch/um/include/asm/
H A Dpgtable-2level.h34 static inline int pgd_newpage(pgd_t pgd) { return 0; } in pgd_newpage()
35 static inline void pgd_mkuptodate(pgd_t pgd) { } in pgd_mkuptodate()
/openbmc/linux/arch/parisc/include/asm/
H A Dpgalloc.h21 pgd_t *pgd; in pgd_alloc() local
32 static inline void pgd_free(struct mm_struct *mm, pgd_t *pgd) in pgd_free()
/openbmc/linux/arch/x86/include/asm/
H A Dpgtable_64.h144 pgd_t pgd; in native_set_p4d() local
161 static inline void native_set_pgd(pgd_t *pgdp, pgd_t pgd) in native_set_pgd()
166 static inline void native_pgd_clear(pgd_t *pgd) in native_pgd_clear()
/openbmc/linux/arch/sparc/include/asm/
H A Dpgalloc_32.h21 static inline void free_pgd_fast(pgd_t *pgd) in free_pgd_fast()
26 #define pgd_free(mm, pgd) free_pgd_fast(pgd) argument
/openbmc/linux/arch/mips/include/asm/
H A Dmmu_context.h28 #define htw_set_pwbase(pgd) \ argument
40 #define TLBMISS_HANDLER_SETUP_PGD(pgd) \ argument
/openbmc/linux/arch/um/kernel/
H A Dmem.c114 pgd_t *pgd; in fixrange_init() local
204 pgd_t *pgd = (pgd_t *)__get_free_page(GFP_KERNEL); in pgd_alloc() local

12345678910