Home
last modified time | relevance | path

Searched defs:pud (Results 1 – 25 of 193) sorted by relevance

12345678

/linux-6.1.9/include/asm-generic/
Dpgtable-nopmd.h18 typedef struct { pud_t pud; } pmd_t; member
30 static inline int pud_none(pud_t pud) { return 0; } in pud_none()
31 static inline int pud_bad(pud_t pud) { return 0; } in pud_bad()
32 static inline int pud_present(pud_t pud) { return 1; } in pud_present()
33 static inline int pud_user(pud_t pud) { return 0; } in pud_user()
34 static inline int pud_leaf(pud_t pud) { return 0; } in pud_leaf()
35 static inline void pud_clear(pud_t *pud) { } in pud_clear()
46 static inline pmd_t * pmd_offset(pud_t * pud, unsigned long address) in pmd_offset()
55 #define pud_page(pud) (pmd_page((pmd_t){ pud })) argument
56 #define pud_pgtable(pud) ((pmd_t *)(pmd_page_vaddr((pmd_t){ pud }))) argument
/linux-6.1.9/arch/x86/include/asm/
Dpgtable.h89 # define set_pud(pudp, pud) native_set_pud(pudp, pud) argument
93 #define pud_clear(pud) native_pud_clear(pud) argument
148 static inline int pud_dirty(pud_t pud) in pud_dirty()
153 static inline int pud_young(pud_t pud) in pud_young()
201 static inline unsigned long pud_pfn(pud_t pud) in pud_pfn()
241 static inline int pud_trans_huge(pud_t pud) in pud_trans_huge()
260 static inline int pud_devmap(pud_t pud) in pud_devmap()
265 static inline int pud_devmap(pud_t pud) in pud_devmap()
445 static inline pud_t pud_set_flags(pud_t pud, pudval_t set) in pud_set_flags()
452 static inline pud_t pud_clear_flags(pud_t pud, pudval_t clear) in pud_clear_flags()
[all …]
Dpgalloc.h99 static inline void pud_populate(struct mm_struct *mm, pud_t *pud, pmd_t *pmd) in pud_populate()
105 static inline void pud_populate_safe(struct mm_struct *mm, pud_t *pud, pmd_t *pmd) in pud_populate_safe()
113 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()
127 static inline void __pud_free_tlb(struct mmu_gather *tlb, pud_t *pud, in __pud_free_tlb()
/linux-6.1.9/mm/kasan/
Dinit.c57 static inline bool kasan_pmd_table(pud_t pud) in kasan_pmd_table()
62 static inline bool kasan_pmd_table(pud_t pud) in kasan_pmd_table()
109 static int __ref zero_pmd_populate(pud_t *pud, unsigned long addr, in zero_pmd_populate()
145 pud_t *pud = pud_offset(p4d, addr); in zero_pud_populate() local
188 pud_t *pud; in zero_p4d_populate() local
239 pud_t *pud; in kasan_populate_early_shadow() local
297 static void kasan_free_pmd(pmd_t *pmd_start, pud_t *pud) in kasan_free_pmd()
314 pud_t *pud; in kasan_free_pud() local
387 static void kasan_remove_pud_table(pud_t *pud, unsigned long addr, in kasan_remove_pud_table()
420 pud_t *pud; in kasan_remove_p4d_table() local
/linux-6.1.9/arch/powerpc/include/asm/book3s/64/
Dpgalloc.h88 static inline void p4d_populate(struct mm_struct *mm, p4d_t *pgd, pud_t *pud) in p4d_populate()
95 pud_t *pud; in pud_alloc_one() local
110 static inline void __pud_free(pud_t *pud) in __pud_free()
126 static inline void pud_free(struct mm_struct *mm, pud_t *pud) in pud_free()
131 static inline void pud_populate(struct mm_struct *mm, pud_t *pud, pmd_t *pmd) in pud_populate()
136 static inline void __pud_free_tlb(struct mmu_gather *tlb, pud_t *pud, in __pud_free_tlb()
/linux-6.1.9/arch/arm64/include/asm/
Dpgtable.h156 #define pud_access_permitted(pud, write) \ argument
385 static inline pte_t pud_pte(pud_t pud) in pud_pte()
395 static inline pmd_t pud_pmd(pud_t pud) in pud_pmd()
520 #define pud_young(pud) pte_young(pud_pte(pud)) argument
521 #define pud_mkyoung(pud) pte_pud(pte_mkyoung(pud_pte(pud))) argument
522 #define pud_write(pud) pte_write(pud_pte(pud)) argument
524 #define pud_mkhuge(pud) (__pud(pud_val(pud) & ~PUD_TABLE_BIT)) argument
526 #define __pud_to_phys(pud) __pte_to_phys(pud_pte(pud)) argument
528 #define pud_pfn(pud) ((__pud_to_phys(pud) & PUD_MASK) >> PAGE_SHIFT) argument
539 pud_t *pudp, pud_t pud) in set_pud_at()
[all …]
/linux-6.1.9/arch/riscv/include/asm/
Dpgtable-64.h57 unsigned long pud; member
139 static inline int pud_present(pud_t pud) in pud_present()
144 static inline int pud_none(pud_t pud) in pud_none()
149 static inline int pud_bad(pud_t pud) in pud_bad()
155 static inline int pud_leaf(pud_t pud) in pud_leaf()
160 static inline int pud_user(pud_t pud) in pud_user()
165 static inline void set_pud(pud_t *pudp, pud_t pud) in set_pud()
180 static inline unsigned long _pud_pfn(pud_t pud) in _pud_pfn()
185 static inline pmd_t *pud_pgtable(pud_t pud) in pud_pgtable()
190 static inline struct page *pud_page(pud_t pud) in pud_page()
Dpgalloc.h35 static inline void pud_populate(struct mm_struct *mm, pud_t *pud, pmd_t *pmd) in pud_populate()
42 static inline void p4d_populate(struct mm_struct *mm, p4d_t *p4d, pud_t *pud) in p4d_populate()
52 pud_t *pud) in p4d_populate_safe()
92 static inline void pud_free(struct mm_struct *mm, pud_t *pud) in pud_free()
98 #define __pud_free_tlb(tlb, pud, addr) pud_free((tlb)->mm, pud) argument
/linux-6.1.9/arch/powerpc/include/asm/nohash/64/
Dpgalloc.h18 static inline void p4d_populate(struct mm_struct *mm, p4d_t *p4d, pud_t *pud) in p4d_populate()
29 static inline void pud_free(struct mm_struct *mm, pud_t *pud) in pud_free()
34 static inline void pud_populate(struct mm_struct *mm, pud_t *pud, pmd_t *pmd) in pud_populate()
64 #define __pud_free_tlb(tlb, pud, addr) \ argument
Dpgtable.h144 #define pud_none(pud) (!pud_val(pud)) argument
145 #define pud_bad(pud) (!is_kernel_addr(pud_val(pud)) \ argument
147 #define pud_present(pud) (pud_val(pud) != 0) argument
149 static inline pmd_t *pud_pgtable(pud_t pud) in pud_pgtable()
156 static inline pte_t pud_pte(pud_t pud) in pud_pte()
165 #define pud_write(pud) pte_write(pud_pte(pud)) argument
/linux-6.1.9/arch/x86/mm/
Dinit_64.c73 DEFINE_POPULATE(p4d_populate, p4d, pud, init) in DEFINE_POPULATE() argument
264 pud_t *pud = (pud_t *)spp_getpage(); in fill_pud() local
273 static pmd_t *fill_pmd(pud_t *pud, unsigned long vaddr) in fill_pmd()
296 static void __set_pte_vaddr(pud_t *pud, unsigned long vaddr, pte_t new_pte) in __set_pte_vaddr()
313 pud_t *pud = fill_pud(p4d, vaddr); in set_pte_vaddr_p4d() local
320 pud_t *pud = pud_page + pud_index(vaddr); in set_pte_vaddr_pud() local
347 pud_t *pud; in populate_extra_pmd() local
371 pud_t *pud; in __init_extra_mapping() local
601 pud_t *pud; in phys_pud_init() local
690 pud_t *pud; in phys_p4d_init() local
[all …]
Dident_map.c27 pud_t *pud = pud_page + pud_index(addr); in ident_pud_init() local
69 pud_t *pud; in ident_p4d_init() local
141 pud_t *pud = pud_offset(p4d, 0); in kernel_ident_mapping_init() local
/linux-6.1.9/arch/mips/mm/
Dhugetlbpage.c29 pud_t *pud; in huge_pte_alloc() local
46 pud_t *pud; in huge_pte_offset() local
66 int pud_huge(pud_t pud) in pud_huge()
/linux-6.1.9/arch/mips/include/asm/
Dpgtable-64.h175 typedef struct { unsigned long pud; } pud_t; member
278 static inline int pud_none(pud_t pud) in pud_none()
283 static inline int pud_bad(pud_t pud) in pud_bad()
288 static inline int pud_present(pud_t pud) in pud_present()
306 static inline pmd_t *pud_pgtable(pud_t pud) in pud_pgtable()
310 #define pud_phys(pud) virt_to_phys((void *)pud_val(pud)) argument
311 #define pud_page(pud) (pfn_to_page(pud_phys(pud) >> PAGE_SHIFT)) argument
Dpgalloc.h40 static inline void pud_populate(struct mm_struct *mm, pud_t *pud, pmd_t *pmd) in pud_populate()
92 pud_t *pud; in pud_alloc_one() local
100 static inline void p4d_populate(struct mm_struct *mm, p4d_t *p4d, pud_t *pud) in p4d_populate()
/linux-6.1.9/arch/sh/mm/
Dhugetlbpage.c29 pud_t *pud; in huge_pte_alloc() local
54 pud_t *pud; in huge_pte_offset() local
79 int pud_huge(pud_t pud) in pud_huge()
/linux-6.1.9/arch/loongarch/mm/
Dhugetlbpage.c21 pud_t *pud; in huge_pte_alloc() local
38 pud_t *pud; in huge_pte_offset() local
70 int pud_huge(pud_t pud) in pud_huge()
/linux-6.1.9/arch/arm/include/asm/
Dpgtable-2level.h182 static inline int pud_none(pud_t pud) in pud_none()
187 static inline int pud_bad(pud_t pud) in pud_bad()
192 static inline int pud_present(pud_t pud) in pud_present()
201 static inline void set_pud(pud_t *pudp, pud_t pud) in set_pud()
205 static inline pmd_t *pmd_offset(pud_t *pud, unsigned long addr) in pmd_offset()
/linux-6.1.9/arch/um/include/asm/
Dpgtable-3level.h58 #define pud_populate(mm, pud, pmd) \ argument
80 static inline void pud_clear (pud_t *pud) in pud_clear()
85 #define pud_page(pud) phys_to_page(pud_val(pud) & PAGE_MASK) argument
86 #define pud_pgtable(pud) ((pmd_t *) __va(pud_val(pud) & PAGE_MASK)) argument
/linux-6.1.9/arch/sparc/include/asm/
Dpgalloc_64.h19 static inline void __p4d_populate(p4d_t *p4d, pud_t *pud) in __p4d_populate()
36 static inline void __pud_populate(pud_t *pud, pmd_t *pmd) in __pud_populate()
48 static inline void pud_free(struct mm_struct *mm, pud_t *pud) in pud_free()
111 #define __pud_free_tlb(tlb, pud, addr) \ argument
/linux-6.1.9/arch/arm/mm/
Didmap.c24 static void idmap_add_pmd(pud_t *pud, unsigned long addr, unsigned long end, in idmap_add_pmd()
55 static void idmap_add_pmd(pud_t *pud, unsigned long addr, unsigned long end, in idmap_add_pmd()
72 pud_t *pud = pud_offset(p4d, addr); in idmap_add_pud() local
/linux-6.1.9/arch/loongarch/include/asm/
Dpgalloc.h28 static inline void pud_populate(struct mm_struct *mm, pud_t *pud, pmd_t *pmd) in pud_populate()
36 static inline void p4d_populate(struct mm_struct *mm, p4d_t *p4d, pud_t *pud) in p4d_populate()
91 pud_t *pud; in pud_alloc_one() local
/linux-6.1.9/include/linux/
Dpage_table_check.h68 unsigned long addr, pud_t pud) in page_table_check_pud_clear()
98 pud_t pud) in page_table_check_pud_set()
137 unsigned long addr, pud_t pud) in page_table_check_pud_clear()
155 pud_t pud) in page_table_check_pud_set()
/linux-6.1.9/arch/sparc/mm/
Dhugetlbpage.c277 unsigned long pud_leaf_size(pud_t pud) { return 1UL << tte_to_shift(*(pte_t *)&pud); } in pud_leaf_size()
286 pud_t *pud; in huge_pte_alloc() local
309 pud_t *pud; in huge_pte_offset() local
410 int pud_huge(pud_t pud) in pud_huge()
426 static void hugetlb_free_pmd_range(struct mmu_gather *tlb, pud_t *pud, in hugetlb_free_pmd_range()
467 pud_t *pud; in hugetlb_free_pud_range() local
/linux-6.1.9/arch/m68k/include/asm/
Dmotorola_pgtable.h105 #define pud_pgtable(pud) ((pmd_t *)__va(pud_val(pud) & _TABLE_MASK)) argument
130 #define pud_none(pud) (!pud_val(pud)) argument
131 #define pud_bad(pud) ((pud_val(pud) & _DESCTYPE_MASK) != _PAGE_TABLE) argument
132 #define pud_present(pud) (pud_val(pud) & _PAGE_TABLE) argument
134 #define pud_page(pud) (mem_map + ((unsigned long)(__va(pud_val(pud)) - PAGE_OFFSET) >> PAGE_SHIFT)) argument

12345678