Searched refs:pgd (Results 1 - 25 of 228) sorted by path

12345678910

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/alpha/mm/
H A Dfault.c52 pcb->ptbr = ((unsigned long) next_mm->pgd - IDENT_ADDR) >> PAGE_SHIFT;
234 pgd_t *pgd, *pgd_k; local
236 pgd = current->active_mm->pgd + index;
238 if (!pgd_present(*pgd) && pgd_present(*pgd_k)) {
239 pgd_val(*pgd) = pgd_val(*pgd_k);
H A Dinit.c184 pgd_t *pgd; local
222 pgd = pgd_offset_k(VMALLOC_START);
223 pgd_set(pgd, (pmd_t *)two_pages);
224 pmd = pmd_offset(pgd, VMALLOC_START);
241 if (pmd != pmd_offset(pgd, vaddr)) {
243 pmd = pmd_offset(pgd, vaddr);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/arm/kernel/
H A Dsmp.c88 pgd_t *pgd; local
111 pgd = pgd_alloc(&init_mm);
112 pmd = pmd_offset(pgd, PHYS_OFFSET);
121 secondary_data.pgdir = virt_to_phys(pgd);
151 *pmd_offset(pgd, PHYS_OFFSET) = __pmd(0);
152 pgd_free(pgd);
271 cpu_switch_mm(mm->pgd, mm);
H A Dtraps.c519 pgd_t *pgd; pmd_t *pmd; pte_t *pte; local
524 pgd = pgd_offset(mm, addr);
525 if (!pgd_present(*pgd))
527 pmd = pmd_offset(pgd, addr);
689 printk("%s:%d: bad pgd %08lx.\n", file, line, val);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/arm/mm/
H A DMakefile9 pgd.o mmu.o
H A Dconsistent.c446 pgd_t *pgd; local
453 pgd = pgd_offset(&init_mm, base);
454 pmd = pmd_alloc(&init_mm, pgd, base);
H A Dfault-armv.c37 pgd_t *pgd; local
42 pgd = pgd_offset(vma->vm_mm, address);
43 if (pgd_none(*pgd))
45 if (pgd_bad(*pgd))
48 pmd = pmd_offset(pgd, address);
72 pgd_ERROR(*pgd);
73 pgd_clear(pgd);
H A Dfault.c29 pgd_t *pgd; local
34 printk(KERN_ALERT "pgd = %p\n", mm->pgd);
35 pgd = pgd_offset(mm, addr);
36 printk(KERN_ALERT "[%08lx] *pgd=%08lx", addr, pgd_val(*pgd));
42 if (pgd_none(*pgd))
45 if (pgd_bad(*pgd)) {
50 pmd = pmd_offset(pgd, addr);
323 pgd_t *pgd, *pgd_ local
[all...]
H A Dioremap.c69 static inline int remap_area_pmd(pgd_t *pgd, unsigned long addr, argument
77 pmd = pmd_alloc(&init_mm, pgd, addr);
97 pgd_t *pgd; local
101 pgd = pgd_offset_k(addr);
104 err = remap_area_pmd(pgd, addr, next, phys_addr, type);
108 } while (pgd++, addr = next, addr != end);
142 pgd_t *pgd; local
145 pgd = pgd_offset_k(addr);
147 pmd_t pmd, *pmdp = pmd_offset(pgd, addr);
169 pgd
187 pgd_t *pgd; local
217 pgd_t *pgd; local
[all...]
H A Dmm.h9 static inline pmd_t *pmd_off(pgd_t *pgd, unsigned long virt) argument
11 return pmd_offset(pgd, virt);
H A Dmmu.c402 static void __init alloc_init_section(pgd_t *pgd, unsigned long addr, argument
406 pmd_t *pmd = pmd_offset(pgd, addr);
439 pgd_t *pgd; local
478 pgd = pgd_offset_k(addr);
481 pmd_t *pmd = pmd_offset(pgd, addr);
489 pgd += SUPERSECTION_SIZE >> PGDIR_SHIFT;
504 pgd_t *pgd; local
541 pgd = pgd_offset_k(addr);
546 alloc_init_section(pgd, addr, next, phys, type);
550 } while (pgd
767 pgd_t *pgd; local
[all...]
H A Dpgd.c2 * linux/arch/arm/mm/pgd.c
75 void free_pgd_slow(pgd_t *pgd) argument
80 if (!pgd)
83 /* pgd is always present and good */
84 pmd = pmd_off(pgd, 0);
95 dec_zone_page_state(virt_to_page((unsigned long *)pgd), NR_PAGETABLE);
100 free_pages((unsigned long) pgd, 2);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/arm26/mm/
H A Dfault.c48 pgd_t *pgd; local
53 printk(KERN_ALERT "pgd = %p\n", mm->pgd);
54 pgd = pgd_offset(mm, addr);
55 printk(KERN_ALERT "[%08lx] *pgd=%08lx", addr, pgd_val(*pgd));
61 pmd = pmd_offset(pgd, addr);
H A Dmemc.c51 void free_pgd_slow(pgd_t *pgd) argument
53 unsigned long tbl = (unsigned long)pgd;
61 * Allocate a new pgd and fill it in ready for use
63 * A new tasks pgd is completely empty (all pages !present) except for:
161 static void pgd_cache_ctor(void *pgd, struct kmem_cache *cache, unsigned long flags) argument
163 memzero(pgd + MEMC_TABLE_SIZE, USER_PTRS_PER_PGD * sizeof(pgd_t));
172 pgd_cache = kmem_cache_create("pgd-cache", MEMC_TABLE_SIZE +
H A Dproc-funcs.S25 * Function: cpu_memc_update_entry(pgd_t *pgd, unsigned long phys_pte, unsigned long addr)
26 * Params : pgd Page tables/MEMC mapping
111 * Function: cpu_memc_update_all(pgd_t *pgd)
112 * Params : pgd Page tables/MEMC mapping
121 1: ldmia r0!, {r2, r3} @ load two pgd entries
122 tst r2, #PAGE_PRESENT @ is pgd entry present?
126 tst r2, #PAGE_PRESENT @ is pgd entry present?
189 * Function: *_set_pgd(pgd_t *pgd)
190 * Params : pgd New page tables/MEMC mapping
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/cris/arch-v10/mm/
H A Dfault.c48 pgd_t* pgd = (pgd_t*)per_cpu(current_pgd, smp_processor_id()); local
85 pmd = (pmd_t *)(pgd + pgd_index(address));
H A Dinit.c34 /* clear out the init_mm.pgd that will contain the kernel's mappings */
39 /* make sure the current pgd table points to something sane
44 per_cpu(current_pgd, smp_processor_id()) = init_mm.pgd;
H A Dtlb.c164 /* remember the pgd for the fault handlers
165 * this is similar to the pgd register in some other CPU's.
168 * the pgd.
171 per_cpu(current_pgd, smp_processor_id()) = next->pgd;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/cris/arch-v32/kernel/
H A Dsmp.c90 pgd_t **pgd; local
91 pgd = (pgd_t**)&per_cpu(current_pgd, smp_processor_id());
94 SUPP_REG_WR(RW_MM_TLB_PGD, pgd);
96 SUPP_REG_WR(RW_MM_TLB_PGD, pgd);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/cris/arch-v32/mm/
H A Dinit.c39 * Make sure the current pgd table points to something sane, even if it
42 per_cpu(current_pgd, smp_processor_id()) = init_mm.pgd;
46 pgd_t **pgd; local
47 pgd = (pgd_t**)&per_cpu(current_pgd, smp_processor_id());
49 SUPP_REG_WR(RW_MM_TLB_PGD, pgd);
51 SUPP_REG_WR(RW_MM_TLB_PGD, pgd);
144 /* Clear out the init_mm.pgd that will contain the kernel's mappings. */
H A Dtlb.c191 * Remember the pgd for the fault handlers. Keep a seperate copy of it
193 * there's still a need to derefer the pgd.
195 per_cpu(current_pgd, cpu) = next->pgd;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/cris/mm/
H A Dfault.c63 * 'reference' page table is init_mm.pgd.
261 * Use current_pgd instead of tsk->active_mm->pgd
269 pgd_t *pgd, *pgd_k; local
274 pgd = (pgd_t *)per_cpu(current_pgd, smp_processor_id()) + offset;
275 pgd_k = init_mm.pgd + offset;
284 * copy the pgd pointer into the pte page of the
289 pud = pud_offset(pgd, address);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/frv/kernel/
H A Dgdb-stub.c451 pgd_t *pgd; local
457 pgd = (pgd_t *) __get_DAMLR(3) + pgd_index(vaddr);
458 pud = pud_offset(pgd, vaddr);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/frv/mm/
H A Dfault.c49 * 'reference' page table is init_mm.pgd.
269 pgd_t *pgd, *pgd_k; local
274 pgd = (pgd_t *) __get_TTBR();
275 pgd = (pgd_t *)__va(pgd) + index;
276 pgd_k = ((pgd_t *)(init_mm.pgd)) + index;
280 //set_pgd(pgd, *pgd_k); /////// gcc ICE's on this line
290 pud = pud_offset(pgd, ear0);
H A Dmmu-context.c90 void change_mm_context(mm_context_t *old, mm_context_t *ctx, pgd_t *pgd) argument
94 _pgd = virt_to_phys(pgd);

Completed in 165 milliseconds

12345678910