Searched refs:pmd (Results 1 - 25 of 204) sorted by relevance

123456789

/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/ppc/mm/
H A Dtlb.c100 pmd_t *pmd; local
108 pmd = pmd_offset(pgd_offset(mm, vmaddr), vmaddr);
109 if (!pmd_none(*pmd)) {
110 pte = pte_offset(pmd, vmaddr);
128 pmd_t *pmd; local
140 pmd = pmd_offset(pgd_offset(mm, start), start);
143 if (!pmd_none(*pmd)) {
146 pte = pte_offset(pmd, start);
156 ++pmd;
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-m68k/
H A Dsun3_pgalloc.h38 extern inline pte_t * pte_alloc_kernel(pmd_t * pmd, unsigned long address) argument
41 if (pmd_none(*pmd)) {
43 if (pmd_none(*pmd)) {
45 pmd_val(*pmd) = _KERNPG_TABLE + __pa(page);
48 pmd_val(*pmd) = _KERNPG_TABLE + __pa((unsigned long)BAD_PAGETABLE);
53 if (pmd_bad(*pmd)) {
54 printk(bad_pmd_string, pmd_val(*pmd));
55 printk("at kernel pgd off %08x\n", (unsigned int)pmd);
56 pmd_val(*pmd) = _KERNPG_TABLE + __pa((unsigned long)BAD_PAGETABLE);
59 return (pte_t *) __pmd_page(*pmd)
66 pmd_free_kernel(pmd_t * pmd) argument
105 pmd_free(pmd_t * pmd) argument
[all...]
H A Dmotorola_pgalloc.h18 extern pte_t *get_pte_slow(pmd_t *pmd, unsigned long offset);
103 extern inline void free_pmd_fast(pmd_t *pmd) argument
105 *(unsigned long *)pmd = (unsigned long)pmd_quicklist;
106 pmd_quicklist = (unsigned long *) pmd;
110 extern inline int free_pmd_slow(pmd_t *pmd) argument
112 return free_pointer_table(pmd);
115 /* The pgd cache is folded into the pmd cache, so these are dummy routines. */
129 extern void __bad_pte(pmd_t *pmd);
137 extern inline void pmd_free(pmd_t *pmd) argument
139 free_pmd_fast(pmd);
148 pte_alloc_kernel(pmd_t *pmd, unsigned long address) argument
153 pmd_free_kernel(pmd_t *pmd) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm-m68k/
H A Dsun3_pgalloc.h38 extern inline pte_t * pte_alloc_kernel(pmd_t * pmd, unsigned long address) argument
41 if (pmd_none(*pmd)) {
43 if (pmd_none(*pmd)) {
45 pmd_val(*pmd) = _KERNPG_TABLE + __pa(page);
48 pmd_val(*pmd) = _KERNPG_TABLE + __pa((unsigned long)BAD_PAGETABLE);
53 if (pmd_bad(*pmd)) {
54 printk(bad_pmd_string, pmd_val(*pmd));
55 printk("at kernel pgd off %08x\n", (unsigned int)pmd);
56 pmd_val(*pmd) = _KERNPG_TABLE + __pa((unsigned long)BAD_PAGETABLE);
59 return (pte_t *) __pmd_page(*pmd)
66 pmd_free_kernel(pmd_t * pmd) argument
105 pmd_free(pmd_t * pmd) argument
[all...]
H A Dmotorola_pgalloc.h18 extern pte_t *get_pte_slow(pmd_t *pmd, unsigned long offset);
103 extern inline void free_pmd_fast(pmd_t *pmd) argument
105 *(unsigned long *)pmd = (unsigned long)pmd_quicklist;
106 pmd_quicklist = (unsigned long *) pmd;
110 extern inline int free_pmd_slow(pmd_t *pmd) argument
112 return free_pointer_table(pmd);
115 /* The pgd cache is folded into the pmd cache, so these are dummy routines. */
129 extern void __bad_pte(pmd_t *pmd);
137 extern inline void pmd_free(pmd_t *pmd) argument
139 free_pmd_fast(pmd);
148 pte_alloc_kernel(pmd_t *pmd, unsigned long address) argument
153 pmd_free_kernel(pmd_t *pmd) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-mips64/
H A Dpgalloc.h61 #define pmd_populate(mm, pmd, pte) pmd_set(pmd, pte)
62 #define pgd_populate(mm, pgd, pmd) pgd_set(pgd, pmd)
115 extern pte_t *get_pte_slow(pmd_t *pmd, unsigned long address_preadjusted);
143 pmd_t *pmd; local
145 pmd = (pmd_t *) __get_free_pages(GFP_KERNEL, 1);
146 if (pmd)
147 pmd_init((unsigned long)pmd, (unsigned long)invalid_pte_table);
148 return pmd;
179 free_pmd_fast(pmd_t *pmd) argument
186 free_pmd_slow(pmd_t *pmd) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm-mips64/
H A Dpgalloc.h61 #define pmd_populate(mm, pmd, pte) pmd_set(pmd, pte)
62 #define pgd_populate(mm, pgd, pmd) pgd_set(pgd, pmd)
115 extern pte_t *get_pte_slow(pmd_t *pmd, unsigned long address_preadjusted);
143 pmd_t *pmd; local
145 pmd = (pmd_t *) __get_free_pages(GFP_KERNEL, 1);
146 if (pmd)
147 pmd_init((unsigned long)pmd, (unsigned long)invalid_pte_table);
148 return pmd;
179 free_pmd_fast(pmd_t *pmd) argument
186 free_pmd_slow(pmd_t *pmd) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/mips/baget/
H A Dbaget.c52 static inline int alloc_area_pmd(pmd_t * pmd, unsigned long address, argument
62 pte_t * pte = pte_alloc_kernel(pmd, address);
69 pmd++;
82 pmd_t *pmd; local
85 pmd = pmd_alloc_kernel(dir, address);
86 if (!pmd)
88 if (alloc_area_pmd(pmd, address, end - address, address))
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-ppc64/
H A Dpgalloc.h76 pmd_t *pmd = (pmd_t *) __get_free_page(GFP_KERNEL); local
78 if (pmd != NULL)
79 clear_page(pmd);
80 return pmd;
84 pmd_free (pmd_t *pmd) argument
86 *(unsigned long *)pmd = (unsigned long) pmd_quicklist;
87 pmd_quicklist = (unsigned long *) pmd;
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm-ppc64/
H A Dpgalloc.h76 pmd_t *pmd = (pmd_t *) __get_free_page(GFP_KERNEL); local
78 if (pmd != NULL)
79 clear_page(pmd);
80 return pmd;
84 pmd_free (pmd_t *pmd) argument
86 *(unsigned long *)pmd = (unsigned long) pmd_quicklist;
87 pmd_quicklist = (unsigned long *) pmd;
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-arm/proc-armo/
H A Dpgtable.h33 #define pmd_bad(pmd) ((pmd_val(pmd) & 0xfc000002))
34 #define set_pmd(pmdp,pmd) ((*(pmdp)) = (pmd))
39 pmd_t pmd; local
41 pmd_val(pmd) = __virt_to_phys(pte_ptr) | prot;
43 return pmd;
46 static inline unsigned long pmd_page(pmd_t pmd) argument
48 return __phys_to_virt(pmd_val(pmd) & ~_PAGE_TABLE);
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-arm/proc-armv/
H A Dpgtable.h48 #define pmd_bad(pmd) (pmd_val(pmd) & 2)
49 #define set_pmd(pmdp,pmd) cpu_set_pmd(pmdp,pmd)
54 pmd_t pmd; local
59 * The pmd must be loaded with the physical
62 pmd_val(pmd) = __virt_to_phys(pte_ptr) | prot;
64 return pmd;
67 static inline unsigned long pmd_page(pmd_t pmd) argument
71 ptr = pmd_val(pmd)
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm-arm/proc-armo/
H A Dpgtable.h33 #define pmd_bad(pmd) ((pmd_val(pmd) & 0xfc000002))
34 #define set_pmd(pmdp,pmd) ((*(pmdp)) = (pmd))
39 pmd_t pmd; local
41 pmd_val(pmd) = __virt_to_phys(pte_ptr) | prot;
43 return pmd;
46 static inline unsigned long pmd_page(pmd_t pmd) argument
48 return __phys_to_virt(pmd_val(pmd) & ~_PAGE_TABLE);
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm-arm/proc-armv/
H A Dpgtable.h48 #define pmd_bad(pmd) (pmd_val(pmd) & 2)
49 #define set_pmd(pmdp,pmd) cpu_set_pmd(pmdp,pmd)
54 pmd_t pmd; local
59 * The pmd must be loaded with the physical
62 pmd_val(pmd) = __virt_to_phys(pte_ptr) | prot;
64 return pmd;
67 static inline unsigned long pmd_page(pmd_t pmd) argument
71 ptr = pmd_val(pmd)
[all...]
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-s390x/
H A Dpgalloc.h83 extern pmd_t *pgd_populate(struct mm_struct *mm, pgd_t *pgd, pmd_t *pmd);
90 pmd_t *pmd; local
93 pmd = (pmd_t *) __get_free_pages(GFP_KERNEL, 1);
94 if (pmd != NULL) {
96 pmd_clear(pmd+i);
98 return pmd;
115 extern __inline__ void pmd_free_fast (pmd_t *pmd) argument
117 if (test_bit(PG_arch_1, &virt_to_page(pmd)->flags) == 0) {
118 *(unsigned long *) pmd = (unsigned long) pmd_quicklist;
119 pmd_quicklist = (unsigned long *) pmd;
125 pmd_free_slow(pmd_t *pmd) argument
132 pmd_populate(struct mm_struct *mm, pmd_t *pmd, pte_t *pte) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm-s390x/
H A Dpgalloc.h83 extern pmd_t *pgd_populate(struct mm_struct *mm, pgd_t *pgd, pmd_t *pmd);
90 pmd_t *pmd; local
93 pmd = (pmd_t *) __get_free_pages(GFP_KERNEL, 1);
94 if (pmd != NULL) {
96 pmd_clear(pmd+i);
98 return pmd;
115 extern __inline__ void pmd_free_fast (pmd_t *pmd) argument
117 if (test_bit(PG_arch_1, &virt_to_page(pmd)->flags) == 0) {
118 *(unsigned long *) pmd = (unsigned long) pmd_quicklist;
119 pmd_quicklist = (unsigned long *) pmd;
125 pmd_free_slow(pmd_t *pmd) argument
132 pmd_populate(struct mm_struct *mm, pmd_t *pmd, pte_t *pte) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/x86_64/mm/
H A Dpageattr.c18 pmd_t *pmd; local
21 pmd = pmd_offset(pgd, address);
22 if (!pmd) return NULL;
23 if ((pmd_val(*pmd) & PAGE_LARGE) == PAGE_LARGE)
24 return (pte_t *)pmd;
26 return pte_offset(pmd, address);
67 pmd_t *pmd; local
72 pmd = pmd_offset(pgd, address);
73 if (!pmd) BUG();
74 if ((pmd_val(*pmd)
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/mips/mm/
H A Dumap.c32 remove_mapping_pte_range (pmd_t *pmd, unsigned long address, unsigned long size) argument
37 if (pmd_none (*pmd))
39 if (pmd_bad (*pmd)){
40 printk ("remove_graphics_pte_range: bad pmd (%08lx)\n", pmd_val (*pmd));
41 pmd_clear (pmd);
44 pte = pte_offset (pmd, address);
62 pmd_t *pmd; local
73 pmd = pmd_offset (pgd, address);
79 remove_mapping_pte_range (pmd, addres
174 vmap_pmd_range(pmd_t *pmd, unsigned long address, unsigned long size, unsigned long vaddr) argument
206 pmd_t *pmd = pmd_alloc(current->mm, dir, from); local
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/mips64/mm/
H A Dumap.c28 static inline void remove_mapping_pte_range (pmd_t *pmd, unsigned long address, argument
34 if (pmd_none (*pmd))
36 if (pmd_bad (*pmd)){
37 printk ("remove_graphics_pte_range: bad pmd (%08lx)\n",
38 pmd_val (*pmd));
39 pmd_clear (pmd);
42 pte = pte_offset (pmd, address);
60 pmd_t *pmd; local
72 pmd = pmd_offset (pgd, address);
78 remove_mapping_pte_range (pmd, addres
172 vmap_pmd_range(pmd_t *pmd, unsigned long address, unsigned long size, unsigned long vaddr) argument
205 pmd_t *pmd = pmd_alloc(current->mm, dir, from); local
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/s390/mm/
H A Dioremap.c44 static inline int remap_area_pmd(pmd_t * pmd, unsigned long address, unsigned long size, argument
57 pte_t * pte = pte_alloc(&init_mm, pmd, address);
62 pmd++;
81 pmd_t *pmd; local
82 pmd = pmd_alloc(&init_mm, dir, address);
84 if (!pmd)
86 if (remap_area_pmd(pmd, address, end - address,
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/s390x/mm/
H A Dioremap.c44 static inline int remap_area_pmd(pmd_t * pmd, unsigned long address, unsigned long size, argument
57 pte_t * pte = pte_alloc(&init_mm, pmd, address);
62 pmd++;
81 pmd_t *pmd; local
82 pmd = pmd_alloc(&init_mm, dir, address);
84 if (!pmd)
86 if (remap_area_pmd(pmd, address, end - address,
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/sh/mm/
H A Dioremap.c42 static inline int remap_area_pmd(pmd_t * pmd, unsigned long address, argument
55 pte_t * pte = pte_alloc(&init_mm, pmd, address);
60 pmd++;
79 pmd_t *pmd; local
80 pmd = pmd_alloc(&init_mm, dir, address);
82 if (!pmd)
84 if (remap_area_pmd(pmd, address, end - address,
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/arm/mm/
H A Dioremap.c61 static inline int remap_area_pmd(pmd_t * pmd, unsigned long address, unsigned long size, argument
79 pte_t * pte = pte_alloc(&init_mm, pmd, address);
84 pmd++;
103 pmd_t *pmd; local
104 pmd = pmd_alloc(&init_mm, dir, address);
106 if (!pmd)
108 if (remap_area_pmd(pmd, address, end - address,
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/cris/mm/
H A Dioremap.c41 static inline int remap_area_pmd(pmd_t * pmd, unsigned long address, unsigned long size, argument
54 pte_t * pte = pte_alloc(&init_mm, pmd, address);
59 pmd++;
78 pmd_t *pmd; local
79 pmd = pmd_alloc(&init_mm, dir, address);
81 if (!pmd)
83 if (remap_area_pmd(pmd, address, end - address,
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/i386/mm/
H A Dinit.c132 pmd_t *pmd; local
140 pmd = pmd_offset(pgd, vaddr);
141 if (pmd_none(*pmd)) {
145 pte = pte_offset(pmd, vaddr);
170 pmd_t *pmd; local
183 pmd = (pmd_t *) alloc_bootmem_low_pages(PAGE_SIZE);
184 set_pgd(pgd, __pgd(__pa(pmd) + 0x1));
185 if (pmd != pmd_offset(pgd, 0))
188 pmd = pmd_offset(pgd, vaddr);
190 pmd
210 pmd_t *pmd; local
393 pmd_t *pmd; local
[all...]

Completed in 294 milliseconds

123456789