Home
last modified time | relevance | path

Searched defs:p4d (Results 1 – 25 of 136) sorted by relevance

123456

/Linux-v5.15/include/asm-generic/
Dpgtable-nopud.h16 typedef struct { p4d_t p4d; } pud_t; member
28 static inline int p4d_none(p4d_t p4d) { return 0; } in p4d_none()
29 static inline int p4d_bad(p4d_t p4d) { return 0; } in p4d_bad()
30 static inline int p4d_present(p4d_t p4d) { return 1; } in p4d_present()
31 static inline void p4d_clear(p4d_t *p4d) { } in p4d_clear()
34 #define p4d_populate(mm, p4d, pud) do { } while (0) argument
35 #define p4d_populate_safe(mm, p4d, pud) do { } while (0) argument
42 static inline pud_t *pud_offset(p4d_t *p4d, unsigned long address) in pud_offset()
51 #define p4d_page(p4d) (pud_page((pud_t){ p4d })) argument
52 #define p4d_pgtable(p4d) ((pud_t *)(pud_pgtable((pud_t){ p4d }))) argument
Dpgtable-nop4d.h25 #define p4d_ERROR(p4d) (pgd_ERROR((p4d).pgd)) argument
27 #define pgd_populate(mm, pgd, p4d) do { } while (0) argument
28 #define pgd_populate_safe(mm, pgd, p4d) do { } while (0) argument
/Linux-v5.15/mm/kasan/
Dinit.c45 static inline bool kasan_pud_table(p4d_t p4d) in kasan_pud_table()
50 static inline bool kasan_pud_table(p4d_t p4d) in kasan_pud_table()
142 static int __ref zero_pud_populate(p4d_t *p4d, unsigned long addr, in zero_pud_populate()
182 p4d_t *p4d = p4d_offset(pgd, addr); in zero_p4d_populate() local
238 p4d_t *p4d; in kasan_populate_early_shadow() local
312 static void kasan_free_pud(pud_t *pud_start, p4d_t *p4d) in kasan_free_pud()
329 p4d_t *p4d; in kasan_free_p4d() local
414 static void kasan_remove_p4d_table(p4d_t *p4d, unsigned long addr, in kasan_remove_p4d_table()
453 p4d_t *p4d; in kasan_remove_zero_shadow() local
/Linux-v5.15/arch/powerpc/include/asm/nohash/64/
Dpgtable-4k.h56 #define p4d_none(p4d) (!p4d_val(p4d)) argument
57 #define p4d_bad(p4d) (p4d_val(p4d) == 0) argument
58 #define p4d_present(p4d) (p4d_val(p4d) != 0) argument
62 static inline pud_t *p4d_pgtable(p4d_t p4d) in p4d_pgtable()
72 static inline pte_t p4d_pte(p4d_t p4d) in p4d_pte()
/Linux-v5.15/arch/x86/include/asm/
Dpgalloc.h113 static inline void p4d_populate(struct mm_struct *mm, p4d_t *p4d, pud_t *pud) in p4d_populate()
119 static inline void p4d_populate_safe(struct mm_struct *mm, p4d_t *p4d, pud_t *pud) in p4d_populate_safe()
134 static inline void pgd_populate(struct mm_struct *mm, pgd_t *pgd, p4d_t *p4d) in pgd_populate()
142 static inline void pgd_populate_safe(struct mm_struct *mm, pgd_t *pgd, p4d_t *p4d) in pgd_populate_safe()
159 static inline void p4d_free(struct mm_struct *mm, p4d_t *p4d) in p4d_free()
170 static inline void __p4d_free_tlb(struct mmu_gather *tlb, p4d_t *p4d, in __p4d_free_tlb()
Dpgtable_types.h329 typedef struct { p4dval_t p4d; } p4d_t; member
336 static inline p4dval_t native_p4d_val(p4d_t p4d) in native_p4d_val()
348 static inline p4dval_t native_p4d_val(p4d_t p4d) in native_p4d_val()
406 static inline p4dval_t p4d_pfn_mask(p4d_t p4d) in p4d_pfn_mask()
412 static inline p4dval_t p4d_flags_mask(p4d_t p4d) in p4d_flags_mask()
417 static inline p4dval_t p4d_flags(p4d_t p4d) in p4d_flags()
/Linux-v5.15/arch/mips/include/asm/
Dpgtable-64.h189 static inline int p4d_none(p4d_t p4d) in p4d_none()
194 static inline int p4d_bad(p4d_t p4d) in p4d_bad()
202 static inline int p4d_present(p4d_t p4d) in p4d_present()
212 static inline pud_t *p4d_pgtable(p4d_t p4d) in p4d_pgtable()
217 #define p4d_phys(p4d) virt_to_phys((void *)p4d_val(p4d)) argument
218 #define p4d_page(p4d) (pfn_to_page(p4d_phys(p4d) >> PAGE_SHIFT)) argument
222 static inline void set_p4d(p4d_t *p4d, p4d_t p4dval) in set_p4d()
/Linux-v5.15/arch/x86/mm/
Dinit_64.c187 p4d_t *p4d; in sync_global_pgds_l4() local
247 p4d_t *p4d = (p4d_t *)spp_getpage(); in fill_p4d() local
256 static pud_t *fill_pud(p4d_t *p4d, unsigned long vaddr) in fill_pud()
307 p4d_t *p4d = p4d_page + p4d_index(vaddr); in set_pte_vaddr_p4d() local
341 p4d_t *p4d; in populate_extra_pmd() local
365 p4d_t *p4d; in __init_extra_mapping() local
689 p4d_t *p4d = p4d_page + p4d_index(vaddr); in phys_p4d_init() local
741 p4d_t *p4d; in __kernel_physical_mapping_init() local
1040 static void __meminit free_pud_table(pud_t *pud_start, p4d_t *p4d) in free_pud_table()
1190 p4d_t *p4d; in remove_p4d_table() local
[all …]
Dkasan_init_64.c103 static void __init kasan_populate_p4d(p4d_t *p4d, unsigned long addr, in kasan_populate_p4d()
127 p4d_t *p4d; in kasan_populate_pgd() local
194 unsigned long p4d; in early_p4d_offset() local
209 p4d_t *p4d, p4d_entry; in kasan_early_p4d_populate() local
249 p4d_t *p4d; in kasan_shallow_populate_p4ds() local
Dident_map.c68 p4d_t *p4d = p4d_page + p4d_index(addr); in ident_p4d_init() local
114 p4d_t *p4d; in kernel_ident_mapping_init() local
/Linux-v5.15/arch/mips/mm/
Dhugetlbpage.c28 p4d_t *p4d; in huge_pte_alloc() local
45 p4d_t *p4d; in huge_pte_offset() local
/Linux-v5.15/arch/sh/mm/
Dhugetlbpage.c28 p4d_t *p4d; in huge_pte_alloc() local
53 p4d_t *p4d; in huge_pte_offset() local
Dtlbex_32.c26 p4d_t *p4d; in handle_tlbmiss() local
/Linux-v5.15/arch/s390/include/asm/
Dpgalloc.h62 static inline void p4d_free(struct mm_struct *mm, p4d_t *p4d) in p4d_free()
104 static inline void pgd_populate(struct mm_struct *mm, pgd_t *pgd, p4d_t *p4d) in pgd_populate()
109 static inline void p4d_populate(struct mm_struct *mm, p4d_t *p4d, pud_t *pud) in p4d_populate()
/Linux-v5.15/arch/nds32/mm/
Dfault.c33 p4d_t *p4d; in show_pte() local
351 p4d_t *p4d, *p4d_k; in do_page_fault() local
/Linux-v5.15/arch/s390/mm/
Dvmem.c311 static int modify_pud_table(p4d_t *p4d, unsigned long addr, unsigned long end, in modify_pud_table()
365 static void try_free_pud_table(p4d_t *p4d, unsigned long start) in try_free_pud_table()
393 p4d_t *p4d; in modify_p4d_table() local
422 p4d_t *p4d; in try_free_p4d_table() local
448 p4d_t *p4d; in modify_pagetable() local
Dpage-states.c120 static void mark_kernel_pud(p4d_t *p4d, unsigned long addr, unsigned long end) in mark_kernel_pud()
145 p4d_t *p4d; in mark_kernel_p4d() local
/Linux-v5.15/include/linux/
Dpgtable.h115 static inline pud_t *pud_offset(p4d_t *p4d, unsigned long address) in pud_offset()
600 #define p4d_access_permitted(p4d, write) \ argument
661 #define set_p4d_safe(p4dp, p4d) \ argument
795 #define p4d_clear_bad(p4d) do { } while (0) argument
801 #define pud_clear_bad(p4d) do { } while (0) argument
817 static inline int p4d_none_or_clear_bad(p4d_t *p4d) in p4d_none_or_clear_bad()
1390 static inline int p4d_set_huge(p4d_t *p4d, phys_addr_t addr, pgprot_t prot) in p4d_set_huge()
1394 static inline int p4d_clear_huge(p4d_t *p4d) in p4d_clear_huge()
1408 static inline int p4d_set_huge(p4d_t *p4d, phys_addr_t addr, pgprot_t prot) in p4d_set_huge()
1420 static inline int p4d_clear_huge(p4d_t *p4d) in p4d_clear_huge()
[all …]
/Linux-v5.15/arch/sparc/mm/
Dhugetlbpage.c284 p4d_t *p4d; in huge_pte_alloc() local
307 p4d_t *p4d; in huge_pte_offset() local
462 static void hugetlb_free_pud_range(struct mmu_gather *tlb, p4d_t *p4d, in hugetlb_free_pud_range()
505 p4d_t *p4d; in hugetlb_free_pgd_range() local
/Linux-v5.15/mm/
Dsparse-vmemmap.c138 static int vmemmap_pud_range(p4d_t *p4d, unsigned long addr, in vmemmap_pud_range()
162 p4d_t *p4d; in vmemmap_p4d_range() local
537 pud_t * __meminit vmemmap_pud_populate(p4d_t *p4d, unsigned long addr, int node) in vmemmap_pud_populate()
551 p4d_t *p4d = p4d_offset(pgd, addr); in vmemmap_p4d_populate() local
578 p4d_t *p4d; in vmemmap_populate_basepages() local
/Linux-v5.15/arch/arm64/include/asm/
Dpgtable.h359 static inline pte_t p4d_pte(p4d_t p4d) in p4d_pte()
485 #define __p4d_to_phys(p4d) __pte_to_phys(p4d_pte(p4d)) argument
687 #define p4d_none(p4d) (!p4d_val(p4d)) argument
688 #define p4d_bad(p4d) (!(p4d_val(p4d) & 2)) argument
689 #define p4d_present(p4d) (p4d_val(p4d)) argument
691 static inline void set_p4d(p4d_t *p4dp, p4d_t p4d) in set_p4d()
708 static inline phys_addr_t p4d_page_paddr(p4d_t p4d) in p4d_page_paddr()
713 static inline pud_t *p4d_pgtable(p4d_t p4d) in p4d_pgtable()
722 #define pud_set_fixmap_offset(p4d, addr) pud_set_fixmap(pud_offset_phys(p4d, addr)) argument
725 #define p4d_page(p4d) pfn_to_page(__phys_to_pfn(__p4d_to_phys(p4d))) argument
[all …]
/Linux-v5.15/arch/arc/include/asm/
Dpgtable-levels.h114 #define p4d_pgtable(p4d) ((pud_t *)(p4d_val(p4d) & PAGE_MASK)) argument
115 #define p4d_page(p4d) virt_to_page(p4d_pgtable(p4d)) argument
116 #define set_p4d(p4dp, p4d) (*(p4dp) = p4d) argument
/Linux-v5.15/arch/ia64/mm/
Dhugetlbpage.c33 p4d_t *p4d; in huge_pte_alloc() local
54 p4d_t *p4d; in huge_pte_offset() local
/Linux-v5.15/arch/microblaze/mm/
Dpgtable.c138 p4d_t *p4d; in map_page() local
197 p4d_t *p4d; in get_pteptr() local
/Linux-v5.15/arch/parisc/mm/
Dhugetlbpage.c51 p4d_t *p4d; in huge_pte_alloc() local
78 p4d_t *p4d; in huge_pte_offset() local

123456