/openbmc/linux/include/asm-generic/ |
H A D | pgtable-nop4d.h | 9 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 D | kasan_init_64.c | 123 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 D | pgtable.c | 93 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 D | init_64.c | 150 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 D | pgtable_no.h | 19 #define pgd_present(pgd) (1) argument 20 #define pgd_none(pgd) (0) argument 21 #define pgd_bad(pgd) (0) argument
|
H A D | mcf_pgalloc.h | 26 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 D | pgd.c | 21 #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 D | idmap.c | 68 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 D | hibernate_32.c | 30 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 D | hibernate_64.c | 28 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 D | pgtable-64.h | 341 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 D | pgalloc.h | 62 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 D | pgalloc.h | 39 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 D | pgtable-nommu.h | 20 #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 D | init.c | 33 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 D | hugetlbpage.c | 27 pgd_t *pgd; in huge_pte_alloc() local 44 pgd_t *pgd; in huge_pte_offset() local
|
/openbmc/linux/arch/sh/mm/ |
H A D | pgtable.c | 12 pgd_t *pgd = x; in pgd_ctor() local 37 void pgd_free(struct mm_struct *mm, pgd_t *pgd) in pgd_free()
|
H A D | hugetlbpage.c | 27 pgd_t *pgd; in huge_pte_alloc() local 52 pgd_t *pgd; in huge_pte_offset() local
|
/openbmc/linux/arch/loongarch/mm/ |
H A D | hugetlbpage.c | 19 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 D | pgtable-2level.h | 34 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 D | pgalloc.h | 21 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 D | pgtable_64.h | 144 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 D | pgalloc_32.h | 21 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 D | mmu_context.h | 28 #define htw_set_pwbase(pgd) \ argument 40 #define TLBMISS_HANDLER_SETUP_PGD(pgd) \ argument
|
/openbmc/linux/arch/um/kernel/ |
H A D | mem.c | 114 pgd_t *pgd; in fixrange_init() local 204 pgd_t *pgd = (pgd_t *)__get_free_page(GFP_KERNEL); in pgd_alloc() local
|