Searched refs:pgd_t (Results 51 - 75 of 309) sorted by relevance

1234567891011>>

/linux-master/arch/nios2/include/asm/
H A Dpgalloc.h29 extern pgd_t *pgd_alloc(struct mm_struct *mm);
H A Dpage.h62 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 Dpgtable_no.h31 #define swapper_pg_dir ((pgd_t *) 0)
H A Dmotorola_pgalloc.h71 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 Dpgtable.c24 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 Dpgtable.c96 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 Dpgalloc.h8 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 Dhugetlbpage.c27 pgd_t *pgd;
44 pgd_t *pgd;
/linux-master/arch/um/kernel/
H A Dmem.c49 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 Dpgalloc.h20 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 Dhugetlbpage.c27 pgd_t *pgd;
52 pgd_t *pgd;
/linux-master/arch/openrisc/include/asm/
H A Dpage.h53 } pgd_t; typedef in typeref:struct:__anon34
64 #define __pgd(x) ((pgd_t) { (x) })
/linux-master/arch/arm64/include/asm/
H A Dpgtable-types.h45 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 Dpgtable-64.h345 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 Didmap.c20 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 Dpgalloc.h24 #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 Dproc-fns.h167 pg &= ~(PTRS_PER_PGD*sizeof(pgd_t)-1); \
168 (pgd_t *)phys_to_virt(pg); \
177 (pgd_t *)phys_to_virt(pg); \
H A Dpgtable-nommu.h40 #define swapper_pg_dir ((pgd_t *) 0)
/linux-master/arch/sparc/include/asm/
H A Dpage_32.h58 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 Dpgalloc_32.h20 pgd_t *get_pgd_fast(void);
21 static inline void free_pgd_fast(pgd_t *pgd)
/linux-master/arch/csky/mm/
H A Dhighmem.c23 pgd_t *pgd;
/linux-master/arch/parisc/mm/
H A Dfixmap.c16 pgd_t *pgd = pgd_offset_k(vaddr);
/linux-master/arch/s390/include/asm/
H A Dpgalloc.h103 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 Dpgtable-3level.h63 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 Dhibernate.c32 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);

Completed in 517 milliseconds

1234567891011>>