Home
last modified time | relevance | path

Searched refs:pgd_val (Results 1 – 25 of 97) sorted by relevance

1234

/linux-6.1.9/arch/riscv/include/asm/
Dpgtable-64.h318 set_p4d((p4d_t *)pgdp, (p4d_t){ pgd_val(pgd) }); in set_pgd()
324 return (pgd_val(pgd) == 0); in pgd_none()
332 return (pgd_val(pgd) & _PAGE_PRESENT); in pgd_present()
354 return (p4d_t *)pfn_to_virt(__page_val_to_pfn(pgd_val(pgd))); in pgd_pgtable()
356 return (p4d_t *)p4d_pgtable((p4d_t) { pgd_val(pgd) }); in pgd_pgtable()
362 return pfn_to_page(__page_val_to_pfn(pgd_val(pgd))); in pgd_page()
/linux-6.1.9/arch/um/include/asm/
Dpgtable-3level.h53 pgd_val(e))
69 return(pgd_val(pgd) & _PAGE_NEWPAGE); in pgd_newpage()
72 static inline void pgd_mkuptodate(pgd_t pgd) { pgd_val(pgd) &= ~_PAGE_NEWPAGE; } in pgd_mkuptodate()
Dpgtable-2level.h32 pgd_val(e))
/linux-6.1.9/arch/arm/include/asm/
Dpgtable-2level-types.h28 #define pgd_val(x) ((x).pgd[0]) macro
46 #define pgd_val(x) ((x)[0]) macro
Dpgtable-3level-types.h31 #define pgd_val(x) ((x).pgd) macro
48 #define pgd_val(x) (x) macro
Dpage-nommu.h27 #define pgd_val(x) ((x)[0]) macro
/linux-6.1.9/arch/alpha/mm/
Dinit.c52 pgd_val(ret[PTRS_PER_PGD-2]) = pgd_val(init[PTRS_PER_PGD-2]); in pgd_alloc()
56 pgd_val(ret[PTRS_PER_PGD-1]) in pgd_alloc()
110 pgd_val(swapper_pg_dir[1023]) = in switch_to_system_map()
Dfault.c246 pgd_val(*pgd) = pgd_val(*pgd_k); in do_page_fault()
/linux-6.1.9/arch/alpha/include/asm/
Dpage.h38 #define pgd_val(x) ((x).pgd) macro
57 #define pgd_val(x) (x) macro
/linux-6.1.9/arch/sparc/include/asm/
Dpage_32.h66 #define pgd_val(x) ((x).pgd) macro
94 #define pgd_val(x) (x) macro
Dpage_64.h80 #define pgd_val(x) ((x).pgd) macro
103 #define pgd_val(x) (x) macro
/linux-6.1.9/arch/parisc/include/asm/
Dpage.h58 #define pgd_val(x) ((x).pgd + 0) macro
81 #define pgd_val(x) (x) macro
Dpgtable.h109 printk("%s:%d: bad pgd %08lx.\n", __FILE__, __LINE__, (unsigned long)pgd_val(e))
306 #define pgd_flag(x) (pgd_val(x) & PxD_FLAG_MASK)
307 #define pgd_address(x) ((unsigned long)(pgd_val(x) &~ PxD_FLAG_MASK) << PxD_VALUE_SHIFT)
/linux-6.1.9/mm/
Dptdump.c41 st->effective_prot(st, 0, pgd_val(val)); in ptdump_pgd_entry()
44 st->note_page(st, addr, 0, pgd_val(val)); in ptdump_pgd_entry()
/linux-6.1.9/arch/ia64/include/asm/
Dpage.h169 # define pgd_val(x) ((x).pgd) macro
190 # define pgd_val(x) (x) macro
/linux-6.1.9/arch/s390/include/asm/
Dpgtable.h78 pr_err("%s:%d: bad pgd %016lx.\n", __FILE__, __LINE__, pgd_val(e))
618 return (pgd_val(pgd) & _REGION_ENTRY_TYPE_MASK) < _REGION_ENTRY_TYPE_R1; in pgd_folded()
625 return (pgd_val(pgd) & _REGION_ENTRY_ORIGIN) != 0UL; in pgd_present()
632 return (pgd_val(pgd) & _REGION_ENTRY_INVALID) != 0UL; in pgd_none()
637 if ((pgd_val(pgd) & _REGION_ENTRY_TYPE_MASK) < _REGION_ENTRY_TYPE_R1) in pgd_bad()
639 return (pgd_val(pgd) & ~_REGION_ENTRY_BITS) != 0; in pgd_bad()
647 return (pgd_val(pgd) & origin_mask) >> PAGE_SHIFT; in pgd_pfn()
939 if ((pgd_val(*pgd) & _REGION_ENTRY_TYPE_MASK) == _REGION_ENTRY_TYPE_R1) in pgd_clear()
1299 #define pgd_deref(pgd) ((unsigned long)__va(pgd_val(pgd) & _REGION_ENTRY_ORIGIN))
1348 rste = pgd_val(*pgd); in pgd_offset_raw()
[all …]
/linux-6.1.9/arch/xtensa/mm/
Dfault.c49 pgd_val(*pgd) = pgd_val(*pgd_k); in vmalloc_fault()
/linux-6.1.9/arch/arm64/include/asm/
Dpgtable-types.h40 #define pgd_val(x) ((x).pgd) macro
/linux-6.1.9/arch/m68k/include/asm/
Dpage.h46 #define pgd_val(x) ((x).pgd) macro
Dmcf_pgtable.h112 pgd_val(*pgdp) = virt_to_phys(pmdp); in pgd_set()
149 __FILE__, __LINE__, pgd_val(e))
/linux-6.1.9/include/asm-generic/
Dpgtable-nop4d.h40 #define p4d_val(x) (pgd_val((x).pgd))
/linux-6.1.9/arch/openrisc/include/asm/
Dpage.h60 #define pgd_val(x) ((x).pgd) macro
/linux-6.1.9/arch/nios2/include/asm/
Dpage.h66 #define pgd_val(x) ((x).pgd) macro
/linux-6.1.9/arch/powerpc/include/asm/
Dpgtable-types.h54 static inline unsigned long pgd_val(pgd_t x) in pgd_val() function
/linux-6.1.9/arch/sparc/mm/
Dfault_32.c290 pgd_val(*pgd) = pgd_val(*pgd_k); in do_sparc_fault()

1234