/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-generic/ |
H A D | pgtable-nopud.h | 9 * Having the pud type consist of a pgd gets the size right, and allows 10 * us to conceptually access the pgd entry that this pud is folded into 13 typedef struct { pgd_t pgd; } pud_t; member in struct:__anon8710 23 * into the pgd entry) 25 static inline int pgd_none(pgd_t pgd) { return 0; } argument 26 static inline int pgd_bad(pgd_t pgd) { return 0; } argument 27 static inline int pgd_present(pgd_t pgd) { return 1; } argument 28 static inline void pgd_clear(pgd_t *pgd) { } argument 29 #define pud_ERROR(pud) (pgd_ERROR((pud).pgd)) 31 #define pgd_populate(mm, pgd, pu 38 pud_offset(pgd_t * pgd, unsigned long address) argument [all...] |
H A D | 4level-fixup.h | 17 #define pud_alloc(mm, pgd, address) (pgd) 18 #define pud_offset(pgd, start) (pgd)
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/frv/mm/ |
H A D | pgalloc.c | 67 * List of all pgd's needed for non-PAE so it can invalidate entries 68 * in both cached and uncached pgd's; not needed for PAE since the 83 static inline void pgd_list_add(pgd_t *pgd) argument 85 struct page *page = virt_to_page(pgd); 93 static inline void pgd_list_del(pgd_t *pgd) argument 95 struct page *next, **pprev, *page = virt_to_page(pgd); 103 void pgd_ctor(void *pgd) argument 110 memcpy((pgd_t *) pgd + USER_PGDS_IN_LAST_PML4, 117 pgd_list_add(pgd); 119 memset(pgd, 123 pgd_dtor(void *pgd) argument 134 pgd_t *pgd; local 143 pgd_free(pgd_t *pgd) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-x86_64/ |
H A D | pgalloc.h | 12 #define pgd_populate(mm, pgd, pud) \ 13 set_pgd(pgd, __pgd(_PAGE_TABLE | __pa(pud))) 42 static inline void pgd_list_add(pgd_t *pgd) argument 44 struct page *page = virt_to_page(pgd); 51 static inline void pgd_list_del(pgd_t *pgd) argument 53 struct page *page = virt_to_page(pgd); 63 pgd_t *pgd = (pgd_t *)__get_free_page(GFP_KERNEL|__GFP_REPEAT); local 64 if (!pgd) 66 pgd_list_add(pgd); 73 memset(pgd, 80 pgd_free(pgd_t *pgd) argument [all...] |
H A D | mmu_context.h | 26 static inline void load_cr3(pgd_t *pgd) argument 28 asm volatile("movq %0,%%cr3" :: "r" (__pa(pgd)) : "memory"); 43 load_cr3(next->pgd); 58 load_cr3(next->pgd);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-arm26/ |
H A D | tlbflush.h | 27 cpu_memc_update_all(init_mm.pgd); 31 cpu_memc_update_all(p->mm->pgd); 33 processor._set_pgd(current->active_mm->pgd); 38 cpu_memc_update_all(mm->pgd); 41 processor._set_pgd(mm->pgd); 47 cpu_memc_update_entry(mm->pgd, (unsigned long) page_address(page), 0); 50 processor._set_pgd(mm->pgd); 56 cpu_memc_update_entry(mm->pgd, pte_val(pte), vaddr); 59 processor._set_pgd(mm->pgd);
|
H A D | proc-fns.h | 26 void (*_set_pgd)(pgd_t *pgd); 40 #define cpu_switch_mm(pgd,mm) processor._set_pgd(pgd) 45 extern void cpu_memc_update_all(pgd_t *pgd); 46 extern void cpu_memc_update_entry(pgd_t *pgd, unsigned long phys_pte, unsigned long log_addr);
|
H A D | mmu_context.h | 43 cpu_switch_mm(next->pgd, next); 50 cpu_switch_mm(next->pgd, next);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/sh/mm/ |
H A D | hugetlbpage.c | 27 pgd_t *pgd; local 32 pgd = pgd_offset(mm, addr); 33 if (pgd) { 34 pud = pud_alloc(mm, pgd, addr); 47 pgd_t *pgd; local 52 pgd = pgd_offset(mm, addr); 53 if (pgd) { 54 pud = pud_offset(pgd, addr);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-xtensa/ |
H A D | pgalloc.h | 63 * inside the pgd, so has no extra memory associated with it. 66 #define pgd_free(pgd) free_page((unsigned long)(pgd)) 98 pgd_t *pgd; local 100 pgd = (pgd_t *)__get_free_pages(GFP_KERNEL|__GFP_ZERO, PGD_ORDER); 102 if (likely(pgd != NULL)) 103 __flush_dcache_page((unsigned long)pgd); 105 return pgd;
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/i386/mm/ |
H A D | pgtable.c | 78 pgd_t *pgd; local 83 pgd = swapper_pg_dir + pgd_index(vaddr); 84 if (pgd_none(*pgd)) { 88 pud = pud_offset(pgd, vaddr); 120 pgd_t *pgd; local 132 pgd = swapper_pg_dir + pgd_index(vaddr); 133 if (pgd_none(*pgd)) { 137 pud = pud_offset(pgd, vaddr); 202 * List of all pgd's needed for non-PAE so it can invalidate entries 203 * in both cached and uncached pgd' 214 pgd_list_add(pgd_t *pgd) argument 224 pgd_list_del(pgd_t *pgd) argument 238 pgd_ctor(void *pgd) argument 260 pgd_ctor(void *pgd) argument 279 pgd_dtor(void *pgd) argument 326 pgd_t *pgd = quicklist_alloc(0, GFP_KERNEL, pgd_ctor); local 353 pgd_free(pgd_t *pgd) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-parisc/ |
H A D | pgalloc.h | 12 /* Allocate the top level pgd (page directory) 15 * allocate the first pmd adjacent to the pgd. This means that we can 16 * subtract a constant offset to get to it. The pmd and pgd sizes are 23 pgd_t *pgd = (pgd_t *)__get_free_pages(GFP_KERNEL, local 25 pgd_t *actual_pgd = pgd; 27 if (likely(pgd != NULL)) { 28 memset(pgd, 0, PAGE_SIZE<<PGD_ALLOC_ORDER); 37 + (__u32)(__pa((unsigned long)pgd) >> PxD_VALUE_SHIFT)); 40 __pgd_val_set(*pgd, PxD_FLAG_ATTACHED); 46 static inline void pgd_free(pgd_t *pgd) argument 58 pgd_populate(struct mm_struct *mm, pgd_t *pgd, pmd_t *pmd) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/sh64/mm/ |
H A D | hugetlbpage.c | 27 pgd_t *pgd; local 31 pgd = pgd_offset(mm, addr); 32 if (pgd) { 33 pmd = pmd_alloc(mm, pgd, addr); 42 pgd_t *pgd; local 46 pgd = pgd_offset(mm, addr); 47 if (pgd) { 48 pmd = pmd_offset(pgd, addr);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-avr32/ |
H A D | pgalloc.h | 31 pgd_t *pgd = kmalloc(pgd_size, GFP_KERNEL); local 33 if (pgd) 34 memset(pgd, 0, pgd_size); 36 return pgd; 39 static inline void pgd_free(pgd_t *pgd) argument 41 kfree(pgd);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-powerpc/ |
H A D | pgtable-4k.h | 93 #define pgd_none(pgd) (!pgd_val(pgd)) 94 #define pgd_bad(pgd) (pgd_val(pgd) == 0) 95 #define pgd_present(pgd) (pgd_val(pgd) != 0) 97 #define pgd_page_vaddr(pgd) (pgd_val(pgd) & ~PGD_MASKED_BITS) 98 #define pgd_page(pgd) virt_to_page(pgd_page_vaddr(pgd)) [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-m32r/ |
H A D | pgtable-2level.h | 26 printk("%s:%d: bad pgd %08lx.\n", __FILE__, __LINE__, pgd_val(e)) 30 * setup: the pgd is never bad, and a pmd always exists (as it's folded 31 * into the pgd entry) 33 static inline int pgd_none(pgd_t pgd) { return 0; } argument 34 static inline int pgd_bad(pgd_t pgd) { return 0; } argument 35 static inline int pgd_present(pgd_t pgd) { return 1; } argument 53 #define pgd_page_vaddr(pgd) \ 54 ((unsigned long) __va(pgd_val(pgd) & PAGE_MASK)) 57 #define pgd_page(pgd) (mem_map + ((pgd_val(pgd) >> PAGE_SHIF [all...] |
H A D | pgalloc.h | 22 pgd_t *pgd = (pgd_t *)__get_free_page(GFP_KERNEL|__GFP_ZERO); local 24 return pgd; 27 static __inline__ void pgd_free(pgd_t *pgd) argument 29 free_page((unsigned long)pgd); 63 * inside the pgd, so has no extra memory associated with it. 64 * (In the PAE case we free the pmds as part of the pgd.)
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/arm/mm/ |
H A D | pgd.c | 2 * 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);
|
H A D | mm.h | 9 static inline pmd_t *pmd_off(pgd_t *pgd, unsigned long virt) argument 11 return pmd_offset(pgd, virt);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-v850/ |
H A D | pgtable.h | 9 #define pgd_present(pgd) (1) /* pages are always present on NO_MM */ 10 #define pgd_none(pgd) (0) 11 #define pgd_bad(pgd) (0)
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-sh64/ |
H A D | pgalloc.h | 23 unsigned long *pgd = (unsigned long *)page; local 28 pgd[i] = (unsigned long)empty_bad_pte_table; 49 static inline void pgd_free(pgd_t *pgd) argument 51 quicklist_free(0, NULL, pgd); 81 * inside the pgd, so has no extra memory associated with it. 104 #define pgd_populate(mm, pgd, pmd) pgd_set(pgd, pmd)
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/lib/ |
H A D | ioremap.c | 50 static inline int ioremap_pud_range(pgd_t *pgd, unsigned long addr, argument 57 pud = pud_alloc(&init_mm, pgd, addr); 71 pgd_t *pgd; local 80 pgd = pgd_offset_k(addr); 83 err = ioremap_pud_range(pgd, addr, next, phys_addr+addr, prot); 86 } while (pgd++, addr = next, addr != end);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/i386/power/ |
H A D | suspend.c | 34 static pmd_t *resume_one_md_table_init(pgd_t *pgd) argument 44 set_pgd(pgd, __pgd(__pa(pmd_table) | _PAGE_PRESENT)); 45 pud = pud_offset(pgd, 0); 49 pud = pud_offset(pgd, 0); 85 pgd_t *pgd; local 91 pgd = pgd_base + pgd_idx; 94 for (; pgd_idx < PTRS_PER_PGD; pgd++, pgd_idx++) { 95 pmd = resume_one_md_table_init(pgd);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/kernel/ |
H A D | swsusp.c | 37 set_context(current->active_mm->context.id, current->active_mm->pgd);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-sh/ |
H A D | pgalloc.h | 24 pgd_t *pgd = x; local 26 memcpy(pgd + USER_PTRS_PER_PGD, 39 static inline void pgd_free(pgd_t *pgd) argument 41 quicklist_free(QUICK_PGD, NULL, pgd); 71 * inside the pgd, so has no extra memory associated with it.
|