Home
last modified time | relevance | path

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

1234567

/arch/arm64/include/asm/
Dstage2_pgtable-nopmd.h29 #define stage2_pud_none(pud) (0) argument
30 #define stage2_pud_present(pud) (1) argument
31 #define stage2_pud_clear(pud) do { } while (0) argument
32 #define stage2_pud_populate(pud, pmd) do { } while (0) argument
33 #define stage2_pmd_offset(pud, address) ((pmd_t *)(pud)) argument
39 #define stage2_pud_huge(pud) (0) argument
Dstage2_pgtable.h83 #define stage2_pgd_populate(pgd, pud) pgd_populate(NULL, pgd, pud) argument
85 #define stage2_pud_free(pud) pud_free(NULL, pud) argument
105 #define stage2_pud_none(pud) pud_none(pud) argument
106 #define stage2_pud_clear(pud) pud_clear(pud) argument
107 #define stage2_pud_present(pud) pud_present(pud) argument
108 #define stage2_pud_populate(pud, pmd) pud_populate(NULL, pud, pmd) argument
109 #define stage2_pmd_offset(pud, address) pmd_offset(pud, address) argument
112 #define stage2_pud_huge(pud) pud_huge(pud) argument
Dpgalloc.h45 static inline void __pud_populate(pud_t *pud, phys_addr_t pmd, pudval_t prot) in __pud_populate()
50 static inline void pud_populate(struct mm_struct *mm, pud_t *pud, pmd_t *pmd) in pud_populate()
55 static inline void __pud_populate(pud_t *pud, phys_addr_t pmd, pudval_t prot) in __pud_populate()
68 static inline void pud_free(struct mm_struct *mm, pud_t *pud) in pud_free()
74 static inline void __pgd_populate(pgd_t *pgdp, phys_addr_t pud, pgdval_t prot) in __pgd_populate()
79 static inline void pgd_populate(struct mm_struct *mm, pgd_t *pgd, pud_t *pud) in pgd_populate()
84 static inline void __pgd_populate(pgd_t *pgdp, phys_addr_t pud, pgdval_t prot) in __pgd_populate()
Dpgtable.h114 #define pud_access_permitted(pud, write) \ argument
288 static inline pte_t pud_pte(pud_t pud) in pud_pte()
293 static inline pmd_t pud_pmd(pud_t pud) in pud_pmd()
358 #define pud_write(pud) pte_write(pud_pte(pud)) argument
359 #define pud_pfn(pud) (((pud_val(pud) & PUD_MASK) & PHYS_MASK) >> PAGE_SHIFT) argument
390 #define pud_sect(pud) (0) argument
391 #define pud_table(pud) (1) argument
393 #define pud_sect(pud) ((pud_val(pud) & PUD_TYPE_MASK) == \ argument
395 #define pud_table(pud) ((pud_val(pud) & PUD_TYPE_MASK) == \ argument
446 #define pud_none(pud) (!pud_val(pud)) argument
[all …]
/arch/arm/include/asm/
Dstage2_pgtable.h25 #define stage2_pgd_populate(pgd, pud) pgd_populate(NULL, pgd, pud) argument
27 #define stage2_pud_free(pud) pud_free(NULL, pud) argument
29 #define stage2_pud_none(pud) pud_none(pud) argument
30 #define stage2_pud_clear(pud) pud_clear(pud) argument
31 #define stage2_pud_present(pud) pud_present(pud) argument
32 #define stage2_pud_populate(pud, pmd) pud_populate(NULL, pud, pmd) argument
33 #define stage2_pmd_offset(pud, address) pmd_offset(pud, address) argument
36 #define stage2_pud_huge(pud) pud_huge(pud) argument
Dpgtable-2level.h183 #define pud_none(pud) (0) argument
184 #define pud_bad(pud) (0) argument
185 #define pud_present(pud) (1) argument
187 #define set_pud(pud,pudp) do { } while (0) argument
189 static inline pmd_t *pmd_offset(pud_t *pud, unsigned long addr) in pmd_offset()
Dpgtable-3level.h141 #define pud_none(pud) (!pud_val(pud)) argument
142 #define pud_bad(pud) (!(pud_val(pud) & 2)) argument
143 #define pud_present(pud) (pud_val(pud)) argument
156 #define set_pud(pudp, pud) \ argument
162 static inline pmd_t *pud_page_vaddr(pud_t pud) in pud_page_vaddr()
169 static inline pmd_t *pmd_offset(pud_t *pud, unsigned long addr) in pmd_offset()
227 #define pud_page(pud) pmd_page(__pmd(pud_val(pud))) argument
228 #define pud_write(pud) pmd_write(__pmd(pud_val(pud))) argument
/arch/tile/include/asm/
Dpgtable_64.h71 #define pud_pte(pud) ((pud).pgd) argument
73 static inline int pud_none(pud_t pud) in pud_none()
78 static inline int pud_present(pud_t pud) in pud_present()
83 static inline int pud_huge_page(pud_t pud) in pud_huge_page()
96 static inline int pud_bad(pud_t pud) in pud_bad()
102 #define pud_ptfn(pud) hv_pte_get_ptfn((pud).pgd) argument
105 #define pud_pfn(pud) pte_pfn(pud_pte(pud)) argument
113 #define pud_page_vaddr(pud) \ argument
120 #define pud_page(pud) pfn_to_page(PFN_DOWN(HV_PTFN_TO_CPA(pud_ptfn(pud)))) argument
127 #define pmd_offset(pud, address) \ argument
/arch/sh/mm/
Dhugetlbpage.c28 pud_t *pud; in huge_pte_alloc() local
48 pud_t *pud; in huge_pte_offset() local
70 int pud_huge(pud_t pud) in pud_huge()
/arch/mips/mm/
Dhugetlbpage.c28 pud_t *pud; in huge_pte_alloc() local
42 pud_t *pud; in huge_pte_offset() local
71 int pud_huge(pud_t pud) in pud_huge()
/arch/um/include/asm/
Dpgtable-3level.h59 #define pud_populate(mm, pud, pmd) \ argument
84 static inline void pud_clear (pud_t *pud) in pud_clear()
89 #define pud_page(pud) phys_to_page(pud_val(pud) & PAGE_MASK) argument
90 #define pud_page_vaddr(pud) ((unsigned long) __va(pud_val(pud) & PAGE_MASK)) argument
93 #define pmd_offset(pud, address) ((pmd_t *) pud_page_vaddr(*(pud)) + \ argument
/arch/arm/mm/
Didmap.c21 static void idmap_add_pmd(pud_t *pud, unsigned long addr, unsigned long end, in idmap_add_pmd()
52 static void idmap_add_pmd(pud_t *pud, unsigned long addr, unsigned long end, in idmap_add_pmd()
68 pud_t *pud = pud_offset(pgd, addr); in idmap_add_pud() local
Dhugetlbpage.c39 int pud_huge(pud_t pud) in pud_huge()
/arch/sparc/mm/
Dhugetlbpage.c134 pud_t *pud; in huge_pte_alloc() local
148 pud_t *pud; in huge_pte_offset() local
202 int pud_huge(pud_t pud) in pud_huge()
217 static void hugetlb_free_pmd_range(struct mmu_gather *tlb, pud_t *pud, in hugetlb_free_pmd_range()
258 pud_t *pud; in hugetlb_free_pud_range() local
/arch/x86/mm/
Dinit_64.c165 pud_t *pud = (pud_t *)spp_getpage(); in fill_pud() local
174 static pmd_t *fill_pmd(pud_t *pud, unsigned long vaddr) in fill_pmd()
199 pud_t *pud; in set_pte_vaddr_pud() local
236 pud_t *pud; in populate_extra_pmd() local
258 pud_t *pud; in __init_extra_mapping() local
491 pud_t *pud; in phys_pud_init() local
586 pud_t *pud; in kernel_physical_mapping_init() local
731 static void __meminit free_pmd_table(pmd_t *pmd_start, pud_t *pud) in free_pmd_table()
882 pud_t *pud; in remove_pud_table() local
938 pud_t *pud; in remove_pagetable() local
[all …]
Dident_map.c26 pud_t *pud = pud_page + pud_index(addr); in ident_pud_init() local
58 pud_t *pud; in kernel_ident_mapping_init() local
/arch/sparc/include/asm/
Dpgalloc_64.h18 static inline void __pgd_populate(pgd_t *pgd, pud_t *pud) in __pgd_populate()
35 static inline void __pud_populate(pud_t *pud, pmd_t *pmd) in __pud_populate()
47 static inline void pud_free(struct mm_struct *mm, pud_t *pud) in pud_free()
115 #define __pud_free_tlb(tlb, pud, addr) \ argument
/arch/mips/include/asm/
Dpgtable-64.h208 static inline int pud_none(pud_t pud) in pud_none()
213 static inline int pud_bad(pud_t pud) in pud_bad()
218 static inline int pud_present(pud_t pud) in pud_present()
254 static inline unsigned long pud_page_vaddr(pud_t pud) in pud_page_vaddr()
258 #define pud_phys(pud) virt_to_phys((void *)pud_val(pud)) argument
259 #define pud_page(pud) (pfn_to_page(pud_phys(pud) >> PAGE_SHIFT)) argument
262 static inline pmd_t *pmd_offset(pud_t * pud, unsigned long address) in pmd_offset()
/arch/arm64/mm/
Dmmu.c126 static void alloc_init_pmd(pud_t *pud, unsigned long addr, unsigned long end, in alloc_init_pmd()
195 pud_t *pud; in alloc_init_pud() local
534 pud_t *pud; in kern_addr_valid() local
577 pud_t *pud; in vmemmap_populate() local
623 pud_t *pud = fixmap_pud(addr); in fixmap_pmd() local
644 pud_t *pud; in early_fixmap_init() local
786 int pud_set_huge(pud_t *pud, phys_addr_t phys, pgprot_t prot) in pud_set_huge()
800 int pud_clear_huge(pud_t *pud) in pud_clear_huge()
816 int pud_free_pmd_page(pud_t *pud) in pud_free_pmd_page()
Dhugetlbpage.c35 int pud_huge(pud_t pud) in pud_huge()
48 pud_t *pud; in find_num_contig() local
93 pud_t *pud; in huge_pte_alloc() local
138 pud_t *pud; in huge_pte_offset() local
/arch/ia64/mm/
Dhugetlbpage.c32 pud_t *pud; in huge_pte_alloc() local
51 pud_t *pud; in huge_pte_offset() local
107 int pud_huge(pud_t pud) in pud_huge()
/arch/metag/mm/
Dhugetlbpage.c63 pud_t *pud; in huge_pte_alloc() local
80 pud_t *pud; in huge_pte_offset() local
97 int pud_huge(pud_t pud) in pud_huge()
/arch/x86/include/asm/
Dpgalloc.h116 static inline void pud_populate(struct mm_struct *mm, pud_t *pud, pmd_t *pmd) in pud_populate()
124 static inline void pgd_populate(struct mm_struct *mm, pgd_t *pgd, pud_t *pud) in pgd_populate()
139 static inline void pud_free(struct mm_struct *mm, pud_t *pud) in pud_free()
147 static inline void __pud_free_tlb(struct mmu_gather *tlb, pud_t *pud, in __pud_free_tlb()
/arch/powerpc/include/asm/book3s/64/
Dpgalloc.h89 static inline void pgd_populate(struct mm_struct *mm, pgd_t *pgd, pud_t *pud) in pgd_populate()
99 static inline void pud_free(struct mm_struct *mm, pud_t *pud) in pud_free()
104 static inline void pud_populate(struct mm_struct *mm, pud_t *pud, pmd_t *pmd) in pud_populate()
109 static inline void __pud_free_tlb(struct mmu_gather *tlb, pud_t *pud, in __pud_free_tlb()
/arch/parisc/mm/
Dhugetlbpage.c50 pud_t *pud; in huge_pte_alloc() local
74 pud_t *pud; in huge_pte_offset() local
194 int pud_huge(pud_t pud) in pud_huge()

1234567