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 | 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 | 512 | fs/proc/array.c | static inline void statm_pmd_range(pgd_t * pgd, unsigned long address, unsigned long size, |
pgd | 518 | fs/proc/array.c | if (pgd_none(*pgd)) |
pgd | 520 | fs/proc/array.c | if (pgd_bad(*pgd)) { |
pgd | 521 | fs/proc/array.c | printk("statm_pmd_range: bad pgd (%08lx)\n", pgd_val(*pgd)); |
pgd | 522 | fs/proc/array.c | pgd_clear(pgd); |
pgd | 525 | fs/proc/array.c | pmd = pmd_offset(pgd, address); |
pgd | 537 | fs/proc/array.c | static void statm_pgd_range(pgd_t * pgd, unsigned long address, unsigned long end, |
pgd | 541 | fs/proc/array.c | statm_pmd_range(pgd, address, end - address, pages, shared, dirty, total); |
pgd | 543 | fs/proc/array.c | pgd++; |
pgd | 558 | fs/proc/array.c | pgd_t *pgd = pgd_offset(*p, vma->vm_start); |
pgd | 561 | 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 | 311 | include/asm-alpha/pgtable.h | extern inline pmd_t * pmd_alloc_kernel(pgd_t *pgd, unsigned long address) |
pgd | 314 | include/asm-alpha/pgtable.h | if (pgd_none(*pgd)) { |
pgd | 316 | include/asm-alpha/pgtable.h | if (pgd_none(*pgd)) { |
pgd | 318 | include/asm-alpha/pgtable.h | pgd_set(pgd, page); |
pgd | 322 | include/asm-alpha/pgtable.h | pgd_set(pgd, BAD_PAGETABLE); |
pgd | 327 | include/asm-alpha/pgtable.h | if (pgd_bad(*pgd)) { |
pgd | 328 | include/asm-alpha/pgtable.h | printk("Bad pgd in pmd_alloc: %08lx\n", pgd_val(*pgd)); |
pgd | 329 | include/asm-alpha/pgtable.h | pgd_set(pgd, BAD_PAGETABLE); |
pgd | 332 | include/asm-alpha/pgtable.h | return (pmd_t *) pgd_page(*pgd) + address; |
pgd | 368 | include/asm-alpha/pgtable.h | extern inline pmd_t * pmd_alloc(pgd_t *pgd, unsigned long address) |
pgd | 371 | include/asm-alpha/pgtable.h | if (pgd_none(*pgd)) { |
pgd | 373 | include/asm-alpha/pgtable.h | if (pgd_none(*pgd)) { |
pgd | 375 | include/asm-alpha/pgtable.h | pgd_set(pgd, page); |
pgd | 378 | include/asm-alpha/pgtable.h | pgd_set(pgd, BAD_PAGETABLE); |
pgd | 383 | include/asm-alpha/pgtable.h | if (pgd_bad(*pgd)) { |
pgd | 384 | include/asm-alpha/pgtable.h | printk("Bad pgd in pmd_alloc: %08lx\n", pgd_val(*pgd)); |
pgd | 385 | include/asm-alpha/pgtable.h | pgd_set(pgd, BAD_PAGETABLE); |
pgd | 388 | include/asm-alpha/pgtable.h | return (pmd_t *) pgd_page(*pgd) + address; |
pgd | 391 | include/asm-alpha/pgtable.h | extern inline void pgd_free(pgd_t * pgd) |
pgd | 393 | 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 | 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 | 175 | mm/filemap.c | static inline void filemap_sync_pmd_range(pgd_t * pgd, |
pgd | 182 | mm/filemap.c | if (pgd_none(*pgd)) |
pgd | 184 | mm/filemap.c | if (pgd_bad(*pgd)) { |
pgd | 185 | mm/filemap.c | printk("filemap_sync_pmd_range: bad pgd (%08lx)\n", pgd_val(*pgd)); |
pgd | 186 | mm/filemap.c | pgd_clear(pgd); |
pgd | 189 | mm/filemap.c | pmd = pmd_offset(pgd, address); |
pgd | 578 | mm/memory.c | pgd_t * pgd; |
pgd | 586 | mm/memory.c | pgd = pgd_offset(tsk,address); |
pgd | 587 | mm/memory.c | pmd = pmd_alloc(pgd, address); |
pgd | 959 | mm/memory.c | pgd_t *pgd; |
pgd | 963 | mm/memory.c | pgd = pgd_offset(tsk, address); |
pgd | 964 | mm/memory.c | pmd = pmd_alloc(pgd, address); |
pgd | 1104 | mm/memory.c | pgd_t *pgd; |
pgd | 1108 | mm/memory.c | pgd = pgd_offset(vma->vm_task, address); |
pgd | 1109 | 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 | 950 | mm/swap.c | pgd_t * pgd = pgd_offset(p, vma->vm_start); |
pgd | 951 | mm/swap.c | if (unuse_vma(vma, pgd, vma->vm_start, vma->vm_end, type, page)) |