/linux-master/arch/nios2/include/asm/ |
H A D | pgalloc.h | 29 extern pgd_t *pgd_alloc(struct mm_struct *mm);
|
H A D | page.h | 62 typedef struct { unsigned long pgd; } pgd_t; typedef in typeref:struct:__anon31 70 #define __pgd(x) ((pgd_t) { (x) })
|
/linux-master/arch/m68k/include/asm/ |
H A D | pgtable_no.h | 31 #define swapper_pg_dir ((pgd_t *) 0)
|
H A D | motorola_pgalloc.h | 71 static inline void pgd_free(struct mm_struct *mm, pgd_t *pgd) 76 static inline pgd_t *pgd_alloc(struct mm_struct *mm)
|
/linux-master/arch/loongarch/mm/ |
H A D | pgtable.c | 24 pgd_t *pgd_alloc(struct mm_struct *mm) 26 pgd_t *init, *ret = NULL; 30 ret = (pgd_t *)ptdesc_address(ptdesc); 34 (PTRS_PER_PGD - USER_PTRS_PER_PGD) * sizeof(pgd_t));
|
/linux-master/arch/x86/mm/ |
H A D | pgtable.c | 96 static inline void pgd_list_add(pgd_t *pgd) 103 static inline void pgd_list_del(pgd_t *pgd) 116 static void pgd_set_mm(pgd_t *pgd, struct mm_struct *mm) 126 static void pgd_ctor(struct mm_struct *mm, pgd_t *pgd) 146 static void pgd_dtor(pgd_t *pgd) 274 static void mop_up_one_pmd(struct mm_struct *mm, pgd_t *pgdp) 276 pgd_t pgd = *pgdp; 289 static void pgd_mop_up_pmds(struct mm_struct *mm, pgd_t *pgdp) 308 static void pgd_prepopulate_pmd(struct mm_struct *mm, pgd_t *pgd, pmd_t *pmds[]) 330 pgd_t *k_pg [all...] |
/linux-master/arch/powerpc/include/asm/book3s/32/ |
H A D | pgalloc.h | 8 static inline pgd_t *pgd_alloc(struct mm_struct *mm) 14 static inline void pgd_free(struct mm_struct *mm, pgd_t *pgd)
|
/linux-master/arch/mips/mm/ |
H A D | hugetlbpage.c | 27 pgd_t *pgd; 44 pgd_t *pgd;
|
/linux-master/arch/um/kernel/ |
H A D | mem.c | 49 pgd_t swapper_pg_dir[PTRS_PER_PGD]; 112 pgd_t *pgd_base) 114 pgd_t *pgd; 202 pgd_t *pgd_alloc(struct mm_struct *mm) 204 pgd_t *pgd = (pgd_t *)__get_free_page(GFP_KERNEL); 207 memset(pgd, 0, USER_PTRS_PER_PGD * sizeof(pgd_t)); 210 (PTRS_PER_PGD - USER_PTRS_PER_PGD) * sizeof(pgd_t));
|
/linux-master/arch/powerpc/include/asm/nohash/ |
H A D | pgalloc.h | 20 static inline pgd_t *pgd_alloc(struct mm_struct *mm) 26 static inline void pgd_free(struct mm_struct *mm, pgd_t *pgd)
|
/linux-master/arch/sh/mm/ |
H A D | hugetlbpage.c | 27 pgd_t *pgd; 52 pgd_t *pgd;
|
/linux-master/arch/openrisc/include/asm/ |
H A D | page.h | 53 } pgd_t; typedef in typeref:struct:__anon34 64 #define __pgd(x) ((pgd_t) { (x) })
|
/linux-master/arch/arm64/include/asm/ |
H A D | pgtable-types.h | 45 typedef struct { pgdval_t pgd; } pgd_t; typedef in typeref:struct:__anon15 47 #define __pgd(x) ((pgd_t) { (x) } )
|
/linux-master/arch/riscv/include/asm/ |
H A D | pgtable-64.h | 345 static inline void set_pgd(pgd_t *pgdp, pgd_t pgd) 353 static inline int pgd_none(pgd_t pgd) 361 static inline int pgd_present(pgd_t pgd) 369 static inline int pgd_bad(pgd_t pgd) 377 static inline void pgd_clear(pgd_t *pgd) 383 static inline p4d_t *pgd_pgtable(pgd_t pgd) 392 static inline struct page *pgd_page(pgd_t pgd) 401 p4d_t *p4d_offset(pgd_t *pgd, unsigned long address);
|
/linux-master/arch/arm/mm/ |
H A D | idmap.c | 20 pgd_t *idmap_pgd __ro_after_init; 68 static void idmap_add_pud(pgd_t *pgd, unsigned long addr, unsigned long end, 81 static void identity_mapping_add(pgd_t *pgd, const char *text_start,
|
/linux-master/arch/arm/include/asm/ |
H A D | pgalloc.h | 24 #define PGD_SIZE (PTRS_PER_PGD * sizeof(pgd_t)) 47 extern pgd_t *pgd_alloc(struct mm_struct *mm); 48 extern void pgd_free(struct mm_struct *mm, pgd_t *pgd);
|
H A D | proc-fns.h | 167 pg &= ~(PTRS_PER_PGD*sizeof(pgd_t)-1); \ 168 (pgd_t *)phys_to_virt(pg); \ 177 (pgd_t *)phys_to_virt(pg); \
|
H A D | pgtable-nommu.h | 40 #define swapper_pg_dir ((pgd_t *) 0)
|
/linux-master/arch/sparc/include/asm/ |
H A D | page_32.h | 58 typedef struct { unsigned long pgd; } pgd_t; typedef in typeref:struct:__anon132 74 #define __pgd(x) ((pgd_t) { (x) } ) 86 typedef unsigned long pgd_t; typedef
|
H A D | pgalloc_32.h | 20 pgd_t *get_pgd_fast(void); 21 static inline void free_pgd_fast(pgd_t *pgd)
|
/linux-master/arch/csky/mm/ |
H A D | highmem.c | 23 pgd_t *pgd;
|
/linux-master/arch/parisc/mm/ |
H A D | fixmap.c | 16 pgd_t *pgd = pgd_offset_k(vaddr);
|
/linux-master/arch/s390/include/asm/ |
H A D | pgalloc.h | 103 static inline void pgd_populate(struct mm_struct *mm, pgd_t *pgd, p4d_t *p4d) 118 static inline pgd_t *pgd_alloc(struct mm_struct *mm) 120 return (pgd_t *) crst_table_alloc(mm); 123 static inline void pgd_free(struct mm_struct *mm, pgd_t *pgd)
|
/linux-master/arch/um/include/asm/ |
H A D | pgtable-3level.h | 63 static inline int pgd_newpage(pgd_t pgd) 68 static inline void pgd_mkuptodate(pgd_t pgd) { pgd_val(pgd) &= ~_PAGE_NEWPAGE; }
|
/linux-master/arch/riscv/kernel/ |
H A D | hibernate.c | 32 static pgd_t *resume_pg_dir; 273 static int temp_pgtable_map_p4d(pgd_t *dst_pgdp, pgd_t *src_pgdp, unsigned long start, 312 static int temp_pgtable_mapping(pgd_t *pgdp, unsigned long start, unsigned long end, pgprot_t prot) 314 pgd_t *dst_pgdp = pgd_offset_pgd(pgdp, start); 315 pgd_t *src_pgdp = pgd_offset_k(start); 320 pgd_t pgd = READ_ONCE(*src_pgdp); 364 resume_pg_dir = (pgd_t *)get_safe_page(GFP_ATOMIC);
|