Home
last modified time | relevance | path

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

12345678910

/arch/arm64/include/asm/
Dstage2_pgtable-nopud.h27 #define stage2_pgd_none(pgd) (0) argument
28 #define stage2_pgd_present(pgd) (1) argument
29 #define stage2_pgd_clear(pgd) do { } while (0) argument
30 #define stage2_pgd_populate(pgd, pud) do { } while (0) argument
32 #define stage2_pud_offset(pgd, address) ((pud_t *)(pgd)) argument
Dstage2_pgtable.h80 #define stage2_pgd_none(pgd) pgd_none(pgd) argument
81 #define stage2_pgd_clear(pgd) pgd_clear(pgd) argument
82 #define stage2_pgd_present(pgd) pgd_present(pgd) argument
83 #define stage2_pgd_populate(pgd, pud) pgd_populate(NULL, pgd, pud) argument
84 #define stage2_pud_offset(pgd, address) pud_offset(pgd, address) argument
/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/nohash/64/
Dpgtable-4k.h56 #define pgd_none(pgd) (!pgd_val(pgd)) argument
57 #define pgd_bad(pgd) (pgd_val(pgd) == 0) argument
58 #define pgd_present(pgd) (pgd_val(pgd) != 0) argument
59 #define pgd_page_vaddr(pgd) (pgd_val(pgd) & ~PGD_MASKED_BITS) argument
68 static inline pte_t pgd_pte(pgd_t pgd) in pgd_pte()
/arch/arm/include/asm/
Dstage2_pgtable.h22 #define stage2_pgd_none(pgd) pgd_none(pgd) argument
23 #define stage2_pgd_clear(pgd) pgd_clear(pgd) argument
24 #define stage2_pgd_present(pgd) pgd_present(pgd) argument
25 #define stage2_pgd_populate(pgd, pud) pgd_populate(NULL, pgd, pud) argument
26 #define stage2_pud_offset(pgd, address) pud_offset(pgd, address) argument
/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.h35 static inline int pgd_none(pgd_t pgd) { return 0; } in pgd_none()
36 static inline int pgd_bad(pgd_t pgd) { return 0; } in pgd_bad()
37 static inline int pgd_present(pgd_t pgd) { return 1; } in pgd_present()
55 #define pgd_page_vaddr(pgd) \ argument
59 #define pgd_page(pgd) (mem_map + ((pgd_val(pgd) >> PAGE_SHIFT) - PFN_BASE)) argument
/arch/tile/mm/
Dpgtable.c55 pgd_t *pgd; in shatter_huge_page() local
123 static inline void pgd_list_add(pgd_t *pgd) in pgd_list_add()
128 static inline void pgd_list_del(pgd_t *pgd) in pgd_list_del()
136 static void pgd_ctor(pgd_t *pgd) in pgd_ctor()
160 static void pgd_dtor(pgd_t *pgd) in pgd_dtor()
171 pgd_t *pgd = kmem_cache_alloc(pgd_cache, GFP_KERNEL); in pgd_alloc() local
177 void pgd_free(struct mm_struct *mm, pgd_t *pgd) in pgd_free()
297 pgd_t *pgd; in virt_to_pte() local
Dfault.c107 static inline pmd_t *vmalloc_sync_one(pgd_t *pgd, unsigned long address) in vmalloc_sync_one()
139 static inline int vmalloc_fault(pgd_t *pgd, unsigned long address) in vmalloc_fault()
213 static int handle_migrating_pte(pgd_t *pgd, int fault_num, in handle_migrating_pte()
276 pgd_t *pgd; in handle_page_fault() local
608 pgd_t *pgd = get_current_pgd(); in do_page_fault_ics() local
/arch/x86/mm/
Dkasan_init_64.c121 static void __init kasan_populate_pgd(pgd_t *pgd, unsigned long addr, in kasan_populate_pgd()
143 pgd_t *pgd; in kasan_populate_shadow() local
169 pgd_t *pgd; in clear_pgds() local
190 static inline p4d_t *early_p4d_offset(pgd_t *pgd, unsigned long addr) in early_p4d_offset()
202 static void __init kasan_early_p4d_populate(pgd_t *pgd, in kasan_early_p4d_populate()
227 static void __init kasan_map_early_shadow(pgd_t *pgd) in kasan_map_early_shadow()
Dpgtable.c97 static inline void pgd_list_add(pgd_t *pgd) in pgd_list_add()
104 static inline void pgd_list_del(pgd_t *pgd) in pgd_list_del()
115 static void pgd_set_mm(pgd_t *pgd, struct mm_struct *mm) in pgd_set_mm()
126 static void pgd_ctor(struct mm_struct *mm, pgd_t *pgd) in pgd_ctor()
146 static void pgd_dtor(pgd_t *pgd) in pgd_dtor()
258 pgd_t pgd = pgdp[i]; in pgd_mop_up_pmds() local
272 static void pgd_prepopulate_pmd(struct mm_struct *mm, pgd_t *pgd, pmd_t *pmds[]) in pgd_prepopulate_pmd()
351 static inline void _pgd_free(pgd_t *pgd) in _pgd_free()
365 static inline void _pgd_free(pgd_t *pgd) in _pgd_free()
373 pgd_t *pgd; in pgd_alloc() local
[all …]
/arch/m68k/include/asm/
Dpgtable_no.h19 #define pgd_present(pgd) (1) argument
20 #define pgd_none(pgd) (0) argument
21 #define pgd_bad(pgd) (0) argument
/arch/sh/mm/
Dhugetlbpage.c28 pgd_t *pgd; in huge_pte_alloc() local
49 pgd_t *pgd; in huge_pte_offset() local
Dpgtable.c14 pgd_t *pgd = x; in pgd_ctor() local
38 void pgd_free(struct mm_struct *mm, pgd_t *pgd) in pgd_free()
/arch/metag/include/asm/
Dpgalloc.h20 static inline void pgd_ctor(pgd_t *pgd) in pgd_ctor()
32 pgd_t *pgd = (pgd_t *)get_zeroed_page(GFP_KERNEL); in pgd_alloc() local
38 static inline void pgd_free(struct mm_struct *mm, pgd_t *pgd) in pgd_free()
/arch/mips/mm/
Dhugetlbpage.c27 pgd_t *pgd; in huge_pte_alloc() local
42 pgd_t *pgd; in huge_pte_offset() local
/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/
Dkasan_init.c72 static void __init kasan_early_pud_populate(pgd_t *pgd, in kasan_early_pud_populate()
94 pgd_t *pgd; in kasan_map_early_shadow() local
116 pgd_t *pgd, *pgd_new, *pgd_end; in kasan_copy_shadow() local
Dmmu.c267 static void alloc_init_pud(pgd_t *pgd, unsigned long addr, unsigned long end, in alloc_init_pud()
322 pgd_t *pgd = pgd_offset_raw(pgdir, virt); in __create_pgd_mapping() local
403 static void __init __map_memblock(pgd_t *pgd, phys_addr_t start, in __map_memblock()
420 static void __init map_mem(pgd_t *pgd) in map_mem()
501 static void __init map_kernel_segment(pgd_t *pgd, void *va_start, void *va_end, in map_kernel_segment()
566 static void __init map_kernel(pgd_t *pgd) in map_kernel()
625 pgd_t *pgd = pgd_set_fixmap(pgd_phys); in paging_init() local
658 pgd_t *pgd; in kern_addr_valid() local
701 pgd_t *pgd; in vmemmap_populate() local
739 pgd_t *pgd = pgd_offset_k(addr); in fixmap_pud() local
[all …]
/arch/metag/mm/
Dinit.c46 static void insert_gateway_page(pgd_t *pgd, unsigned long address) in insert_gateway_page()
72 pgd_t *pgd; in user_gateway_init() local
268 pgd_t *pgd; in allocate_pgtables() local
297 pgd_t *pgd; in fixedrange_init() local
/arch/mips/include/asm/
Dpgtable-64.h197 static inline int pgd_none(pgd_t pgd) in pgd_none()
202 static inline int pgd_bad(pgd_t pgd) in pgd_bad()
210 static inline int pgd_present(pgd_t pgd) in pgd_present()
222 static inline unsigned long pgd_page_vaddr(pgd_t pgd) in pgd_page_vaddr()
227 #define pgd_phys(pgd) virt_to_phys((void *)pgd_val(pgd)) argument
228 #define pgd_page(pgd) (pfn_to_page(pgd_phys(pgd) >> PAGE_SHIFT)) argument
230 static inline pud_t *pud_offset(pgd_t *pgd, unsigned long address) in pud_offset()
235 static inline void set_pgd(pgd_t *pgd, pgd_t pgdval) in set_pgd()
/arch/x86/power/
Dhibernate_32.c33 static pmd_t *resume_one_md_table_init(pgd_t *pgd) in resume_one_md_table_init()
87 pgd_t *pgd; in resume_physical_mapping_init() local
/arch/um/include/asm/
Dpgtable-2level.h36 static inline int pgd_newpage(pgd_t pgd) { return 0; } in pgd_newpage()
37 static inline void pgd_mkuptodate(pgd_t pgd) { } in pgd_mkuptodate()
/arch/parisc/include/asm/
Dpgalloc.h24 pgd_t *pgd = (pgd_t *)__get_free_pages(GFP_KERNEL, in pgd_alloc() local
47 static inline void pgd_free(struct mm_struct *mm, pgd_t *pgd) in pgd_free()
59 static inline void pgd_populate(struct mm_struct *mm, pgd_t *pgd, pmd_t *pmd) in pgd_populate()

12345678910