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->mm, 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 | 86 | arch/sparc/mm/srmmu.c | srmmu_pgd_page(pgd_t pgd) |
pgd | 90 | arch/sparc/mm/srmmu.c | page = (pgd_val(pgd) & (SRMMU_PTD_PTP_MASK)) << SRMMU_PTD_PTP_PADDR_SHIFT; |
pgd | 130 | arch/sparc/mm/srmmu.c | int srmmu_pgd_none(pgd_t pgd) { return !pgd_val(pgd); } |
pgd | 131 | arch/sparc/mm/srmmu.c | int srmmu_pgd_bad(pgd_t pgd) |
pgd | 133 | arch/sparc/mm/srmmu.c | return ((pgd_val(pgd)&SRMMU_ET_PTDBAD)==SRMMU_ET_PTDBAD) || |
pgd | 134 | arch/sparc/mm/srmmu.c | (srmmu_pgd_page(pgd) > high_memory); |
pgd | 136 | arch/sparc/mm/srmmu.c | int srmmu_pgd_present(pgd_t pgd) { return pgd_val(pgd) & SRMMU_ET_PTD; } |
pgd | 306 | arch/sparc/mm/srmmu.c | srmmu_pmd_alloc_kernel(pgd_t *pgd, unsigned long address) |
pgd | 311 | arch/sparc/mm/srmmu.c | if (srmmu_pgd_none(*pgd)) { |
pgd | 313 | arch/sparc/mm/srmmu.c | if (srmmu_pgd_none(*pgd)) { |
pgd | 315 | arch/sparc/mm/srmmu.c | srmmu_pgd_set(pgd, page); |
pgd | 319 | arch/sparc/mm/srmmu.c | srmmu_pgd_set(pgd, (pmd_t *) SRMMU_ET_PTDBAD); |
pgd | 324 | arch/sparc/mm/srmmu.c | if (srmmu_pgd_bad(*pgd)) { |
pgd | 325 | arch/sparc/mm/srmmu.c | printk("Bad pgd in pmd_alloc_kernel: %08lx\n", pgd_val(*pgd)); |
pgd | 326 | arch/sparc/mm/srmmu.c | srmmu_pgd_set(pgd, (pmd_t *) SRMMU_ET_PTDBAD); |
pgd | 329 | arch/sparc/mm/srmmu.c | return (pmd_t *) srmmu_pgd_page(*pgd) + address; |
pgd | 376 | arch/sparc/mm/srmmu.c | srmmu_pmd_alloc(pgd_t * pgd, unsigned long address) |
pgd | 381 | arch/sparc/mm/srmmu.c | if (srmmu_pgd_none(*pgd)) { |
pgd | 383 | arch/sparc/mm/srmmu.c | if (srmmu_pgd_none(*pgd)) { |
pgd | 385 | arch/sparc/mm/srmmu.c | srmmu_pgd_set(pgd, page); |
pgd | 389 | arch/sparc/mm/srmmu.c | srmmu_pgd_set(pgd, (pmd_t *) SRMMU_ET_PTDBAD); |
pgd | 394 | arch/sparc/mm/srmmu.c | if (srmmu_pgd_bad(*pgd)) { |
pgd | 395 | arch/sparc/mm/srmmu.c | printk("Bad pgd in pmd_alloc_kernel: %08lx\n", pgd_val(*pgd)); |
pgd | 396 | arch/sparc/mm/srmmu.c | srmmu_pgd_set(pgd, (pmd_t *) SRMMU_ET_PTDBAD); |
pgd | 399 | arch/sparc/mm/srmmu.c | return (pmd_t *) srmmu_pgd_page(*pgd) + address; |
pgd | 403 | arch/sparc/mm/srmmu.c | srmmu_pgd_free(pgd_t *pgd) |
pgd | 405 | arch/sparc/mm/srmmu.c | free_page((unsigned long) pgd); |
pgd | 101 | arch/sparc/mm/sun4c.c | sun4c_pgd_page(pgd_t pgd) |
pgd | 103 | arch/sparc/mm/sun4c.c | return ((pgd_val(pgd) & _SUN4C_PGD_PFN_MASK) << (_SUN4C_PGD_PAGE_SHIFT)); |
pgd | 138 | arch/sparc/mm/sun4c.c | int sun4c_pgd_none(pgd_t pgd) { return 0; } |
pgd | 139 | arch/sparc/mm/sun4c.c | int sun4c_pgd_bad(pgd_t pgd) { return 0; } |
pgd | 140 | arch/sparc/mm/sun4c.c | int sun4c_pgd_present(pgd_t pgd) { return 1; } |
pgd | 288 | arch/sparc/mm/sun4c.c | sun4c_pmd_alloc_kernel(pgd_t *pgd, unsigned long address) |
pgd | 290 | arch/sparc/mm/sun4c.c | return (pmd_t *) pgd; |
pgd | 338 | arch/sparc/mm/sun4c.c | sun4c_pmd_alloc(pgd_t * pgd, unsigned long address) |
pgd | 340 | arch/sparc/mm/sun4c.c | return (pmd_t *) pgd; |
pgd | 345 | arch/sparc/mm/sun4c.c | sun4c_pgd_free(pgd_t *pgd) |
pgd | 347 | arch/sparc/mm/sun4c.c | free_page((unsigned long) pgd); |
pgd | 570 | fs/proc/array.c | static inline void statm_pmd_range(pgd_t * pgd, unsigned long address, unsigned long size, |
pgd | 576 | fs/proc/array.c | if (pgd_none(*pgd)) |
pgd | 578 | fs/proc/array.c | if (pgd_bad(*pgd)) { |
pgd | 579 | fs/proc/array.c | printk("statm_pmd_range: bad pgd (%08lx)\n", pgd_val(*pgd)); |
pgd | 580 | fs/proc/array.c | pgd_clear(pgd); |
pgd | 583 | fs/proc/array.c | pmd = pmd_offset(pgd, address); |
pgd | 595 | fs/proc/array.c | static void statm_pgd_range(pgd_t * pgd, unsigned long address, unsigned long end, |
pgd | 599 | fs/proc/array.c | statm_pmd_range(pgd, address, end - address, pages, shared, dirty, total); |
pgd | 601 | fs/proc/array.c | pgd++; |
pgd | 616 | fs/proc/array.c | pgd_t *pgd = pgd_offset(tsk->mm, vma->vm_start); |
pgd | 619 | 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 | 169 | include/asm-alpha/pgtable.h | extern inline unsigned long pgd_page(pgd_t pgd) |
pgd | 170 | include/asm-alpha/pgtable.h | { return PAGE_OFFSET + ((pgd_val(pgd) & _PFN_MASK) >> (32-PAGE_SHIFT)); } |
pgd | 193 | include/asm-alpha/pgtable.h | extern inline int pgd_none(pgd_t pgd) { return !pgd_val(pgd); } |
pgd | 194 | 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 | 195 | include/asm-alpha/pgtable.h | extern inline int pgd_present(pgd_t pgd) { return pgd_val(pgd) & _PAGE_VALID; } |
pgd | 249 | include/asm-alpha/pgtable.h | return mm->pgd + ((address >> PGDIR_SHIFT) & (PTRS_PER_PAGE - 1)); |
pgd | 305 | include/asm-alpha/pgtable.h | extern inline pmd_t * pmd_alloc_kernel(pgd_t *pgd, unsigned long address) |
pgd | 308 | include/asm-alpha/pgtable.h | if (pgd_none(*pgd)) { |
pgd | 310 | include/asm-alpha/pgtable.h | if (pgd_none(*pgd)) { |
pgd | 312 | include/asm-alpha/pgtable.h | pgd_set(pgd, page); |
pgd | 316 | include/asm-alpha/pgtable.h | pgd_set(pgd, BAD_PAGETABLE); |
pgd | 321 | include/asm-alpha/pgtable.h | if (pgd_bad(*pgd)) { |
pgd | 322 | include/asm-alpha/pgtable.h | printk("Bad pgd in pmd_alloc: %08lx\n", pgd_val(*pgd)); |
pgd | 323 | include/asm-alpha/pgtable.h | pgd_set(pgd, BAD_PAGETABLE); |
pgd | 326 | include/asm-alpha/pgtable.h | return (pmd_t *) pgd_page(*pgd) + address; |
pgd | 362 | include/asm-alpha/pgtable.h | extern inline pmd_t * pmd_alloc(pgd_t *pgd, unsigned long address) |
pgd | 365 | include/asm-alpha/pgtable.h | if (pgd_none(*pgd)) { |
pgd | 367 | include/asm-alpha/pgtable.h | if (pgd_none(*pgd)) { |
pgd | 369 | include/asm-alpha/pgtable.h | pgd_set(pgd, page); |
pgd | 372 | include/asm-alpha/pgtable.h | pgd_set(pgd, BAD_PAGETABLE); |
pgd | 377 | include/asm-alpha/pgtable.h | if (pgd_bad(*pgd)) { |
pgd | 378 | include/asm-alpha/pgtable.h | printk("Bad pgd in pmd_alloc: %08lx\n", pgd_val(*pgd)); |
pgd | 379 | include/asm-alpha/pgtable.h | pgd_set(pgd, BAD_PAGETABLE); |
pgd | 382 | include/asm-alpha/pgtable.h | return (pmd_t *) pgd_page(*pgd) + address; |
pgd | 385 | include/asm-alpha/pgtable.h | extern inline void pgd_free(pgd_t * pgd) |
pgd | 387 | 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 | 170 | include/asm-i386/pgtable.h | extern inline int pgd_none(pgd_t pgd) { return 0; } |
pgd | 171 | include/asm-i386/pgtable.h | extern inline int pgd_bad(pgd_t pgd) { return 0; } |
pgd | 172 | include/asm-i386/pgtable.h | extern inline int pgd_present(pgd_t pgd) { return 1; } |
pgd | 219 | include/asm-i386/pgtable.h | return mm->pgd + (address >> PGDIR_SHIFT); |
pgd | 278 | include/asm-i386/pgtable.h | extern inline pmd_t * pmd_alloc_kernel(pgd_t * pgd, unsigned long address) |
pgd | 280 | include/asm-i386/pgtable.h | return (pmd_t *) pgd; |
pgd | 320 | include/asm-i386/pgtable.h | extern inline pmd_t * pmd_alloc(pgd_t * pgd, unsigned long address) |
pgd | 322 | include/asm-i386/pgtable.h | return (pmd_t *) pgd; |
pgd | 325 | include/asm-i386/pgtable.h | extern inline void pgd_free(pgd_t * pgd) |
pgd | 327 | include/asm-i386/pgtable.h | free_page((unsigned long) pgd); |
pgd | 26 | include/asm-mips/page.h | typedef struct { unsigned long pgd; } pgd_t; |
pgd | 30 | include/asm-mips/page.h | #define pgd_val(x) ((x).pgd) |
pgd | 192 | include/asm-mips/page.h | extern inline int pgd_none(pgd_t pgd) { return !pgd_val(pgd); } |
pgd | 193 | 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 | 194 | include/asm-mips/page.h | extern inline int pgd_present(pgd_t pgd) { return pgd_val(pgd) & _PAGE_PRESENT; } |
pgd | 232 | include/asm-mips/page.h | extern inline unsigned long pgd_page(pgd_t pgd) { return pgd_val(pgd) & PAGE_MASK; } |
pgd | 49 | include/asm-sparc/page.h | typedef struct { unsigned long pgd; } pgd_t; |
pgd | 54 | include/asm-sparc/page.h | #define pgd_val(x) ((x).pgd) |
pgd | 130 | include/linux/sched.h | pgd_t * pgd; |
pgd | 117 | kernel/fork.c | SET_PAGE_DIR(tsk, current->mm->pgd); |
pgd | 234 | mm/filemap.c | static inline int filemap_sync_pmd_range(pgd_t * pgd, |
pgd | 242 | mm/filemap.c | if (pgd_none(*pgd)) |
pgd | 244 | mm/filemap.c | if (pgd_bad(*pgd)) { |
pgd | 245 | mm/filemap.c | printk("filemap_sync_pmd_range: bad pgd (%08lx)\n", pgd_val(*pgd)); |
pgd | 246 | mm/filemap.c | pgd_clear(pgd); |
pgd | 249 | mm/filemap.c | pmd = pmd_offset(pgd, address); |
pgd | 133 | mm/memory.c | tsk->mm->pgd = new_pg; |
pgd | 182 | mm/memory.c | page_dir = tsk->mm->pgd; |
pgd | 192 | mm/memory.c | tsk->mm->pgd = swapper_pg_dir; /* or else... */ |
pgd | 555 | mm/memory.c | pgd_t * pgd; |
pgd | 563 | mm/memory.c | pgd = pgd_offset(tsk->mm,address); |
pgd | 564 | mm/memory.c | pmd = pmd_alloc(pgd, address); |
pgd | 1044 | mm/memory.c | pgd_t *pgd; |
pgd | 1048 | mm/memory.c | pgd = pgd_offset(tsk->mm, address); |
pgd | 1049 | mm/memory.c | pmd = pmd_alloc(pgd, address); |
pgd | 1190 | mm/memory.c | pgd_t *pgd; |
pgd | 1194 | mm/memory.c | pgd = pgd_offset(vma->vm_mm, address); |
pgd | 1195 | mm/memory.c | pmd = pmd_alloc(pgd, address); |
pgd | 47 | mm/mprotect.c | static inline void change_pmd_range(pgd_t * pgd, unsigned long address, |
pgd | 53 | mm/mprotect.c | if (pgd_none(*pgd)) |
pgd | 55 | mm/mprotect.c | if (pgd_bad(*pgd)) { |
pgd | 56 | mm/mprotect.c | printk("change_pmd_range: bad pgd (%08lx)\n", pgd_val(*pgd)); |
pgd | 57 | mm/mprotect.c | pgd_clear(pgd); |
pgd | 60 | mm/mprotect.c | pmd = pmd_offset(pgd, address); |
pgd | 1013 | mm/swap.c | if (!p->mm || pgd_inuse(p->mm->pgd)) |
pgd | 1017 | mm/swap.c | pgd_t * pgd = pgd_offset(p->mm, vma->vm_start); |
pgd | 1018 | mm/swap.c | if (unuse_vma(vma, pgd, vma->vm_start, vma->vm_end, type, page)) |