tag | line | file | source code |
pgd | 72 | arch/i386/kernel/vm86.c | pgd_t *pgd; |
pgd | 77 | arch/i386/kernel/vm86.c | pgd = pgd_offset(tsk, 0xA0000); |
pgd | 78 | arch/i386/kernel/vm86.c | if (pgd_none(*pgd)) |
pgd | 80 | arch/i386/kernel/vm86.c | if (pgd_bad(*pgd)) { |
pgd | 81 | arch/i386/kernel/vm86.c | printk("vm86: bad pgd entry [%p]:%08lx\n", pgd, pgd_val(*pgd)); |
pgd | 82 | arch/i386/kernel/vm86.c | pgd_clear(pgd); |
pgd | 85 | arch/i386/kernel/vm86.c | pmd = pmd_offset(pgd, 0xA0000); |
pgd | 564 | fs/proc/array.c | static inline void statm_pmd_range(pgd_t * pgd, unsigned long address, unsigned long size, |
pgd | 570 | fs/proc/array.c | if (pgd_none(*pgd)) |
pgd | 572 | fs/proc/array.c | if (pgd_bad(*pgd)) { |
pgd | 573 | fs/proc/array.c | printk("statm_pmd_range: bad pgd (%08lx)\n", pgd_val(*pgd)); |
pgd | 574 | fs/proc/array.c | pgd_clear(pgd); |
pgd | 577 | fs/proc/array.c | pmd = pmd_offset(pgd, address); |
pgd | 589 | fs/proc/array.c | static void statm_pgd_range(pgd_t * pgd, unsigned long address, unsigned long end, |
pgd | 593 | fs/proc/array.c | statm_pmd_range(pgd, address, end - address, pages, shared, dirty, total); |
pgd | 595 | fs/proc/array.c | pgd++; |
pgd | 610 | fs/proc/array.c | pgd_t *pgd = pgd_offset(*p, vma->vm_start); |
pgd | 613 | fs/proc/array.c | statm_pgd_range(pgd, vma->vm_start, vma->vm_end, &pages, &shared, &dirty, &total); |
pgd | 33 | fs/umsdos/check.c | struct pgd * pg_dir; |
pgd | 45 | fs/umsdos/check.c | printk ("|%d:%08lx| ",i, page_dir->pgd); |
pgd | 19 | include/asm-alpha/page.h | typedef struct { unsigned long pgd; } pgd_t; |
pgd | 24 | include/asm-alpha/page.h | #define pgd_val(x) ((x).pgd) |
pgd | 158 | include/asm-alpha/pgtable.h | extern inline unsigned long pgd_page(pgd_t pgd) |
pgd | 159 | include/asm-alpha/pgtable.h | { return PAGE_OFFSET + ((pgd_val(pgd) & _PFN_MASK) >> (32-PAGE_SHIFT)); } |
pgd | 182 | include/asm-alpha/pgtable.h | extern inline int pgd_none(pgd_t pgd) { return !pgd_val(pgd); } |
pgd | 183 | include/asm-alpha/pgtable.h | extern inline int pgd_bad(pgd_t pgd) { return (pgd_val(pgd) & ~_PFN_MASK) != _PAGE_TABLE || pgd_page(pgd) > high_memory; } |
pgd | 184 | include/asm-alpha/pgtable.h | extern inline int pgd_present(pgd_t pgd) { return pgd_val(pgd) & _PAGE_VALID; } |
pgd | 288 | include/asm-alpha/pgtable.h | extern inline pmd_t * pmd_alloc_kernel(pgd_t *pgd, unsigned long address) |
pgd | 291 | include/asm-alpha/pgtable.h | if (pgd_none(*pgd)) { |
pgd | 293 | include/asm-alpha/pgtable.h | if (pgd_none(*pgd)) { |
pgd | 295 | include/asm-alpha/pgtable.h | pgd_set(pgd, page); |
pgd | 299 | include/asm-alpha/pgtable.h | pgd_set(pgd, BAD_PAGETABLE); |
pgd | 304 | include/asm-alpha/pgtable.h | if (pgd_bad(*pgd)) { |
pgd | 305 | include/asm-alpha/pgtable.h | printk("Bad pgd in pmd_alloc: %08lx\n", pgd_val(*pgd)); |
pgd | 306 | include/asm-alpha/pgtable.h | pgd_set(pgd, BAD_PAGETABLE); |
pgd | 309 | include/asm-alpha/pgtable.h | return (pmd_t *) pgd_page(*pgd) + address; |
pgd | 345 | include/asm-alpha/pgtable.h | extern inline pmd_t * pmd_alloc(pgd_t *pgd, unsigned long address) |
pgd | 348 | include/asm-alpha/pgtable.h | if (pgd_none(*pgd)) { |
pgd | 350 | include/asm-alpha/pgtable.h | if (pgd_none(*pgd)) { |
pgd | 352 | include/asm-alpha/pgtable.h | pgd_set(pgd, page); |
pgd | 355 | include/asm-alpha/pgtable.h | pgd_set(pgd, BAD_PAGETABLE); |
pgd | 360 | include/asm-alpha/pgtable.h | if (pgd_bad(*pgd)) { |
pgd | 361 | include/asm-alpha/pgtable.h | printk("Bad pgd in pmd_alloc: %08lx\n", pgd_val(*pgd)); |
pgd | 362 | include/asm-alpha/pgtable.h | pgd_set(pgd, BAD_PAGETABLE); |
pgd | 365 | include/asm-alpha/pgtable.h | return (pmd_t *) pgd_page(*pgd) + address; |
pgd | 368 | include/asm-alpha/pgtable.h | extern inline void pgd_free(pgd_t * pgd) |
pgd | 370 | include/asm-alpha/pgtable.h | free_page((unsigned long) pgd); |
pgd | 19 | include/asm-i386/page.h | typedef struct { unsigned long pgd; } pgd_t; |
pgd | 24 | include/asm-i386/page.h | #define pgd_val(x) ((x).pgd) |
pgd | 154 | include/asm-i386/pgtable.h | extern inline int pgd_none(pgd_t pgd) { return 0; } |
pgd | 155 | include/asm-i386/pgtable.h | extern inline int pgd_bad(pgd_t pgd) { return 0; } |
pgd | 156 | include/asm-i386/pgtable.h | extern inline int pgd_present(pgd_t pgd) { return 1; } |
pgd | 266 | include/asm-i386/pgtable.h | extern inline pmd_t * pmd_alloc_kernel(pgd_t * pgd, unsigned long address) |
pgd | 268 | include/asm-i386/pgtable.h | return (pmd_t *) pgd; |
pgd | 307 | include/asm-i386/pgtable.h | extern inline pmd_t * pmd_alloc(pgd_t * pgd, unsigned long address) |
pgd | 309 | include/asm-i386/pgtable.h | return (pmd_t *) pgd; |
pgd | 312 | include/asm-i386/pgtable.h | extern inline void pgd_free(pgd_t * pgd) |
pgd | 314 | include/asm-i386/pgtable.h | free_page((unsigned long) pgd); |
pgd | 20 | include/asm-mips/page.h | typedef struct { unsigned long pgd; } pgd_t; |
pgd | 24 | include/asm-mips/page.h | #define pgd_val(x) ((x).pgd) |
pgd | 186 | include/asm-mips/page.h | extern inline int pgd_none(pgd_t pgd) { return !pgd_val(pgd); } |
pgd | 187 | include/asm-mips/page.h | extern inline int pgd_bad(pgd_t pgd) { return (pgd_val(pgd) & ~PAGE_MASK) != _PAGE_TABLE || pgd_val(pgd) > high_memory; } |
pgd | 188 | include/asm-mips/page.h | extern inline int pgd_present(pgd_t pgd) { return pgd_val(pgd) & _PAGE_PRESENT; } |
pgd | 226 | include/asm-mips/page.h | extern inline unsigned long pgd_page(pgd_t pgd) { return pgd_val(pgd) & PAGE_MASK; } |
pgd | 44 | include/asm-sparc/page.h | typedef struct { unsigned long pgd; } pgd_t; |
pgd | 49 | include/asm-sparc/page.h | #define pgd_val(x) ((x).pgd) |
pgd | 165 | include/asm-sparc/pgtable.h | extern inline int pgd_none(pgd_t pgd) { return !pgd_val(pgd); } |
pgd | 166 | include/asm-sparc/pgtable.h | extern inline int pgd_bad(pgd_t pgd) { return (pgd_val(pgd) & ~PAGE_MASK) != _PAGE_TABLE || pgd_val(pgd) > high_memory; } |
pgd | 167 | include/asm-sparc/pgtable.h | extern inline int pgd_present(pgd_t pgd) { return pgd_val(pgd) & _PAGE_VALID; } |
pgd | 214 | include/asm-sparc/pgtable.h | extern inline unsigned long pgd_page(pgd_t pgd) { return pgd_val(pgd) & PAGE_MASK; } |
pgd | 285 | include/asm-sparc/pgtable.h | extern inline pmd_t * pmd_alloc_kernel(pgd_t * pgd, unsigned long address) |
pgd | 287 | include/asm-sparc/pgtable.h | return (pmd_t *) pgd; |
pgd | 326 | include/asm-sparc/pgtable.h | extern inline pmd_t * pmd_alloc(pgd_t * pgd, unsigned long address) |
pgd | 328 | include/asm-sparc/pgtable.h | return (pmd_t *) pgd; |
pgd | 331 | include/asm-sparc/pgtable.h | extern inline void pgd_free(pgd_t *pgd) |
pgd | 333 | include/asm-sparc/pgtable.h | free_page((unsigned long) pgd); |
pgd | 133 | mm/filemap.c | static inline void filemap_sync_pmd_range(pgd_t * pgd, |
pgd | 140 | mm/filemap.c | if (pgd_none(*pgd)) |
pgd | 142 | mm/filemap.c | if (pgd_bad(*pgd)) { |
pgd | 143 | mm/filemap.c | printk("filemap_sync_pmd_range: bad pgd (%08lx)\n", pgd_val(*pgd)); |
pgd | 144 | mm/filemap.c | pgd_clear(pgd); |
pgd | 147 | mm/filemap.c | pmd = pmd_offset(pgd, address); |
pgd | 583 | mm/memory.c | pgd_t * pgd; |
pgd | 591 | mm/memory.c | pgd = pgd_offset(tsk,address); |
pgd | 592 | mm/memory.c | pmd = pmd_alloc(pgd, address); |
pgd | 972 | mm/memory.c | pgd_t *pgd; |
pgd | 976 | mm/memory.c | pgd = pgd_offset(tsk, address); |
pgd | 977 | mm/memory.c | pmd = pmd_alloc(pgd, address); |
pgd | 1117 | mm/memory.c | pgd_t *pgd; |
pgd | 1121 | mm/memory.c | pgd = pgd_offset(vma->vm_task, address); |
pgd | 1122 | mm/memory.c | pmd = pmd_alloc(pgd, address); |
pgd | 48 | mm/mprotect.c | static inline void change_pmd_range(pgd_t * pgd, unsigned long address, |
pgd | 54 | mm/mprotect.c | if (pgd_none(*pgd)) |
pgd | 56 | mm/mprotect.c | if (pgd_bad(*pgd)) { |
pgd | 57 | mm/mprotect.c | printk("change_pmd_range: bad pgd (%08lx)\n", pgd_val(*pgd)); |
pgd | 58 | mm/mprotect.c | pgd_clear(pgd); |
pgd | 61 | mm/mprotect.c | pmd = pmd_offset(pgd, address); |
pgd | 945 | mm/swap.c | pgd_t * pgd = pgd_offset(p, vma->vm_start); |
pgd | 946 | mm/swap.c | if (unuse_vma(vma, pgd, vma->vm_start, vma->vm_end, type, page)) |