Home
last modified time | relevance | path

Searched refs:pud_t (Results 1 – 25 of 150) sorted by relevance

123456

/linux-2.6.39/include/asm-generic/
Dpgtable-nopud.h13 typedef struct { pgd_t pgd; } pud_t; typedef
36 #define set_pgd(pgdptr, pgdval) set_pud((pud_t *)(pgdptr), (pud_t) { pgdval })
38 static inline pud_t * pud_offset(pgd_t * pgd, unsigned long address) in pud_offset()
40 return (pud_t *)pgd; in pud_offset()
44 #define __pud(x) ((pud_t) { __pgd(x) } )
46 #define pgd_page(pgd) (pud_page((pud_t){ pgd }))
47 #define pgd_page_vaddr(pgd) (pud_page_vaddr((pud_t){ pgd }))
Dpgtable-nopmd.h17 typedef struct { pud_t pud; } pmd_t;
29 static inline int pud_none(pud_t pud) { return 0; } in pud_none()
30 static inline int pud_bad(pud_t pud) { return 0; } in pud_bad()
31 static inline int pud_present(pud_t pud) { return 1; } in pud_present()
32 static inline void pud_clear(pud_t *pud) { } in pud_clear()
43 static inline pmd_t * pmd_offset(pud_t * pud, unsigned long address) in pmd_offset()
/linux-2.6.39/arch/x86/include/asm/
Dpgalloc.h101 extern void pud_populate(struct mm_struct *mm, pud_t *pudp, pmd_t *pmd);
103 static inline void pud_populate(struct mm_struct *mm, pud_t *pud, pmd_t *pmd) in pud_populate()
111 static inline void pgd_populate(struct mm_struct *mm, pgd_t *pgd, pud_t *pud) in pgd_populate()
117 static inline pud_t *pud_alloc_one(struct mm_struct *mm, unsigned long addr) in pud_alloc_one()
119 return (pud_t *)get_zeroed_page(GFP_KERNEL|__GFP_REPEAT); in pud_alloc_one()
122 static inline void pud_free(struct mm_struct *mm, pud_t *pud) in pud_free()
128 extern void ___pud_free_tlb(struct mmu_gather *tlb, pud_t *pud);
130 static inline void __pud_free_tlb(struct mmu_gather *tlb, pud_t *pud, in __pud_free_tlb()
Dpgtable_64.h17 extern pud_t level3_kernel_pgt[512];
18 extern pud_t level3_ident_pgt[512];
43 void set_pte_vaddr_pud(pud_t *pud_page, unsigned long vaddr, pte_t new_pte);
98 static inline void native_set_pud(pud_t *pudp, pud_t pud) in native_set_pud()
103 static inline void native_pud_clear(pud_t *pud) in native_pud_clear()
Dpgtable_types.h210 typedef struct { pudval_t pud; } pud_t; typedef
212 static inline pud_t native_make_pud(pmdval_t val) in native_make_pud()
214 return (pud_t) { val }; in native_make_pud()
217 static inline pudval_t native_pud_val(pud_t pud) in native_pud_val()
224 static inline pudval_t native_pud_val(pud_t pud) in native_pud_val()
251 static inline pudval_t pud_flags(pud_t pud) in pud_flags()
Dpgtable-3level.h44 static inline void native_set_pud(pud_t *pudp, pud_t pud) in native_set_pud()
70 static inline void pud_clear(pud_t *pudp) in pud_clear()
Dpgtable.h489 static inline int pud_none(pud_t pud) in pud_none()
494 static inline int pud_present(pud_t pud) in pud_present()
499 static inline unsigned long pud_page_vaddr(pud_t pud) in pud_page_vaddr()
511 static inline pmd_t *pmd_offset(pud_t *pud, unsigned long address) in pmd_offset()
516 static inline int pud_large(pud_t pud) in pud_large()
522 static inline int pud_bad(pud_t pud) in pud_bad()
527 static inline int pud_large(pud_t pud) in pud_large()
556 static inline pud_t *pud_offset(pgd_t *pgd, unsigned long address) in pud_offset()
558 return (pud_t *)pgd_page_vaddr(*pgd) + pud_index(address); in pud_offset()
/linux-2.6.39/arch/x86/xen/
Dmmu.h42 void xen_set_pud(pud_t *ptr, pud_t val);
44 void xen_set_pud_hyper(pud_t *ptr, pud_t val);
47 pudval_t xen_pud_val(pud_t pud);
48 pud_t xen_make_pud(pudval_t pudval);
/linux-2.6.39/arch/s390/include/asm/
Dpgalloc.h65 #define pud_alloc_one(mm,address) ({ BUG(); ((pud_t *)2); })
91 static inline pud_t *pud_alloc_one(struct mm_struct *mm, unsigned long address) in pud_alloc_one()
96 return (pud_t *) table; in pud_alloc_one()
110 pgd_t *pgd, pud_t *pud) in pgd_populate_kernel()
115 static inline void pgd_populate(struct mm_struct *mm, pgd_t *pgd, pud_t *pud) in pgd_populate()
126 pud_t *pud, pmd_t *pmd) in pud_populate_kernel()
131 static inline void pud_populate(struct mm_struct *mm, pud_t *pud, pmd_t *pmd) in pud_populate()
Dpgtable.h468 static inline int pud_present(pud_t pud) { return 1; } in pud_present()
469 static inline int pud_none(pud_t pud) { return 0; } in pud_none()
470 static inline int pud_bad(pud_t pud) { return 0; } in pud_bad()
501 static inline int pud_present(pud_t pud) in pud_present()
508 static inline int pud_none(pud_t pud) in pud_none()
515 static inline int pud_bad(pud_t pud) in pud_bad()
672 static inline void pud_clear_kernel(pud_t *pud) in pud_clear_kernel()
678 static inline void pud_clear(pud_t *pud) in pud_clear()
680 pud_t *shadow = get_shadow_table(pud); in pud_clear()
1060 #define pud_offset(pgd, address) ((pud_t *) pgd)
[all …]
/linux-2.6.39/arch/arm/mm/
Didmap.c7 static void idmap_add_pmd(pud_t *pud, unsigned long addr, unsigned long end, in idmap_add_pmd()
22 pud_t *pud = pud_offset(pgd, addr); in idmap_add_pud()
47 static void idmap_del_pmd(pud_t *pud, unsigned long addr, unsigned long end) in idmap_del_pmd()
55 pud_t *pud = pud_offset(pgd, addr); in idmap_del_pud()
/linux-2.6.39/arch/x86/mm/
Dinit_64.c160 static pud_t *fill_pud(pgd_t *pgd, unsigned long vaddr) in fill_pud()
163 pud_t *pud = (pud_t *)spp_getpage(); in fill_pud()
172 static pmd_t *fill_pmd(pud_t *pud, unsigned long vaddr) in fill_pmd()
195 void set_pte_vaddr_pud(pud_t *pud_page, unsigned long vaddr, pte_t new_pte) in set_pte_vaddr_pud()
197 pud_t *pud; in set_pte_vaddr_pud()
217 pud_t *pud_page; in set_pte_vaddr()
227 pud_page = (pud_t*)pgd_page_vaddr(*pgd); in set_pte_vaddr()
234 pud_t *pud; in populate_extra_pmd()
256 pud_t *pud; in __init_extra_mapping()
263 pud = (pud_t *) spp_getpage(); in __init_extra_mapping()
[all …]
Dhugetlbpage.c61 static void huge_pmd_share(struct mm_struct *mm, unsigned long addr, pud_t *pud) in huge_pmd_share()
118 pud_t *pud = pud_offset(pgd, *addr); in huge_pmd_unshare()
134 pud_t *pud; in huge_pte_alloc()
157 pud_t *pud; in huge_pte_offset()
203 int pud_huge(pud_t pud)
228 int pud_huge(pud_t pud) in pud_huge()
247 pud_t *pud, int write) in follow_huge_pud()
/linux-2.6.39/arch/mips/include/asm/
Dpgtable-64.h192 static inline int pud_none(pud_t pud) in pud_none()
197 static inline int pud_bad(pud_t pud) in pud_bad()
202 static inline int pud_present(pud_t pud) in pud_present()
207 static inline void pud_clear(pud_t *pudp) in pud_clear()
237 static inline unsigned long pud_page_vaddr(pud_t pud) in pud_page_vaddr()
245 static inline pmd_t *pmd_offset(pud_t * pud, unsigned long address) in pmd_offset()
/linux-2.6.39/arch/ia64/include/asm/
Dpgalloc.h37 pgd_populate(struct mm_struct *mm, pgd_t * pgd_entry, pud_t * pud) in pgd_populate()
42 static inline pud_t *pud_alloc_one(struct mm_struct *mm, unsigned long addr) in pud_alloc_one()
47 static inline void pud_free(struct mm_struct *mm, pud_t *pud) in pud_free()
55 pud_populate(struct mm_struct *mm, pud_t * pud_entry, pmd_t * pmd) in pud_populate()
/linux-2.6.39/arch/x86/kernel/
Dmachine_kexec_64.c27 pud_t *pud; in init_one_level2_page()
38 pud = (pud_t *)page_address(page); in init_one_level2_page()
71 static int init_level3_page(struct kimage *image, pud_t *level3p, in init_level3_page()
115 pud_t *level3p; in init_level4_page()
122 level3p = (pud_t *)page_address(page); in init_level4_page()
147 pud_t *pud; in init_transition_pgtable()
157 pud = (pud_t *)get_zeroed_page(GFP_KERNEL); in init_transition_pgtable()
/linux-2.6.39/arch/sh/mm/
Dhugetlbpage.c28 pud_t *pud; in huge_pte_alloc()
48 pud_t *pud; in huge_pte_offset()
81 int pud_huge(pud_t pud) in pud_huge()
/linux-2.6.39/arch/frv/include/asm/
Dpgtable.h214 static inline pud_t *pud_offset(pgd_t *pgd, unsigned long address) in pud_offset()
216 return (pud_t *) pgd; in pud_offset()
219 #define pgd_page(pgd) (pud_page((pud_t){ pgd }))
220 #define pgd_page_vaddr(pgd) (pud_page_vaddr((pud_t){ pgd }))
235 static inline int pud_none(pud_t pud) { return 0; } in pud_none()
236 static inline int pud_bad(pud_t pud) { return 0; } in pud_bad()
237 static inline int pud_present(pud_t pud) { return 1; } in pud_present()
238 static inline void pud_clear(pud_t *pud) { } in pud_clear()
264 static inline pmd_t *pmd_offset(pud_t *dir, unsigned long address) in pmd_offset()
511 pud_t *pue = pud_offset(pge, address); in update_mmu_cache()
Dpage.h25 typedef struct { pmd_t pue[1]; } pud_t; typedef
26 typedef struct { pud_t pge[1]; } pgd_t;
38 #define __pud(x) ((pud_t) { (x) } )
/linux-2.6.39/arch/mips/mm/
Dhugetlbpage.c29 pud_t *pud; in huge_pte_alloc()
43 pud_t *pud; in huge_pte_offset()
83 int pud_huge(pud_t pud) in pud_huge()
/linux-2.6.39/arch/s390/mm/
Dgup.c90 static inline int gup_pmd_range(pud_t *pudp, pud_t pud, unsigned long addr, in gup_pmd_range()
124 pud_t *pudp, pud; in gup_pud_range()
126 pudp = (pud_t *) pgdp; in gup_pud_range()
129 pudp = (pud_t *) pgd_deref(pgd); in gup_pud_range()
/linux-2.6.39/arch/powerpc/include/asm/
Dpgalloc-64.h54 static inline pud_t *pud_alloc_one(struct mm_struct *mm, unsigned long addr) in pud_alloc_one()
60 static inline void pud_free(struct mm_struct *mm, pud_t *pud) in pud_free()
65 static inline void pud_populate(struct mm_struct *mm, pud_t *pud, pmd_t *pmd) in pud_populate()
/linux-2.6.39/arch/x86/power/
Dhibernate_64.c42 static int res_phys_pud_init(pud_t *pud, unsigned long address, unsigned long end) in res_phys_pud_init()
91 pud_t *pud = (pud_t *)get_safe_page(GFP_ATOMIC); in set_up_temporary_mappings()
/linux-2.6.39/mm/
Dsparse-vmemmap.c113 pmd_t * __meminit vmemmap_pmd_populate(pud_t *pud, unsigned long addr, int node) in vmemmap_pmd_populate()
125 pud_t * __meminit vmemmap_pud_populate(pgd_t *pgd, unsigned long addr, int node) in vmemmap_pud_populate()
127 pud_t *pud = pud_offset(pgd, addr); in vmemmap_pud_populate()
155 pud_t *pud; in vmemmap_populate_basepages()
/linux-2.6.39/arch/tile/mm/
Dhugetlbpage.c35 pud_t *pud; in huge_pte_alloc()
53 pud_t *pud; in huge_pte_offset()
96 int pud_huge(pud_t pud) in pud_huge()
120 int pud_huge(pud_t pud) in pud_huge()
137 pud_t *pud, int write) in follow_huge_pud()

123456