tag | line | file | source code |
pte | 74 | arch/i386/kernel/vm86.c | pte_t *pte; |
pte | 93 | arch/i386/kernel/vm86.c | pte = pte_offset(pmd, 0xA0000); |
pte | 95 | arch/i386/kernel/vm86.c | if (pte_present(*pte)) |
pte | 96 | arch/i386/kernel/vm86.c | set_pte(pte, pte_wrprotect(*pte)); |
pte | 97 | arch/i386/kernel/vm86.c | pte++; |
pte | 129 | arch/ppc/kernel/mmu.h | pte **pmap; /* Two-level page-map structure */ |
pte | 35 | arch/ppc/mm/fault.c | pte_t *pte; |
pte | 61 | arch/ppc/mm/fault.c | pte = pte_offset(pmd, regs->dar & PAGE_MASK); |
pte | 62 | arch/ppc/mm/fault.c | if (pte && pte_present(*pte)) |
pte | 65 | arch/ppc/mm/fault.c | printk("Page mapped - PTE: %x[%x]\n", pte, *(long *)pte); |
pte | 67 | arch/ppc/mm/fault.c | MMU_hash_page(¤t->tss, regs->dar & PAGE_MASK, pte); |
pte | 84 | arch/ppc/mm/fault.c | pte_t *pte; |
pte | 105 | arch/ppc/mm/fault.c | pte = pte_offset(pmd, regs->dar & PAGE_MASK); |
pte | 106 | arch/ppc/mm/fault.c | if (pte && pte_present(*pte)) |
pte | 109 | arch/ppc/mm/fault.c | printk("Page mapped - PTE: %x[%x]\n", pte, *(long *)pte); |
pte | 111 | arch/ppc/mm/fault.c | MMU_hash_page(¤t->tss, regs->dar & PAGE_MASK, pte); |
pte | 255 | arch/ppc/mm/fault.c | pte_t *pte; |
pte | 262 | arch/ppc/mm/fault.c | pte = pte_offset(pmd, address & PAGE_MASK); |
pte | 263 | arch/ppc/mm/fault.c | if (pte && pte_present(*pte)) |
pte | 265 | arch/ppc/mm/fault.c | return(pte_page(*pte) | (address & ~(PAGE_MASK-1))); |
pte | 33 | arch/ppc/mm/init.c | pte *MMU_get_page(void); |
pte | 513 | arch/ppc/mm/init.c | pte * |
pte | 516 | arch/ppc/mm/init.c | pte *pg; |
pte | 517 | arch/ppc/mm/init.c | if ((pg = (pte *)MMU_get_item(&_free_pages))) |
pte | 527 | arch/ppc/mm/init.c | pte *pd, *pg; |
pte | 530 | arch/ppc/mm/init.c | if ((pte **)tss->pg_tables == (pte **)NULL) |
pte | 532 | arch/ppc/mm/init.c | (pte **)tss->pg_tables = (pte **)MMU_get_page(); |
pte | 533 | arch/ppc/mm/init.c | if ((pte **)tss->pg_tables == (pte **)NULL) |
pte | 539 | arch/ppc/mm/init.c | pd = ((pte **)tss->pg_tables)[(va>>PD_SHIFT)&PD_MASK]; |
pte | 540 | arch/ppc/mm/init.c | if (pd == (pte *)NULL) |
pte | 542 | arch/ppc/mm/init.c | pd = (pte *)MMU_get_page(); |
pte | 543 | arch/ppc/mm/init.c | if (pd == (pte *)NULL) |
pte | 547 | arch/ppc/mm/init.c | ((pte **)tss->pg_tables)[(va>>PD_SHIFT)&PD_MASK] = (pte *)((unsigned long)pd | _PAGE_TABLE); |
pte | 560 | arch/ppc/mm/init.c | MMU_hash_page(struct thread_struct *tss, unsigned long va, pte *pg) |
pte | 616 | arch/ppc/mm/init.c | if (pg == (pte *)NULL) |
pte | 750 | arch/ppc/mm/init.c | ((pte *)_pte)->flags |= flags; |
pte | 129 | arch/ppc/mm/mmu.h | pte **pmap; /* Two-level page-map structure */ |
pte | 32 | arch/sparc/mm/loadmmu.c | void (*update_mmu_cache)(struct vm_area_struct *vma, unsigned long address, pte_t pte); |
pte | 49 | arch/sparc/mm/srmmu.c | srmmu_pte_page(pte_t pte) |
pte | 53 | arch/sparc/mm/srmmu.c | page = (pte_val(pte) & (SRMMU_PTE_PPN_MASK)) << SRMMU_PTE_PPN_PADDR_SHIFT; |
pte | 57 | arch/sparc/mm/srmmu.c | int srmmu_pte_none(pte_t pte) { return !pte_val(pte); } |
pte | 58 | arch/sparc/mm/srmmu.c | int srmmu_pte_present(pte_t pte) { return pte_val(pte) & SRMMU_ET_PTE; } |
pte | 102 | arch/sparc/mm/srmmu.c | int srmmu_pte_read(pte_t pte) { return (pte_val(pte) & _SRMMU_PAGE_RDONLY) || (pte_val(pte) & _SRMMU_PAGE_WRITE_USR); } |
pte | 103 | arch/sparc/mm/srmmu.c | int srmmu_pte_write(pte_t pte) { return pte_val(pte) & _SRMMU_PAGE_WRITE_USR; } |
pte | 104 | arch/sparc/mm/srmmu.c | int srmmu_pte_exec(pte_t pte) { return pte_val(pte) & _SRMMU_PAGE_EXEC; } |
pte | 105 | arch/sparc/mm/srmmu.c | int srmmu_pte_dirty(pte_t pte) { return pte_val(pte) & _SRMMU_PAGE_DIRTY; } |
pte | 106 | arch/sparc/mm/srmmu.c | int srmmu_pte_young(pte_t pte) { return pte_val(pte) & _SRMMU_PAGE_REF; } |
pte | 107 | arch/sparc/mm/srmmu.c | int srmmu_pte_cow(pte_t pte) { return pte_val(pte) & _SRMMU_PAGE_COW; } |
pte | 112 | arch/sparc/mm/srmmu.c | pte_t srmmu_pte_wrprotect(pte_t pte) { pte_val(pte) &= ~SRMMU_PTE_ACC_MASK; pte_val(pte) |= _SRMMU_PAGE_EXEC; return pte; } |
pte | 113 | arch/sparc/mm/srmmu.c | pte_t srmmu_pte_rdprotect(pte_t pte) { pte_val(pte) &= ~SRMMU_PTE_ACC_MASK; pte_val(pte) |= _SRMMU_PAGE_NOREAD; return pte; } |
pte | 114 | arch/sparc/mm/srmmu.c | pte_t srmmu_pte_exprotect(pte_t pte) { pte_val(pte) &= ~SRMMU_PTE_ACC_MASK; pte_val(pte) |= _SRMMU_PAGE_WRITE_USR; return pte; } |
pte | 115 | arch/sparc/mm/srmmu.c | pte_t srmmu_pte_mkclean(pte_t pte) { pte_val(pte) &= ~_SRMMU_PAGE_DIRTY; return pte; } |
pte | 116 | arch/sparc/mm/srmmu.c | pte_t srmmu_pte_mkold(pte_t pte) { pte_val(pte) &= ~_SRMMU_PAGE_REF; return pte; } |
pte | 117 | arch/sparc/mm/srmmu.c | pte_t srmmu_pte_uncow(pte_t pte) { pte_val(pte) &= ~SRMMU_PTE_ACC_MASK; pte_val(pte) |= _SRMMU_PAGE_UNCOW; return pte; } |
pte | 118 | arch/sparc/mm/srmmu.c | pte_t srmmu_pte_mkwrite(pte_t pte) { pte_val(pte) &= ~SRMMU_PTE_ACC_MASK; pte_val(pte) |= _SRMMU_PAGE_WRITE_USR; return pte; } |
pte | 119 | arch/sparc/mm/srmmu.c | pte_t srmmu_pte_mkread(pte_t pte) { pte_val(pte) &= ~SRMMU_PTE_ACC_MASK; pte_val(pte) |= _SRMMU_PAGE_RDONLY; return pte; } |
pte | 120 | arch/sparc/mm/srmmu.c | pte_t srmmu_pte_mkexec(pte_t pte) { pte_val(pte) &= ~SRMMU_PTE_ACC_MASK; pte_val(pte) |= _SRMMU_PAGE_EXEC; return pte; } |
pte | 121 | arch/sparc/mm/srmmu.c | pte_t srmmu_pte_mkdirty(pte_t pte) { pte_val(pte) |= _SRMMU_PAGE_DIRTY; return pte; } |
pte | 122 | arch/sparc/mm/srmmu.c | pte_t srmmu_pte_mkyoung(pte_t pte) { pte_val(pte) |= _SRMMU_PAGE_REF; return pte; } |
pte | 123 | arch/sparc/mm/srmmu.c | pte_t srmmu_pte_mkcow(pte_t pte) { pte_val(pte) &= ~SRMMU_PTE_ACC_MASK; pte_val(pte) |= _SRMMU_PAGE_COW; return pte; } |
pte | 132 | arch/sparc/mm/srmmu.c | pte_t pte; |
pte | 136 | arch/sparc/mm/srmmu.c | pte_val(pte) = (page & SRMMU_PTE_PPN_MASK); |
pte | 137 | arch/sparc/mm/srmmu.c | pte_val(pte) |= pgprot_val(pgprot); |
pte | 138 | arch/sparc/mm/srmmu.c | return pte; |
pte | 162 | arch/sparc/mm/srmmu.c | srmmu_pte_modify(pte_t pte, pgprot_t newprot) |
pte | 164 | arch/sparc/mm/srmmu.c | pte_val(pte) = (pte_val(pte) & (~SRMMU_PTE_ACC_MASK)) | pgprot_val(newprot); |
pte | 165 | arch/sparc/mm/srmmu.c | return pte; |
pte | 216 | arch/sparc/mm/srmmu.c | srmmu_pte_free_kernel(pte_t *pte) |
pte | 218 | arch/sparc/mm/srmmu.c | mem_map[MAP_NR(pte)].reserved = 0; |
pte | 219 | arch/sparc/mm/srmmu.c | free_page((unsigned long) pte); |
pte | 285 | arch/sparc/mm/srmmu.c | srmmu_pte_free(pte_t *pte) |
pte | 287 | arch/sparc/mm/srmmu.c | free_page((unsigned long) pte); |
pte | 806 | arch/sparc/mm/srmmu.c | unsigned long address, pte_t pte) |
pte | 66 | arch/sparc/mm/sun4c.c | int sun4c_pte_none(pte_t pte) { return !pte_val(pte); } |
pte | 67 | arch/sparc/mm/sun4c.c | int sun4c_pte_present(pte_t pte) { return pte_val(pte) & _SUN4C_PAGE_VALID; } |
pte | 97 | arch/sparc/mm/sun4c.c | int sun4c_pte_read(pte_t pte) { return !(pte_val(pte) & _SUN4C_PAGE_PRIV); } |
pte | 98 | arch/sparc/mm/sun4c.c | int sun4c_pte_write(pte_t pte) { return pte_val(pte) & _SUN4C_PAGE_WRITE; } |
pte | 99 | arch/sparc/mm/sun4c.c | int sun4c_pte_exec(pte_t pte) { return !(pte_val(pte) & _SUN4C_PAGE_PRIV); } |
pte | 100 | arch/sparc/mm/sun4c.c | int sun4c_pte_dirty(pte_t pte) { return pte_val(pte) & _SUN4C_PAGE_DIRTY; } |
pte | 101 | arch/sparc/mm/sun4c.c | int sun4c_pte_young(pte_t pte) { return pte_val(pte) & _SUN4C_PAGE_REF; } |
pte | 102 | arch/sparc/mm/sun4c.c | int sun4c_pte_cow(pte_t pte) { return pte_val(pte) & _SUN4C_PAGE_COW; } |
pte | 104 | arch/sparc/mm/sun4c.c | pte_t sun4c_pte_wrprotect(pte_t pte) { pte_val(pte) &= ~_SUN4C_PAGE_WRITE; return pte; } |
pte | 105 | arch/sparc/mm/sun4c.c | pte_t sun4c_pte_rdprotect(pte_t pte) { pte_val(pte) |= _SUN4C_PAGE_PRIV; return pte; } |
pte | 106 | arch/sparc/mm/sun4c.c | pte_t sun4c_pte_exprotect(pte_t pte) { pte_val(pte) |= _SUN4C_PAGE_PRIV; return pte; } |
pte | 107 | arch/sparc/mm/sun4c.c | pte_t sun4c_pte_mkclean(pte_t pte) { pte_val(pte) &= ~_SUN4C_PAGE_DIRTY; return pte; } |
pte | 108 | arch/sparc/mm/sun4c.c | pte_t sun4c_pte_mkold(pte_t pte) { pte_val(pte) &= ~_SUN4C_PAGE_REF; return pte; } |
pte | 109 | arch/sparc/mm/sun4c.c | pte_t sun4c_pte_uncow(pte_t pte) { pte_val(pte) &= ~_SUN4C_PAGE_COW; return pte; } |
pte | 110 | arch/sparc/mm/sun4c.c | pte_t sun4c_pte_mkwrite(pte_t pte) { pte_val(pte) |= _SUN4C_PAGE_WRITE; return pte; } |
pte | 111 | arch/sparc/mm/sun4c.c | pte_t sun4c_pte_mkread(pte_t pte) { pte_val(pte) &= ~_SUN4C_PAGE_PRIV; return pte; } |
pte | 112 | arch/sparc/mm/sun4c.c | pte_t sun4c_pte_mkexec(pte_t pte) { pte_val(pte) &= ~_SUN4C_PAGE_PRIV; return pte; } |
pte | 113 | arch/sparc/mm/sun4c.c | pte_t sun4c_pte_mkdirty(pte_t pte) { pte_val(pte) |= _SUN4C_PAGE_DIRTY; return pte; } |
pte | 114 | arch/sparc/mm/sun4c.c | pte_t sun4c_pte_mkyoung(pte_t pte) { pte_val(pte) |= _SUN4C_PAGE_REF; return pte; } |
pte | 115 | arch/sparc/mm/sun4c.c | pte_t sun4c_pte_mkcow(pte_t pte) { pte_val(pte) |= _SUN4C_PAGE_COW; return pte; } |
pte | 126 | arch/sparc/mm/sun4c.c | pte_t sun4c_pte_modify(pte_t pte, pgprot_t newprot) |
pte | 128 | arch/sparc/mm/sun4c.c | return __pte((pte_val(pte) & _SUN4C_PAGE_CHG_MASK) | pgprot_val(newprot)); |
pte | 131 | arch/sparc/mm/sun4c.c | unsigned long sun4c_pte_page(pte_t pte) |
pte | 133 | arch/sparc/mm/sun4c.c | return (PAGE_OFFSET + ((pte_val(pte) & 0xffff) << (PAGE_SHIFT))); |
pte | 375 | arch/sparc/mm/sun4c.c | void sun4c_pte_free_kernel(pte_t *pte) |
pte | 377 | arch/sparc/mm/sun4c.c | mem_map[MAP_NR(pte)].reserved = 0; |
pte | 378 | arch/sparc/mm/sun4c.c | free_page((unsigned long) pte); |
pte | 419 | arch/sparc/mm/sun4c.c | void sun4c_pte_free(pte_t *pte) |
pte | 421 | arch/sparc/mm/sun4c.c | free_page((unsigned long) pte); |
pte | 682 | arch/sparc/mm/sun4c.c | unsigned long address, pte_t pte) |
pte | 703 | arch/sparc/mm/sun4c.c | put_pte(address, pte_val(pte)); |
pte | 875 | arch/sparc/mm/sun4c.c | unsigned long pte, tmp; |
pte | 893 | arch/sparc/mm/sun4c.c | pte = get_pte(kern_begin); |
pte | 894 | arch/sparc/mm/sun4c.c | if(pte & _SUN4C_PAGE_VALID) { |
pte | 895 | arch/sparc/mm/sun4c.c | pte &= ~(_SUN4C_PAGE_NOCACHE); |
pte | 896 | arch/sparc/mm/sun4c.c | pte |= (_SUN4C_PAGE_PRIV | _SUN4C_PAGE_WRITE | |
pte | 898 | arch/sparc/mm/sun4c.c | put_pte(kern_begin, pte); |
pte | 908 | arch/sparc/mm/sun4c.c | unsigned long pte = get_pte(kadb_begin); |
pte | 909 | arch/sparc/mm/sun4c.c | if(pte & _SUN4C_PAGE_VALID) |
pte | 910 | arch/sparc/mm/sun4c.c | put_pte(kadb_begin, (pte | _SUN4C_PAGE_PRIV)); |
pte | 317 | fs/proc/array.c | pte_t pte; |
pte | 337 | fs/proc/array.c | pte = *pte_offset(page_middle,ptr); |
pte | 338 | fs/proc/array.c | if (!pte_present(pte)) |
pte | 340 | fs/proc/array.c | return pte_page(pte) + (ptr & ~PAGE_MASK); |
pte | 554 | fs/proc/array.c | pte_t * pte; |
pte | 564 | fs/proc/array.c | pte = pte_offset(pmd, address); |
pte | 570 | fs/proc/array.c | pte_t page = *pte; |
pte | 573 | fs/proc/array.c | pte++; |
pte | 57 | fs/proc/mem.c | pte_t pte; |
pte | 100 | fs/proc/mem.c | pte = *pte_offset(page_middle,addr); |
pte | 101 | fs/proc/mem.c | if (!pte_present(pte)) |
pte | 103 | fs/proc/mem.c | page = (char *) pte_page(pte) + (addr & ~PAGE_MASK); |
pte | 122 | fs/proc/mem.c | pte_t pte; |
pte | 162 | fs/proc/mem.c | pte = *pte_offset(page_middle,addr); |
pte | 163 | fs/proc/mem.c | if (!pte_present(pte)) |
pte | 165 | fs/proc/mem.c | if (!pte_write(pte)) |
pte | 167 | fs/proc/mem.c | page = (char *) pte_page(pte) + (addr & ~PAGE_MASK); |
pte | 17 | include/asm-alpha/page.h | typedef struct { unsigned long pte; } pte_t; |
pte | 22 | include/asm-alpha/page.h | #define pte_val(x) ((x).pte) |
pte | 215 | include/asm-alpha/pgtable.h | { pte_t pte; pte_val(pte) = ((page-PAGE_OFFSET) << (32-PAGE_SHIFT)) | pgprot_val(pgprot); return pte; } |
pte | 217 | include/asm-alpha/pgtable.h | extern inline pte_t pte_modify(pte_t pte, pgprot_t newprot) |
pte | 218 | include/asm-alpha/pgtable.h | { pte_val(pte) = (pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot); return pte; } |
pte | 226 | include/asm-alpha/pgtable.h | extern inline unsigned long pte_page(pte_t pte) |
pte | 227 | include/asm-alpha/pgtable.h | { return PAGE_OFFSET + ((pte_val(pte) & _PFN_MASK) >> (32-PAGE_SHIFT)); } |
pte | 235 | include/asm-alpha/pgtable.h | extern inline int pte_none(pte_t pte) { return !pte_val(pte); } |
pte | 236 | include/asm-alpha/pgtable.h | extern inline int pte_present(pte_t pte) { return pte_val(pte) & _PAGE_VALID; } |
pte | 266 | include/asm-alpha/pgtable.h | extern inline int pte_read(pte_t pte) { return !(pte_val(pte) & _PAGE_FOR); } |
pte | 267 | include/asm-alpha/pgtable.h | extern inline int pte_write(pte_t pte) { return !(pte_val(pte) & _PAGE_FOW); } |
pte | 268 | include/asm-alpha/pgtable.h | extern inline int pte_exec(pte_t pte) { return !(pte_val(pte) & _PAGE_FOE); } |
pte | 269 | include/asm-alpha/pgtable.h | extern inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY; } |
pte | 270 | include/asm-alpha/pgtable.h | extern inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; } |
pte | 271 | include/asm-alpha/pgtable.h | extern inline int pte_cow(pte_t pte) { return pte_val(pte) & _PAGE_COW; } |
pte | 273 | include/asm-alpha/pgtable.h | extern inline pte_t pte_wrprotect(pte_t pte) { pte_val(pte) |= _PAGE_FOW; return pte; } |
pte | 274 | include/asm-alpha/pgtable.h | extern inline pte_t pte_rdprotect(pte_t pte) { pte_val(pte) |= _PAGE_FOR; return pte; } |
pte | 275 | include/asm-alpha/pgtable.h | extern inline pte_t pte_exprotect(pte_t pte) { pte_val(pte) |= _PAGE_FOE; return pte; } |
pte | 276 | include/asm-alpha/pgtable.h | extern inline pte_t pte_mkclean(pte_t pte) { pte_val(pte) &= ~(__DIRTY_BITS); return pte; } |
pte | 277 | include/asm-alpha/pgtable.h | extern inline pte_t pte_mkold(pte_t pte) { pte_val(pte) &= ~(__ACCESS_BITS); return pte; } |
pte | 278 | include/asm-alpha/pgtable.h | extern inline pte_t pte_uncow(pte_t pte) { pte_val(pte) &= ~_PAGE_COW; return pte; } |
pte | 279 | include/asm-alpha/pgtable.h | extern inline pte_t pte_mkwrite(pte_t pte) { pte_val(pte) &= ~_PAGE_FOW; return pte; } |
pte | 280 | include/asm-alpha/pgtable.h | extern inline pte_t pte_mkread(pte_t pte) { pte_val(pte) &= ~_PAGE_FOR; return pte; } |
pte | 281 | include/asm-alpha/pgtable.h | extern inline pte_t pte_mkexec(pte_t pte) { pte_val(pte) &= ~_PAGE_FOE; return pte; } |
pte | 282 | include/asm-alpha/pgtable.h | extern inline pte_t pte_mkdirty(pte_t pte) { pte_val(pte) |= __DIRTY_BITS; return pte; } |
pte | 283 | include/asm-alpha/pgtable.h | extern inline pte_t pte_mkyoung(pte_t pte) { pte_val(pte) |= __ACCESS_BITS; return pte; } |
pte | 284 | include/asm-alpha/pgtable.h | extern inline pte_t pte_mkcow(pte_t pte) { pte_val(pte) |= _PAGE_COW; return pte; } |
pte | 332 | include/asm-alpha/pgtable.h | extern inline void pte_free_kernel(pte_t * pte) |
pte | 334 | include/asm-alpha/pgtable.h | mem_map[MAP_NR(pte)].reserved = 0; |
pte | 335 | include/asm-alpha/pgtable.h | free_page((unsigned long) pte); |
pte | 392 | include/asm-alpha/pgtable.h | extern inline void pte_free(pte_t * pte) |
pte | 394 | include/asm-alpha/pgtable.h | free_page((unsigned long) pte); |
pte | 465 | include/asm-alpha/pgtable.h | unsigned long address, pte_t pte) |
pte | 474 | include/asm-alpha/pgtable.h | { pte_t pte; pte_val(pte) = (type << 32) | (offset << 40); return pte; } |
pte | 17 | include/asm-i386/page.h | typedef struct { unsigned long pte; } pte_t; |
pte | 22 | include/asm-i386/page.h | #define pte_val(x) ((x).pte) |
pte | 237 | include/asm-i386/pgtable.h | extern inline int pte_none(pte_t pte) { return !pte_val(pte); } |
pte | 238 | include/asm-i386/pgtable.h | extern inline int pte_present(pte_t pte) { return pte_val(pte) & _PAGE_PRESENT; } |
pte | 273 | include/asm-i386/pgtable.h | extern inline int pte_read(pte_t pte) { return pte_val(pte) & _PAGE_USER; } |
pte | 274 | include/asm-i386/pgtable.h | extern inline int pte_write(pte_t pte) { return pte_val(pte) & _PAGE_RW; } |
pte | 275 | include/asm-i386/pgtable.h | extern inline int pte_exec(pte_t pte) { return pte_val(pte) & _PAGE_USER; } |
pte | 276 | include/asm-i386/pgtable.h | extern inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY; } |
pte | 277 | include/asm-i386/pgtable.h | extern inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; } |
pte | 278 | include/asm-i386/pgtable.h | extern inline int pte_cow(pte_t pte) { return pte_val(pte) & _PAGE_COW; } |
pte | 280 | include/asm-i386/pgtable.h | extern inline pte_t pte_wrprotect(pte_t pte) { pte_val(pte) &= ~_PAGE_RW; return pte; } |
pte | 281 | include/asm-i386/pgtable.h | extern inline pte_t pte_rdprotect(pte_t pte) { pte_val(pte) &= ~_PAGE_USER; return pte; } |
pte | 282 | include/asm-i386/pgtable.h | extern inline pte_t pte_exprotect(pte_t pte) { pte_val(pte) &= ~_PAGE_USER; return pte; } |
pte | 283 | include/asm-i386/pgtable.h | extern inline pte_t pte_mkclean(pte_t pte) { pte_val(pte) &= ~_PAGE_DIRTY; return pte; } |
pte | 284 | include/asm-i386/pgtable.h | extern inline pte_t pte_mkold(pte_t pte) { pte_val(pte) &= ~_PAGE_ACCESSED; return pte; } |
pte | 285 | include/asm-i386/pgtable.h | extern inline pte_t pte_uncow(pte_t pte) { pte_val(pte) &= ~_PAGE_COW; return pte; } |
pte | 286 | include/asm-i386/pgtable.h | extern inline pte_t pte_mkwrite(pte_t pte) { pte_val(pte) |= _PAGE_RW; return pte; } |
pte | 287 | include/asm-i386/pgtable.h | extern inline pte_t pte_mkread(pte_t pte) { pte_val(pte) |= _PAGE_USER; return pte; } |
pte | 288 | include/asm-i386/pgtable.h | extern inline pte_t pte_mkexec(pte_t pte) { pte_val(pte) |= _PAGE_USER; return pte; } |
pte | 289 | include/asm-i386/pgtable.h | extern inline pte_t pte_mkdirty(pte_t pte) { pte_val(pte) |= _PAGE_DIRTY; return pte; } |
pte | 290 | include/asm-i386/pgtable.h | extern inline pte_t pte_mkyoung(pte_t pte) { pte_val(pte) |= _PAGE_ACCESSED; return pte; } |
pte | 291 | include/asm-i386/pgtable.h | extern inline pte_t pte_mkcow(pte_t pte) { pte_val(pte) |= _PAGE_COW; return pte; } |
pte | 298 | include/asm-i386/pgtable.h | { pte_t pte; pte_val(pte) = page | pgprot_val(pgprot); return pte; } |
pte | 300 | include/asm-i386/pgtable.h | extern inline pte_t pte_modify(pte_t pte, pgprot_t newprot) |
pte | 301 | include/asm-i386/pgtable.h | { pte_val(pte) = (pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot); return pte; } |
pte | 303 | include/asm-i386/pgtable.h | extern inline unsigned long pte_page(pte_t pte) |
pte | 304 | include/asm-i386/pgtable.h | { return pte_val(pte) & PAGE_MASK; } |
pte | 332 | include/asm-i386/pgtable.h | extern inline void pte_free_kernel(pte_t * pte) |
pte | 334 | include/asm-i386/pgtable.h | mem_map[MAP_NR(pte)].reserved = 0; |
pte | 335 | include/asm-i386/pgtable.h | free_page((unsigned long) pte); |
pte | 376 | include/asm-i386/pgtable.h | extern inline void pte_free(pte_t * pte) |
pte | 378 | include/asm-i386/pgtable.h | free_page((unsigned long) pte); |
pte | 435 | include/asm-i386/pgtable.h | unsigned long address, pte_t pte) |
pte | 19 | include/asm-mips/page.h | typedef struct { unsigned long pte; } pte_t; |
pte | 24 | include/asm-mips/page.h | #define pte_val(x) ((x).pte) |
pte | 215 | include/asm-mips/pgtable.h | extern inline unsigned long pte_page(pte_t pte) |
pte | 216 | include/asm-mips/pgtable.h | { return PAGE_OFFSET + (pte_val(pte) & PAGE_MASK); } |
pte | 224 | include/asm-mips/pgtable.h | extern inline int pte_none(pte_t pte) { return !pte_val(pte); } |
pte | 225 | include/asm-mips/pgtable.h | extern inline int pte_present(pte_t pte) { return pte_val(pte) & _PAGE_PRESENT; } |
pte | 265 | include/asm-mips/pgtable.h | extern inline int pte_read(pte_t pte) { return pte_val(pte) & _PAGE_READ; } |
pte | 266 | include/asm-mips/pgtable.h | extern inline int pte_write(pte_t pte) { return pte_val(pte) & _PAGE_WRITE; } |
pte | 267 | include/asm-mips/pgtable.h | extern inline int pte_exec(pte_t pte) { return pte_val(pte) & _PAGE_READ; } |
pte | 268 | include/asm-mips/pgtable.h | extern inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_MODIFIED; } |
pte | 269 | include/asm-mips/pgtable.h | extern inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; } |
pte | 270 | include/asm-mips/pgtable.h | extern inline int pte_cow(pte_t pte) { return pte_val(pte) & _PAGE_COW; } |
pte | 272 | include/asm-mips/pgtable.h | extern inline pte_t pte_wrprotect(pte_t pte) |
pte | 274 | include/asm-mips/pgtable.h | pte_val(pte) &= ~(_PAGE_WRITE | _PAGE_SILENT_WRITE); |
pte | 275 | include/asm-mips/pgtable.h | return pte; |
pte | 277 | include/asm-mips/pgtable.h | extern inline pte_t pte_rdprotect(pte_t pte) |
pte | 279 | include/asm-mips/pgtable.h | pte_val(pte) &= ~(_PAGE_READ | _PAGE_SILENT_READ); return pte; |
pte | 281 | include/asm-mips/pgtable.h | extern inline pte_t pte_exprotect(pte_t pte) |
pte | 283 | include/asm-mips/pgtable.h | pte_val(pte) &= ~(_PAGE_READ | _PAGE_SILENT_READ); return pte; |
pte | 285 | include/asm-mips/pgtable.h | extern inline pte_t pte_mkclean(pte_t pte) { pte_val(pte) &= ~(_PAGE_MODIFIED|_PAGE_SILENT_WRITE); return pte; } |
pte | 286 | include/asm-mips/pgtable.h | extern inline pte_t pte_mkold(pte_t pte) { pte_val(pte) &= ~(_PAGE_ACCESSED|_PAGE_SILENT_READ|_PAGE_SILENT_WRITE); return pte; } |
pte | 287 | include/asm-mips/pgtable.h | extern inline pte_t pte_uncow(pte_t pte) { pte_val(pte) &= ~_PAGE_COW; return pte; } |
pte | 288 | include/asm-mips/pgtable.h | extern inline pte_t pte_mkwrite(pte_t pte) |
pte | 290 | include/asm-mips/pgtable.h | pte_val(pte) |= _PAGE_WRITE; |
pte | 291 | include/asm-mips/pgtable.h | if (pte_val(pte) & _PAGE_MODIFIED) |
pte | 292 | include/asm-mips/pgtable.h | pte_val(pte) |= _PAGE_SILENT_WRITE; |
pte | 293 | include/asm-mips/pgtable.h | return pte; |
pte | 295 | include/asm-mips/pgtable.h | extern inline pte_t pte_mkread(pte_t pte) |
pte | 297 | include/asm-mips/pgtable.h | pte_val(pte) |= _PAGE_READ; |
pte | 298 | include/asm-mips/pgtable.h | if (pte_val(pte) & _PAGE_ACCESSED) |
pte | 299 | include/asm-mips/pgtable.h | pte_val(pte) |= _PAGE_SILENT_READ; |
pte | 300 | include/asm-mips/pgtable.h | return pte; |
pte | 302 | include/asm-mips/pgtable.h | extern inline pte_t pte_mkexec(pte_t pte) |
pte | 304 | include/asm-mips/pgtable.h | pte_val(pte) |= _PAGE_READ; |
pte | 305 | include/asm-mips/pgtable.h | if (pte_val(pte) & _PAGE_ACCESSED) |
pte | 306 | include/asm-mips/pgtable.h | pte_val(pte) |= _PAGE_SILENT_READ; |
pte | 307 | include/asm-mips/pgtable.h | return pte; |
pte | 309 | include/asm-mips/pgtable.h | extern inline pte_t pte_mkdirty(pte_t pte) |
pte | 311 | include/asm-mips/pgtable.h | pte_val(pte) |= _PAGE_MODIFIED; |
pte | 312 | include/asm-mips/pgtable.h | if (pte_val(pte) & _PAGE_WRITE) |
pte | 313 | include/asm-mips/pgtable.h | pte_val(pte) |= _PAGE_SILENT_WRITE; |
pte | 314 | include/asm-mips/pgtable.h | return pte; |
pte | 316 | include/asm-mips/pgtable.h | extern inline pte_t pte_mkyoung(pte_t pte) |
pte | 318 | include/asm-mips/pgtable.h | pte_val(pte) |= _PAGE_ACCESSED; |
pte | 319 | include/asm-mips/pgtable.h | if (pte_val(pte) & _PAGE_READ) |
pte | 321 | include/asm-mips/pgtable.h | pte_val(pte) |= _PAGE_SILENT_READ; |
pte | 322 | include/asm-mips/pgtable.h | if ((pte_val(pte) & (_PAGE_WRITE|_PAGE_MODIFIED)) == (_PAGE_WRITE|_PAGE_MODIFIED)) |
pte | 323 | include/asm-mips/pgtable.h | pte_val(pte) |= _PAGE_SILENT_WRITE; |
pte | 325 | include/asm-mips/pgtable.h | return pte; |
pte | 327 | include/asm-mips/pgtable.h | extern inline pte_t pte_mkcow(pte_t pte) |
pte | 329 | include/asm-mips/pgtable.h | pte_val(pte) |= _PAGE_COW; |
pte | 330 | include/asm-mips/pgtable.h | return pte; |
pte | 338 | include/asm-mips/pgtable.h | { pte_t pte; pte_val(pte) = (page - PAGE_OFFSET) | pgprot_val(pgprot); return pte; } |
pte | 340 | include/asm-mips/pgtable.h | extern inline pte_t pte_modify(pte_t pte, pgprot_t newprot) |
pte | 341 | include/asm-mips/pgtable.h | { pte_val(pte) = (pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot); return pte; } |
pte | 367 | include/asm-mips/pgtable.h | extern inline void pte_free_kernel(pte_t * pte) |
pte | 369 | include/asm-mips/pgtable.h | unsigned long page = (unsigned long) pte; |
pte | 371 | include/asm-mips/pgtable.h | mem_map[MAP_NR(pte)].reserved = 0; |
pte | 419 | include/asm-mips/pgtable.h | extern inline void pte_free(pte_t * pte) |
pte | 421 | include/asm-mips/pgtable.h | unsigned long page = (unsigned long) pte; |
pte | 552 | include/asm-mips/pgtable.h | unsigned long address, pte_t pte); |
pte | 120 | include/asm-ppc/mmu.h | pte **pmap; /* Two-level page-map structure */ |
pte | 150 | include/asm-ppc/mmu.h | extern int MMU_hash_page(struct thread_struct *tss, unsigned long va, pte *pg); |
pte | 19 | include/asm-ppc/page.h | typedef struct { unsigned long pte; } pte_t; |
pte | 24 | include/asm-ppc/page.h | #define pte_val(x) ((x).pte) |
pte | 199 | include/asm-ppc/pgtable.h | extern inline int pte_none(pte_t pte) { return !pte_val(pte); } |
pte | 200 | include/asm-ppc/pgtable.h | extern inline int pte_present(pte_t pte) { return pte_val(pte) & _PAGE_PRESENT; } |
pte | 247 | include/asm-ppc/pgtable.h | extern inline int pte_read(pte_t pte) { return pte_val(pte) & _PAGE_USER; } |
pte | 248 | include/asm-ppc/pgtable.h | extern inline int pte_write(pte_t pte) { return pte_val(pte) & _PAGE_RW; } |
pte | 249 | include/asm-ppc/pgtable.h | extern inline int pte_exec(pte_t pte) { return pte_val(pte) & _PAGE_USER; } |
pte | 250 | include/asm-ppc/pgtable.h | extern inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY; } |
pte | 251 | include/asm-ppc/pgtable.h | extern inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; } |
pte | 252 | include/asm-ppc/pgtable.h | extern inline int pte_cow(pte_t pte) { return pte_val(pte) & _PAGE_COW; } |
pte | 254 | include/asm-ppc/pgtable.h | extern inline pte_t pte_wrprotect(pte_t pte) { pte_val(pte) &= ~_PAGE_RW; return pte; } |
pte | 255 | include/asm-ppc/pgtable.h | extern inline pte_t pte_rdprotect(pte_t pte) { pte_val(pte) &= ~_PAGE_USER; return pte; } |
pte | 256 | include/asm-ppc/pgtable.h | extern inline pte_t pte_exprotect(pte_t pte) { pte_val(pte) &= ~_PAGE_USER; return pte; } |
pte | 257 | include/asm-ppc/pgtable.h | extern inline pte_t pte_mkclean(pte_t pte) { pte_val(pte) &= ~_PAGE_DIRTY; return pte; } |
pte | 258 | include/asm-ppc/pgtable.h | extern inline pte_t pte_mkold(pte_t pte) { pte_val(pte) &= ~_PAGE_ACCESSED; return pte; } |
pte | 259 | include/asm-ppc/pgtable.h | extern inline pte_t pte_uncow(pte_t pte) { pte_val(pte) &= ~_PAGE_COW; return pte; } |
pte | 260 | include/asm-ppc/pgtable.h | extern inline pte_t pte_mkwrite(pte_t pte) { pte_val(pte) |= _PAGE_RW; return pte; } |
pte | 261 | include/asm-ppc/pgtable.h | extern inline pte_t pte_mkread(pte_t pte) { pte_val(pte) |= _PAGE_USER; return pte; } |
pte | 262 | include/asm-ppc/pgtable.h | extern inline pte_t pte_mkexec(pte_t pte) { pte_val(pte) |= _PAGE_USER; return pte; } |
pte | 263 | include/asm-ppc/pgtable.h | extern inline pte_t pte_mkdirty(pte_t pte) { pte_val(pte) |= _PAGE_DIRTY; return pte; } |
pte | 264 | include/asm-ppc/pgtable.h | extern inline pte_t pte_mkyoung(pte_t pte) { pte_val(pte) |= _PAGE_ACCESSED; return pte; } |
pte | 265 | include/asm-ppc/pgtable.h | extern inline pte_t pte_mkcow(pte_t pte) { pte_val(pte) |= _PAGE_COW; return pte; } |
pte | 272 | include/asm-ppc/pgtable.h | { pte_t pte; pte_val(pte) = page | pgprot_val(pgprot); return pte; } |
pte | 274 | include/asm-ppc/pgtable.h | extern inline pte_t pte_modify(pte_t pte, pgprot_t newprot) |
pte | 275 | include/asm-ppc/pgtable.h | { pte_val(pte) = (pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot); return pte; } |
pte | 280 | include/asm-ppc/pgtable.h | extern inline unsigned long pte_page(pte_t pte) |
pte | 281 | include/asm-ppc/pgtable.h | { return pte_val(pte) & PAGE_MASK; } |
pte | 311 | include/asm-ppc/pgtable.h | extern inline void pte_free_kernel(pte_t * pte) |
pte | 313 | include/asm-ppc/pgtable.h | mem_map[MAP_NR(pte)].reserved = 1; |
pte | 314 | include/asm-ppc/pgtable.h | free_page((unsigned long) pte); |
pte | 425 | include/asm-ppc/pgtable.h | extern inline void pte_free(pte_t * pte) |
pte | 427 | include/asm-ppc/pgtable.h | free_page((unsigned long) pte); |
pte | 491 | include/asm-ppc/pgtable.h | MMU_hash_page(&(current)->tss, address & PAGE_MASK, (pte *)&_pte); |
pte | 50 | include/asm-sparc/page.h | typedef struct { unsigned long pte; } pte_t; |
pte | 55 | include/asm-sparc/page.h | #define pte_val(x) ((x).pte) |
pte | 270 | include/asm-sparc/pgtable.h | extern void (*update_mmu_cache)(struct vm_area_struct *vma, unsigned long address, pte_t pte); |
pte | 184 | ipc/shm.c | pte_t pte; |
pte | 185 | ipc/shm.c | pte_val(pte) = shp->shm_pages[i]; |
pte | 186 | ipc/shm.c | if (pte_none(pte)) |
pte | 188 | ipc/shm.c | if (pte_present(pte)) { |
pte | 189 | ipc/shm.c | free_page (pte_page(pte)); |
pte | 192 | ipc/shm.c | swap_free(pte_val(pte)); |
pte | 606 | ipc/shm.c | pte_t pte; |
pte | 636 | ipc/shm.c | pte_val(pte) = shp->shm_pages[idx]; |
pte | 637 | ipc/shm.c | if (!pte_present(pte)) { |
pte | 643 | ipc/shm.c | pte_val(pte) = shp->shm_pages[idx]; |
pte | 644 | ipc/shm.c | if (pte_present(pte)) { |
pte | 648 | ipc/shm.c | if (!pte_none(pte)) { |
pte | 649 | ipc/shm.c | read_swap_page(pte_val(pte), (char *) page); |
pte | 650 | ipc/shm.c | pte_val(pte) = shp->shm_pages[idx]; |
pte | 651 | ipc/shm.c | if (pte_present(pte)) { |
pte | 655 | ipc/shm.c | swap_free(pte_val(pte)); |
pte | 659 | ipc/shm.c | pte = pte_mkdirty(mk_pte(page, PAGE_SHARED)); |
pte | 660 | ipc/shm.c | shp->shm_pages[idx] = pte_val(pte); |
pte | 666 | ipc/shm.c | mem_map[MAP_NR(pte_page(pte))].count++; |
pte | 667 | ipc/shm.c | return pte_modify(pte, shmd->vm_page_prot); |
pte | 727 | ipc/shm.c | pte_t *page_table, pte; |
pte | 753 | ipc/shm.c | pte = *page_table; |
pte | 754 | ipc/shm.c | if (!pte_present(pte)) |
pte | 756 | ipc/shm.c | if (pte_young(pte)) { |
pte | 757 | ipc/shm.c | set_pte(page_table, pte_mkold(pte)); |
pte | 760 | ipc/shm.c | if (pte_page(pte) != pte_page(page)) |
pte | 764 | ipc/shm.c | mem_map[MAP_NR(pte_page(pte))].count--; |
pte | 301 | mm/filemap.c | pte_t pte = *ptep; |
pte | 306 | mm/filemap.c | if (!pte_present(pte)) |
pte | 308 | mm/filemap.c | if (!pte_dirty(pte)) |
pte | 310 | mm/filemap.c | set_pte(ptep, pte_mkclean(pte)); |
pte | 312 | mm/filemap.c | page = pte_page(pte); |
pte | 315 | mm/filemap.c | if (pte_none(pte)) |
pte | 319 | mm/filemap.c | if (!pte_present(pte)) { |
pte | 320 | mm/filemap.c | swap_free(pte_val(pte)); |
pte | 323 | mm/filemap.c | page = pte_page(pte); |
pte | 324 | mm/filemap.c | if (!pte_dirty(pte) || flags == MS_INVALIDATE) { |
pte | 338 | mm/filemap.c | pte_t * pte; |
pte | 349 | mm/filemap.c | pte = pte_offset(pmd, address); |
pte | 357 | mm/filemap.c | error |= filemap_sync_pte(pte, vma, address + offset, flags); |
pte | 359 | mm/filemap.c | pte++; |
pte | 98 | mm/memory.c | pte_t * pte; |
pte | 107 | mm/memory.c | pte = pte_offset(dir, 0); |
pte | 109 | mm/memory.c | pte_free(pte); |
pte | 194 | mm/memory.c | pte_t pte = *old_pte; |
pte | 196 | mm/memory.c | if (pte_none(pte)) |
pte | 198 | mm/memory.c | if (!pte_present(pte)) { |
pte | 199 | mm/memory.c | swap_duplicate(pte_val(pte)); |
pte | 200 | mm/memory.c | set_pte(new_pte, pte); |
pte | 203 | mm/memory.c | if (pte_page(pte) > high_memory || mem_map[MAP_NR(pte_page(pte))].reserved) { |
pte | 204 | mm/memory.c | set_pte(new_pte, pte); |
pte | 207 | mm/memory.c | if (pte_cow(pte)) |
pte | 208 | mm/memory.c | pte = pte_wrprotect(pte); |
pte | 209 | mm/memory.c | if (delete_from_swap_cache(pte_page(pte))) |
pte | 210 | mm/memory.c | pte = pte_mkdirty(pte); |
pte | 211 | mm/memory.c | set_pte(new_pte, pte_mkold(pte)); |
pte | 212 | mm/memory.c | set_pte(old_pte, pte); |
pte | 213 | mm/memory.c | mem_map[MAP_NR(pte_page(pte))].count++; |
pte | 326 | mm/memory.c | pte_t * pte; |
pte | 336 | mm/memory.c | pte = pte_offset(pmd, address); |
pte | 342 | mm/memory.c | pte_t page = *pte; |
pte | 343 | mm/memory.c | pte_clear(pte); |
pte | 346 | mm/memory.c | pte++; |
pte | 392 | mm/memory.c | static inline void zeromap_pte_range(pte_t * pte, unsigned long address, unsigned long size, pte_t zero_pte) |
pte | 401 | mm/memory.c | pte_t oldpage = *pte; |
pte | 402 | mm/memory.c | set_pte(pte, zero_pte); |
pte | 405 | mm/memory.c | pte++; |
pte | 418 | mm/memory.c | pte_t * pte = pte_alloc(pmd, address); |
pte | 419 | mm/memory.c | if (!pte) |
pte | 421 | mm/memory.c | zeromap_pte_range(pte, address, end - address, zero_pte); |
pte | 457 | mm/memory.c | static inline void remap_pte_range(pte_t * pte, unsigned long address, unsigned long size, |
pte | 467 | mm/memory.c | pte_t oldpage = *pte; |
pte | 468 | mm/memory.c | pte_clear(pte); |
pte | 470 | mm/memory.c | set_pte(pte, mk_pte(offset, prot)); |
pte | 474 | mm/memory.c | pte++; |
pte | 489 | mm/memory.c | pte_t * pte = pte_alloc(pmd, address); |
pte | 490 | mm/memory.c | if (!pte) |
pte | 492 | mm/memory.c | remap_pte_range(pte, address, end - address, address + offset, prot); |
pte | 525 | mm/memory.c | static void put_page(pte_t * page_table, pte_t pte) |
pte | 529 | mm/memory.c | free_page(pte_page(pte)); |
pte | 533 | mm/memory.c | set_pte(page_table, pte); |
pte | 544 | mm/memory.c | pte_t * pte; |
pte | 557 | mm/memory.c | pte = pte_alloc(pmd, address); |
pte | 558 | mm/memory.c | if (!pte) { |
pte | 563 | mm/memory.c | if (!pte_none(*pte)) { |
pte | 568 | mm/memory.c | set_pte(pte, pte_mkwrite(pte_mkdirty(mk_pte(page, PAGE_COPY)))); |
pte | 595 | mm/memory.c | pte_t *page_table, pte; |
pte | 610 | mm/memory.c | pte = *page_table; |
pte | 611 | mm/memory.c | if (!pte_present(pte)) |
pte | 613 | mm/memory.c | if (pte_write(pte)) |
pte | 615 | mm/memory.c | old_page = pte_page(pte); |
pte | 638 | mm/memory.c | set_pte(page_table, pte_mkdirty(pte_mkwrite(pte))); |
pte | 925 | mm/memory.c | pte_t *page_table, pte; |
pte | 944 | mm/memory.c | pte = *page_table; |
pte | 945 | mm/memory.c | if (!pte_present(pte)) |
pte | 948 | mm/memory.c | address += pte_page(pte); |
pte | 1002 | mm/memory.c | pte_t *pte; |
pte | 1010 | mm/memory.c | pte = pte_alloc(pmd, address); |
pte | 1011 | mm/memory.c | if (!pte) { |
pte | 1015 | mm/memory.c | return pte; |
pte | 1127 | mm/memory.c | int write_access, pte_t * pte) |
pte | 1129 | mm/memory.c | if (!pte_present(*pte)) { |
pte | 1133 | mm/memory.c | set_pte(pte, pte_mkyoung(*pte)); |
pte | 1136 | mm/memory.c | if (pte_write(*pte)) { |
pte | 1137 | mm/memory.c | set_pte(pte, pte_mkdirty(*pte)); |
pte | 1148 | mm/memory.c | pte_t *pte; |
pte | 1154 | mm/memory.c | pte = pte_alloc(pmd, address); |
pte | 1155 | mm/memory.c | if (!pte) |
pte | 1157 | mm/memory.c | handle_pte_fault(vma, address, write_access, pte); |
pte | 1158 | mm/memory.c | update_mmu_cache(vma, address, *pte); |
pte | 23 | mm/mprotect.c | pte_t * pte; |
pte | 33 | mm/mprotect.c | pte = pte_offset(pmd, address); |
pte | 39 | mm/mprotect.c | pte_t entry = *pte; |
pte | 41 | mm/mprotect.c | set_pte(pte, pte_modify(entry, newprot)); |
pte | 43 | mm/mprotect.c | pte++; |
pte | 420 | mm/swap.c | pte_t pte; |
pte | 424 | mm/swap.c | pte = *page_table; |
pte | 425 | mm/swap.c | if (!pte_present(pte)) |
pte | 427 | mm/swap.c | page = pte_page(pte); |
pte | 438 | mm/swap.c | if ((pte_dirty(pte) && delete_from_swap_cache(page)) |
pte | 439 | mm/swap.c | || pte_young(pte)) { |
pte | 440 | mm/swap.c | set_pte(page_table, pte_mkold(pte)); |
pte | 447 | mm/swap.c | if (pte_dirty(pte)) { |
pte | 469 | mm/swap.c | set_pte(page_table, pte_mkdirty(pte)); |
pte | 504 | mm/swap.c | pte_t * pte; |
pte | 515 | mm/swap.c | pte = pte_offset(dir, address); |
pte | 524 | mm/swap.c | result = try_to_swap_out(tsk, vma, address, pte, limit); |
pte | 528 | mm/swap.c | pte++; |
pte | 907 | mm/swap.c | pte_t pte = *dir; |
pte | 909 | mm/swap.c | if (pte_none(pte)) |
pte | 911 | mm/swap.c | if (pte_present(pte)) { |
pte | 912 | mm/swap.c | unsigned long page = pte_page(pte); |
pte | 920 | mm/swap.c | set_pte(dir, pte_mkdirty(pte)); |
pte | 923 | mm/swap.c | if (SWP_TYPE(pte_val(pte)) != type) |
pte | 925 | mm/swap.c | read_swap_page(pte_val(pte), (char *) page); |
pte | 926 | mm/swap.c | if (pte_val(*dir) != pte_val(pte)) { |
pte | 932 | mm/swap.c | swap_free(pte_val(pte)); |
pte | 940 | mm/swap.c | pte_t * pte; |
pte | 950 | mm/swap.c | pte = pte_offset(dir, address); |
pte | 957 | mm/swap.c | if (unuse_pte(vma, offset+address-vma->vm_start, pte, type, page)) |
pte | 960 | mm/swap.c | pte++; |
pte | 43 | mm/vmalloc.c | pte_t * pte; |
pte | 53 | mm/vmalloc.c | pte = pte_offset(pmd, address); |
pte | 59 | mm/vmalloc.c | pte_t page = *pte; |
pte | 60 | mm/vmalloc.c | pte_clear(pte); |
pte | 62 | mm/vmalloc.c | pte++; |
pte | 111 | mm/vmalloc.c | static inline int alloc_area_pte(pte_t * pte, unsigned long address, unsigned long size) |
pte | 121 | mm/vmalloc.c | if (!pte_none(*pte)) |
pte | 126 | mm/vmalloc.c | set_pte(pte, mk_pte(page, PAGE_KERNEL)); |
pte | 128 | mm/vmalloc.c | pte++; |
pte | 142 | mm/vmalloc.c | pte_t * pte = pte_alloc_kernel(pmd, address); |
pte | 143 | mm/vmalloc.c | if (!pte) |
pte | 145 | mm/vmalloc.c | if (alloc_area_pte(pte, address, end - address)) |
pte | 173 | mm/vmalloc.c | static inline void remap_area_pte(pte_t * pte, unsigned long address, unsigned long size, |
pte | 183 | mm/vmalloc.c | if (!pte_none(*pte)) |
pte | 185 | mm/vmalloc.c | set_pte(pte, mk_pte(offset, PAGE_KERNEL)); |
pte | 188 | mm/vmalloc.c | pte++; |
pte | 203 | mm/vmalloc.c | pte_t * pte = pte_alloc_kernel(pmd, address); |
pte | 204 | mm/vmalloc.c | if (!pte) |
pte | 206 | mm/vmalloc.c | remap_area_pte(pte, address, end - address, address + offset); |