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 | 693 | arch/m68k/mm/memory.c | { pte_t *pte; |
pte | 699 | arch/m68k/mm/memory.c | pte = pte_offset( pmd, address ); |
pte | 705 | arch/m68k/mm/memory.c | for( ; address < end; pte++ ) { |
pte | 706 | arch/m68k/mm/memory.c | pte_val(*pte) = (pte_val(*pte) & ~_PAGE_NOCACHE) | cmode; |
pte | 129 | arch/ppc/kernel/mmu.h | pte **pmap; /* Two-level page-map structure */ |
pte | 39 | arch/ppc/mm/fault.c | pte_t *pte; |
pte | 70 | arch/ppc/mm/fault.c | pte = pte_offset(pmd, regs->dar & PAGE_MASK); |
pte | 71 | arch/ppc/mm/fault.c | if (pte && pte_present(*pte)) |
pte | 74 | arch/ppc/mm/fault.c | printk("Page mapped - PTE: %x[%x]\n", pte, *(long *)pte); |
pte | 76 | arch/ppc/mm/fault.c | MMU_hash_page(¤t->tss, regs->dar & PAGE_MASK, pte); |
pte | 101 | arch/ppc/mm/fault.c | pte_t *pte; |
pte | 129 | arch/ppc/mm/fault.c | pte = pte_offset(pmd, regs->dar & PAGE_MASK); |
pte | 140 | arch/ppc/mm/fault.c | if (pte) { |
pte | 142 | arch/ppc/mm/fault.c | current->mm->pgd,dir,*dir,pmd,*pmd,pte); |
pte | 143 | arch/ppc/mm/fault.c | if (pte_present(*pte)) { |
pte | 153 | arch/ppc/mm/fault.c | if (pte && pte_present(*pte)) |
pte | 156 | arch/ppc/mm/fault.c | MMU_hash_page(¤t->tss, regs->dar & PAGE_MASK, pte); |
pte | 308 | arch/ppc/mm/fault.c | pte_t *pte; |
pte | 315 | arch/ppc/mm/fault.c | pte = pte_offset(pmd, address & PAGE_MASK); |
pte | 316 | arch/ppc/mm/fault.c | if (pte && pte_present(*pte)) |
pte | 318 | arch/ppc/mm/fault.c | return(pte_page(*pte) | (address & ~(PAGE_MASK-1))); |
pte | 34 | arch/ppc/mm/init.c | pte *MMU_get_page(void); |
pte | 509 | arch/ppc/mm/init.c | pte * |
pte | 512 | arch/ppc/mm/init.c | pte *pg; |
pte | 513 | arch/ppc/mm/init.c | if ((pg = (pte *)MMU_get_item(&_free_pages))) |
pte | 523 | arch/ppc/mm/init.c | pte *pd, *pg; |
pte | 526 | arch/ppc/mm/init.c | if ((pte **)tss->pg_tables == (pte **)NULL) |
pte | 528 | arch/ppc/mm/init.c | (pte **)tss->pg_tables = (pte **)MMU_get_page(); |
pte | 529 | arch/ppc/mm/init.c | if ((pte **)tss->pg_tables == (pte **)NULL) |
pte | 535 | arch/ppc/mm/init.c | pd = ((pte **)tss->pg_tables)[(va>>PD_SHIFT)&PD_MASK]; |
pte | 536 | arch/ppc/mm/init.c | if (pd == (pte *)NULL) |
pte | 538 | arch/ppc/mm/init.c | pd = (pte *)MMU_get_page(); |
pte | 539 | arch/ppc/mm/init.c | if (pd == (pte *)NULL) |
pte | 543 | arch/ppc/mm/init.c | ((pte **)tss->pg_tables)[(va>>PD_SHIFT)&PD_MASK] = (pte *)((unsigned long)pd | _PAGE_TABLE); |
pte | 556 | arch/ppc/mm/init.c | MMU_hash_page(struct thread_struct *tss, unsigned long va, pte *pg) |
pte | 612 | arch/ppc/mm/init.c | if (pg == (pte *)NULL) |
pte | 746 | arch/ppc/mm/init.c | ((pte *)_pte)->flags |= flags; |
pte | 129 | arch/ppc/mm/mmu.h | pte **pmap; /* Two-level page-map structure */ |
pte | 38 | arch/sparc/mm/generic.c | static inline void io_remap_pte_range(pte_t * pte, unsigned long address, unsigned long size, |
pte | 48 | arch/sparc/mm/generic.c | pte_t oldpage = *pte; |
pte | 49 | arch/sparc/mm/generic.c | pte_clear(pte); |
pte | 50 | arch/sparc/mm/generic.c | set_pte(pte, mk_pte_io(offset, prot, space)); |
pte | 54 | arch/sparc/mm/generic.c | pte++; |
pte | 69 | arch/sparc/mm/generic.c | pte_t * pte = pte_alloc(pmd, address); |
pte | 70 | arch/sparc/mm/generic.c | if (!pte) |
pte | 72 | arch/sparc/mm/generic.c | io_remap_pte_range(pte, address, end - address, address + offset, prot, space); |
pte | 42 | arch/sparc/mm/loadmmu.c | void (*update_mmu_cache)(struct vm_area_struct *vma, unsigned long address, pte_t pte); |
pte | 147 | arch/sparc/mm/srmmu.c | static unsigned long srmmu_pte_page(pte_t pte) |
pte | 148 | arch/sparc/mm/srmmu.c | { return srmmu_p2v((pte_val(pte) & SRMMU_PTE_PMASK) << 4); } |
pte | 150 | arch/sparc/mm/srmmu.c | static int srmmu_pte_none(pte_t pte) { return !pte_val(pte); } |
pte | 151 | arch/sparc/mm/srmmu.c | static int srmmu_pte_present(pte_t pte) |
pte | 152 | arch/sparc/mm/srmmu.c | { return ((pte_val(pte) & SRMMU_ET_MASK) == SRMMU_ET_PTE); } |
pte | 174 | arch/sparc/mm/srmmu.c | static int srmmu_pte_write(pte_t pte) { return pte_val(pte) & SRMMU_WRITE; } |
pte | 175 | arch/sparc/mm/srmmu.c | static int srmmu_pte_dirty(pte_t pte) { return pte_val(pte) & SRMMU_DIRTY; } |
pte | 176 | arch/sparc/mm/srmmu.c | static int srmmu_pte_young(pte_t pte) { return pte_val(pte) & SRMMU_REF; } |
pte | 178 | arch/sparc/mm/srmmu.c | static pte_t srmmu_pte_wrprotect(pte_t pte) { pte_val(pte) &= ~SRMMU_WRITE; return pte;} |
pte | 179 | arch/sparc/mm/srmmu.c | static pte_t srmmu_pte_mkclean(pte_t pte) { pte_val(pte) &= ~SRMMU_DIRTY; return pte; } |
pte | 180 | arch/sparc/mm/srmmu.c | static pte_t srmmu_pte_mkold(pte_t pte) { pte_val(pte) &= ~SRMMU_REF; return pte; } |
pte | 181 | arch/sparc/mm/srmmu.c | static pte_t srmmu_pte_mkwrite(pte_t pte) { pte_val(pte) |= SRMMU_WRITE; return pte; } |
pte | 182 | arch/sparc/mm/srmmu.c | static pte_t srmmu_pte_mkdirty(pte_t pte) { pte_val(pte) |= SRMMU_DIRTY; return pte; } |
pte | 183 | arch/sparc/mm/srmmu.c | static pte_t srmmu_pte_mkyoung(pte_t pte) { pte_val(pte) |= SRMMU_REF; return pte; } |
pte | 190 | arch/sparc/mm/srmmu.c | { pte_t pte; pte_val(pte) = ((srmmu_v2p(page)) >> 4) | pgprot_val(pgprot); return pte; } |
pte | 194 | arch/sparc/mm/srmmu.c | pte_t pte; |
pte | 195 | arch/sparc/mm/srmmu.c | pte_val(pte) = ((page) >> 4) | (space << 28) | pgprot_val(pgprot); |
pte | 196 | arch/sparc/mm/srmmu.c | return pte; |
pte | 214 | arch/sparc/mm/srmmu.c | static pte_t srmmu_pte_modify(pte_t pte, pgprot_t newprot) |
pte | 215 | arch/sparc/mm/srmmu.c | { pte_val(pte) = (pte_val(pte) & ~0xff) | pgprot_val(newprot); return pte; } |
pte | 295 | arch/sparc/mm/srmmu.c | static void srmmu_pte_free_kernel(pte_t *pte) |
pte | 297 | arch/sparc/mm/srmmu.c | FREE_PTE(pte); |
pte | 351 | arch/sparc/mm/srmmu.c | static void srmmu_pte_free(pte_t *pte) |
pte | 353 | arch/sparc/mm/srmmu.c | FREE_PTE(pte); |
pte | 1667 | arch/sparc/mm/srmmu.c | unsigned long pte; |
pte | 1676 | arch/sparc/mm/srmmu.c | pte = (tmp) >> 4; |
pte | 1677 | arch/sparc/mm/srmmu.c | pte |= (SRMMU_CACHE | SRMMU_PRIV | SRMMU_VALID); |
pte | 1678 | arch/sparc/mm/srmmu.c | pte_val(*ptep) = pte; |
pte | 1935 | arch/sparc/mm/srmmu.c | static void srmmu_update_mmu_cache(struct vm_area_struct * vma, unsigned long address, pte_t pte) |
pte | 222 | arch/sparc/mm/sun4c.c | unsigned long addr, pte; |
pte | 225 | arch/sparc/mm/sun4c.c | pte = (start_mem - PAGE_OFFSET) >> PAGE_SHIFT; |
pte | 226 | arch/sparc/mm/sun4c.c | pte |= (_SUN4C_PAGE_VALID | _SUN4C_PAGE_WRITE | _SUN4C_PAGE_NOCACHE); |
pte | 227 | arch/sparc/mm/sun4c.c | sun4c_put_pte(addr, pte); |
pte | 568 | arch/sparc/mm/sun4c.c | static void sun4c_update_mmu_cache(struct vm_area_struct *vma, unsigned long address, pte_t pte) |
pte | 576 | arch/sparc/mm/sun4c.c | sun4c_put_pte(address, pte_val(pte)); |
pte | 601 | arch/sparc/mm/sun4c.c | unsigned long pte; |
pte | 602 | arch/sparc/mm/sun4c.c | pte = (address - PAGE_OFFSET) >> PAGE_SHIFT; |
pte | 603 | arch/sparc/mm/sun4c.c | pte |= pgprot_val(SUN4C_PAGE_KERNEL); |
pte | 606 | arch/sparc/mm/sun4c.c | sun4c_put_pte(address, pte++); |
pte | 654 | arch/sparc/mm/sun4c.c | #define BUCKET_PTE_PAGE(pte) \ |
pte | 655 | arch/sparc/mm/sun4c.c | (PAGE_OFFSET + (((pte) & 0xffff) << PAGE_SHIFT)) |
pte | 813 | arch/sparc/mm/sun4c.c | unsigned long pte; |
pte | 834 | arch/sparc/mm/sun4c.c | pte = ((vpage-PAGE_OFFSET) >> PAGE_SHIFT); |
pte | 835 | arch/sparc/mm/sun4c.c | pte |= pgprot_val(SUN4C_PAGE_KERNEL); |
pte | 836 | arch/sparc/mm/sun4c.c | pte |= _SUN4C_PAGE_NOCACHE; |
pte | 840 | arch/sparc/mm/sun4c.c | sun4c_put_pte(apage, pte); |
pte | 1164 | arch/sparc/mm/sun4c.c | static void sun4c_set_pte(pte_t *ptep, pte_t pte) |
pte | 1167 | arch/sparc/mm/sun4c.c | if((pte_val(pte) & (_SUN4C_PAGE_WRITE|_SUN4C_PAGE_DIRTY)) == |
pte | 1169 | arch/sparc/mm/sun4c.c | pte_val(pte) |= _SUN4C_PAGE_DIRTY; |
pte | 1171 | arch/sparc/mm/sun4c.c | *ptep = pte; |
pte | 1321 | arch/sparc/mm/sun4c.c | static int sun4c_pte_none(pte_t pte) { return !pte_val(pte); } |
pte | 1322 | arch/sparc/mm/sun4c.c | static int sun4c_pte_present(pte_t pte) { return pte_val(pte) & _SUN4C_PAGE_VALID; } |
pte | 1343 | arch/sparc/mm/sun4c.c | static int sun4c_pte_write(pte_t pte) { return pte_val(pte) & _SUN4C_PAGE_WRITE; } |
pte | 1344 | arch/sparc/mm/sun4c.c | static int sun4c_pte_dirty(pte_t pte) { return pte_val(pte) & _SUN4C_PAGE_DIRTY; } |
pte | 1345 | arch/sparc/mm/sun4c.c | static int sun4c_pte_young(pte_t pte) { return pte_val(pte) & _SUN4C_PAGE_REF; } |
pte | 1347 | arch/sparc/mm/sun4c.c | static pte_t sun4c_pte_wrprotect(pte_t pte) { pte_val(pte) &= ~_SUN4C_PAGE_WRITE; return pte; } |
pte | 1348 | arch/sparc/mm/sun4c.c | static pte_t sun4c_pte_mkclean(pte_t pte) { pte_val(pte) &= ~_SUN4C_PAGE_DIRTY; return pte; } |
pte | 1349 | arch/sparc/mm/sun4c.c | static pte_t sun4c_pte_mkold(pte_t pte) { pte_val(pte) &= ~_SUN4C_PAGE_REF; return pte; } |
pte | 1350 | arch/sparc/mm/sun4c.c | static pte_t sun4c_pte_mkwrite(pte_t pte) { pte_val(pte) |= _SUN4C_PAGE_WRITE; return pte; } |
pte | 1351 | arch/sparc/mm/sun4c.c | static pte_t sun4c_pte_mkdirty(pte_t pte) { pte_val(pte) |= _SUN4C_PAGE_DIRTY; return pte; } |
pte | 1352 | arch/sparc/mm/sun4c.c | static pte_t sun4c_pte_mkyoung(pte_t pte) { pte_val(pte) |= _SUN4C_PAGE_REF; return pte; } |
pte | 1368 | arch/sparc/mm/sun4c.c | static pte_t sun4c_pte_modify(pte_t pte, pgprot_t newprot) |
pte | 1370 | arch/sparc/mm/sun4c.c | return __pte((pte_val(pte) & _SUN4C_PAGE_CHG_MASK) | pgprot_val(newprot)); |
pte | 1373 | arch/sparc/mm/sun4c.c | static unsigned long sun4c_pte_page(pte_t pte) |
pte | 1375 | arch/sparc/mm/sun4c.c | return (PAGE_OFFSET + ((pte_val(pte) & 0xffff) << (PAGE_SHIFT))); |
pte | 1410 | arch/sparc/mm/sun4c.c | static void sun4c_pte_free_kernel(pte_t *pte) |
pte | 1412 | arch/sparc/mm/sun4c.c | free_page((unsigned long) pte); |
pte | 1452 | arch/sparc/mm/sun4c.c | static void sun4c_pte_free(pte_t *pte) |
pte | 1454 | arch/sparc/mm/sun4c.c | free_page((unsigned long) pte); |
pte | 336 | fs/proc/array.c | pte_t pte; |
pte | 356 | fs/proc/array.c | pte = *pte_offset(page_middle,ptr); |
pte | 357 | fs/proc/array.c | if (!pte_present(pte)) |
pte | 359 | fs/proc/array.c | return pte_page(pte) + (ptr & ~PAGE_MASK); |
pte | 738 | fs/proc/array.c | pte_t * pte; |
pte | 748 | fs/proc/array.c | pte = pte_offset(pmd, address); |
pte | 754 | fs/proc/array.c | pte_t page = *pte; |
pte | 757 | fs/proc/array.c | pte++; |
pte | 57 | fs/proc/mem.c | pte_t pte; |
pte | 95 | fs/proc/mem.c | pte = *pte_offset(page_middle,addr); |
pte | 96 | fs/proc/mem.c | if (!pte_present(pte)) |
pte | 98 | fs/proc/mem.c | page = (char *) pte_page(pte) + (addr & ~PAGE_MASK); |
pte | 117 | fs/proc/mem.c | pte_t pte; |
pte | 152 | fs/proc/mem.c | pte = *pte_offset(page_middle,addr); |
pte | 153 | fs/proc/mem.c | if (!pte_present(pte)) |
pte | 155 | fs/proc/mem.c | if (!pte_write(pte)) |
pte | 157 | 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 | 276 | include/asm-alpha/pgtable.h | { pte_t pte; pte_val(pte) = ((page-PAGE_OFFSET) << (32-PAGE_SHIFT)) | pgprot_val(pgprot); return pte; } |
pte | 278 | include/asm-alpha/pgtable.h | extern inline pte_t pte_modify(pte_t pte, pgprot_t newprot) |
pte | 279 | include/asm-alpha/pgtable.h | { pte_val(pte) = (pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot); return pte; } |
pte | 287 | include/asm-alpha/pgtable.h | extern inline unsigned long pte_page(pte_t pte) |
pte | 288 | include/asm-alpha/pgtable.h | { return PAGE_OFFSET + ((pte_val(pte) & _PFN_MASK) >> (32-PAGE_SHIFT)); } |
pte | 296 | include/asm-alpha/pgtable.h | extern inline int pte_none(pte_t pte) { return !pte_val(pte); } |
pte | 297 | include/asm-alpha/pgtable.h | extern inline int pte_present(pte_t pte) { return pte_val(pte) & _PAGE_VALID; } |
pte | 314 | include/asm-alpha/pgtable.h | extern inline int pte_read(pte_t pte) { return !(pte_val(pte) & _PAGE_FOR); } |
pte | 315 | include/asm-alpha/pgtable.h | extern inline int pte_write(pte_t pte) { return !(pte_val(pte) & _PAGE_FOW); } |
pte | 316 | include/asm-alpha/pgtable.h | extern inline int pte_exec(pte_t pte) { return !(pte_val(pte) & _PAGE_FOE); } |
pte | 317 | include/asm-alpha/pgtable.h | extern inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY; } |
pte | 318 | include/asm-alpha/pgtable.h | extern inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; } |
pte | 320 | include/asm-alpha/pgtable.h | extern inline pte_t pte_wrprotect(pte_t pte) { pte_val(pte) |= _PAGE_FOW; return pte; } |
pte | 321 | include/asm-alpha/pgtable.h | extern inline pte_t pte_rdprotect(pte_t pte) { pte_val(pte) |= _PAGE_FOR; return pte; } |
pte | 322 | include/asm-alpha/pgtable.h | extern inline pte_t pte_exprotect(pte_t pte) { pte_val(pte) |= _PAGE_FOE; return pte; } |
pte | 323 | include/asm-alpha/pgtable.h | extern inline pte_t pte_mkclean(pte_t pte) { pte_val(pte) &= ~(__DIRTY_BITS); return pte; } |
pte | 324 | include/asm-alpha/pgtable.h | extern inline pte_t pte_mkold(pte_t pte) { pte_val(pte) &= ~(__ACCESS_BITS); return pte; } |
pte | 325 | include/asm-alpha/pgtable.h | extern inline pte_t pte_mkwrite(pte_t pte) { pte_val(pte) &= ~_PAGE_FOW; return pte; } |
pte | 326 | include/asm-alpha/pgtable.h | extern inline pte_t pte_mkread(pte_t pte) { pte_val(pte) &= ~_PAGE_FOR; return pte; } |
pte | 327 | include/asm-alpha/pgtable.h | extern inline pte_t pte_mkexec(pte_t pte) { pte_val(pte) &= ~_PAGE_FOE; return pte; } |
pte | 328 | include/asm-alpha/pgtable.h | extern inline pte_t pte_mkdirty(pte_t pte) { pte_val(pte) |= __DIRTY_BITS; return pte; } |
pte | 329 | include/asm-alpha/pgtable.h | extern inline pte_t pte_mkyoung(pte_t pte) { pte_val(pte) |= __ACCESS_BITS; return pte; } |
pte | 372 | include/asm-alpha/pgtable.h | extern inline void pte_free_kernel(pte_t * pte) |
pte | 374 | include/asm-alpha/pgtable.h | free_page((unsigned long) pte); |
pte | 428 | include/asm-alpha/pgtable.h | extern inline void pte_free(pte_t * pte) |
pte | 430 | include/asm-alpha/pgtable.h | free_page((unsigned long) pte); |
pte | 501 | include/asm-alpha/pgtable.h | unsigned long address, pte_t pte) |
pte | 510 | 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 | 296 | include/asm-i386/pgtable.h | extern inline int pte_none(pte_t pte) { return !pte_val(pte); } |
pte | 297 | include/asm-i386/pgtable.h | extern inline int pte_present(pte_t pte) { return pte_val(pte) & _PAGE_PRESENT; } |
pte | 319 | include/asm-i386/pgtable.h | extern inline int pte_read(pte_t pte) { return pte_val(pte) & _PAGE_USER; } |
pte | 320 | include/asm-i386/pgtable.h | extern inline int pte_write(pte_t pte) { return pte_val(pte) & _PAGE_RW; } |
pte | 321 | include/asm-i386/pgtable.h | extern inline int pte_exec(pte_t pte) { return pte_val(pte) & _PAGE_USER; } |
pte | 322 | include/asm-i386/pgtable.h | extern inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY; } |
pte | 323 | include/asm-i386/pgtable.h | extern inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; } |
pte | 325 | include/asm-i386/pgtable.h | extern inline pte_t pte_wrprotect(pte_t pte) { pte_val(pte) &= ~_PAGE_RW; return pte; } |
pte | 326 | include/asm-i386/pgtable.h | extern inline pte_t pte_rdprotect(pte_t pte) { pte_val(pte) &= ~_PAGE_USER; return pte; } |
pte | 327 | include/asm-i386/pgtable.h | extern inline pte_t pte_exprotect(pte_t pte) { pte_val(pte) &= ~_PAGE_USER; return pte; } |
pte | 328 | include/asm-i386/pgtable.h | extern inline pte_t pte_mkclean(pte_t pte) { pte_val(pte) &= ~_PAGE_DIRTY; return pte; } |
pte | 329 | include/asm-i386/pgtable.h | extern inline pte_t pte_mkold(pte_t pte) { pte_val(pte) &= ~_PAGE_ACCESSED; return pte; } |
pte | 330 | include/asm-i386/pgtable.h | extern inline pte_t pte_mkwrite(pte_t pte) { pte_val(pte) |= _PAGE_RW; return pte; } |
pte | 331 | include/asm-i386/pgtable.h | extern inline pte_t pte_mkread(pte_t pte) { pte_val(pte) |= _PAGE_USER; return pte; } |
pte | 332 | include/asm-i386/pgtable.h | extern inline pte_t pte_mkexec(pte_t pte) { pte_val(pte) |= _PAGE_USER; return pte; } |
pte | 333 | include/asm-i386/pgtable.h | extern inline pte_t pte_mkdirty(pte_t pte) { pte_val(pte) |= _PAGE_DIRTY; return pte; } |
pte | 334 | include/asm-i386/pgtable.h | extern inline pte_t pte_mkyoung(pte_t pte) { pte_val(pte) |= _PAGE_ACCESSED; return pte; } |
pte | 341 | include/asm-i386/pgtable.h | { pte_t pte; pte_val(pte) = page | pgprot_val(pgprot); return pte; } |
pte | 343 | include/asm-i386/pgtable.h | extern inline pte_t pte_modify(pte_t pte, pgprot_t newprot) |
pte | 344 | include/asm-i386/pgtable.h | { pte_val(pte) = (pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot); return pte; } |
pte | 346 | include/asm-i386/pgtable.h | extern inline unsigned long pte_page(pte_t pte) |
pte | 347 | include/asm-i386/pgtable.h | { return pte_val(pte) & PAGE_MASK; } |
pte | 375 | include/asm-i386/pgtable.h | extern inline void pte_free_kernel(pte_t * pte) |
pte | 377 | include/asm-i386/pgtable.h | free_page((unsigned long) pte); |
pte | 417 | include/asm-i386/pgtable.h | extern inline void pte_free(pte_t * pte) |
pte | 419 | include/asm-i386/pgtable.h | free_page((unsigned long) pte); |
pte | 476 | include/asm-i386/pgtable.h | unsigned long address, pte_t pte) |
pte | 17 | include/asm-m68k/page.h | typedef struct { unsigned long pte; } pte_t; |
pte | 22 | include/asm-m68k/page.h | #define pte_val(x) ((x).pte) |
pte | 188 | include/asm-m68k/pgtable.h | { pte_t pte; pte_val(pte) = VTOP(page) | pgprot_val(pgprot); return pte; } |
pte | 190 | include/asm-m68k/pgtable.h | extern inline pte_t pte_modify(pte_t pte, pgprot_t newprot) |
pte | 191 | include/asm-m68k/pgtable.h | { pte_val(pte) = (pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot); return pte; } |
pte | 215 | include/asm-m68k/pgtable.h | extern inline unsigned long pte_page(pte_t pte) |
pte | 216 | include/asm-m68k/pgtable.h | { return PTOV(pte_val(pte) & PAGE_MASK); } |
pte | 225 | include/asm-m68k/pgtable.h | extern inline int pte_none(pte_t pte) { return !pte_val(pte); } |
pte | 226 | include/asm-m68k/pgtable.h | extern inline int pte_present(pte_t pte) { return pte_val(pte) & _PAGE_PRESENT; } |
pte | 253 | include/asm-m68k/pgtable.h | extern inline int pte_read(pte_t pte) { return 1; } |
pte | 254 | include/asm-m68k/pgtable.h | extern inline int pte_write(pte_t pte) { return !(pte_val(pte) & _PAGE_RONLY); } |
pte | 255 | include/asm-m68k/pgtable.h | extern inline int pte_exec(pte_t pte) { return 1; } |
pte | 256 | include/asm-m68k/pgtable.h | extern inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY; } |
pte | 257 | include/asm-m68k/pgtable.h | extern inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; } |
pte | 259 | include/asm-m68k/pgtable.h | extern inline pte_t pte_wrprotect(pte_t pte) { pte_val(pte) |= _PAGE_RONLY; return pte; } |
pte | 260 | include/asm-m68k/pgtable.h | extern inline pte_t pte_rdprotect(pte_t pte) { return pte; } |
pte | 261 | include/asm-m68k/pgtable.h | extern inline pte_t pte_exprotect(pte_t pte) { return pte; } |
pte | 262 | include/asm-m68k/pgtable.h | extern inline pte_t pte_mkclean(pte_t pte) { pte_val(pte) &= ~_PAGE_DIRTY; return pte; } |
pte | 263 | include/asm-m68k/pgtable.h | extern inline pte_t pte_mkold(pte_t pte) { pte_val(pte) &= ~_PAGE_ACCESSED; return pte; } |
pte | 264 | include/asm-m68k/pgtable.h | extern inline pte_t pte_mkwrite(pte_t pte) { pte_val(pte) &= ~_PAGE_RONLY; return pte; } |
pte | 265 | include/asm-m68k/pgtable.h | extern inline pte_t pte_mkread(pte_t pte) { return pte; } |
pte | 266 | include/asm-m68k/pgtable.h | extern inline pte_t pte_mkexec(pte_t pte) { return pte; } |
pte | 267 | include/asm-m68k/pgtable.h | extern inline pte_t pte_mkdirty(pte_t pte) { pte_val(pte) |= _PAGE_DIRTY; return pte; } |
pte | 268 | include/asm-m68k/pgtable.h | extern inline pte_t pte_mkyoung(pte_t pte) { pte_val(pte) |= _PAGE_ACCESSED; return pte; } |
pte | 269 | include/asm-m68k/pgtable.h | extern inline pte_t pte_mknocache(pte_t pte) |
pte | 271 | include/asm-m68k/pgtable.h | pte_val(pte) = (pte_val(pte) & _CACHEMASK040) | m68k_pgtable_cachemode; |
pte | 272 | include/asm-m68k/pgtable.h | return pte; |
pte | 274 | include/asm-m68k/pgtable.h | extern inline pte_t pte_mkcache(pte_t pte) { pte_val(pte) = (pte_val(pte) & _CACHEMASK040) | _PAGE_CACHE040; return pte; } |
pte | 365 | include/asm-m68k/pgtable.h | extern inline void pte_free(pte_t * pte) |
pte | 367 | include/asm-m68k/pgtable.h | cache_page((unsigned long)pte); |
pte | 368 | include/asm-m68k/pgtable.h | free_page((unsigned long) pte); |
pte | 428 | include/asm-m68k/pgtable.h | extern inline void pte_free_kernel(pte_t * pte) |
pte | 430 | include/asm-m68k/pgtable.h | cache_page((unsigned long)pte); |
pte | 431 | include/asm-m68k/pgtable.h | free_page((unsigned long) pte); |
pte | 570 | include/asm-m68k/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 | 54 | include/asm-sparc/page.h | typedef struct { unsigned long pte; } pte_t; |
pte | 62 | include/asm-sparc/page.h | #define pte_val(x) ((x).pte) |
pte | 323 | include/asm-sparc/pgtable.h | extern void (*update_mmu_cache)(struct vm_area_struct *vma, unsigned long address, pte_t pte); |
pte | 185 | ipc/shm.c | pte_t pte; |
pte | 186 | ipc/shm.c | pte_val(pte) = shp->shm_pages[i]; |
pte | 187 | ipc/shm.c | if (pte_none(pte)) |
pte | 189 | ipc/shm.c | if (pte_present(pte)) { |
pte | 190 | ipc/shm.c | free_page (pte_page(pte)); |
pte | 193 | ipc/shm.c | swap_free(pte_val(pte)); |
pte | 614 | ipc/shm.c | pte_t pte; |
pte | 644 | ipc/shm.c | pte_val(pte) = shp->shm_pages[idx]; |
pte | 645 | ipc/shm.c | if (!pte_present(pte)) { |
pte | 651 | ipc/shm.c | pte_val(pte) = shp->shm_pages[idx]; |
pte | 652 | ipc/shm.c | if (pte_present(pte)) { |
pte | 656 | ipc/shm.c | if (!pte_none(pte)) { |
pte | 657 | ipc/shm.c | read_swap_page(pte_val(pte), (char *) page); |
pte | 658 | ipc/shm.c | pte_val(pte) = shp->shm_pages[idx]; |
pte | 659 | ipc/shm.c | if (pte_present(pte)) { |
pte | 663 | ipc/shm.c | swap_free(pte_val(pte)); |
pte | 667 | ipc/shm.c | pte = pte_mkdirty(mk_pte(page, PAGE_SHARED)); |
pte | 668 | ipc/shm.c | shp->shm_pages[idx] = pte_val(pte); |
pte | 674 | ipc/shm.c | mem_map[MAP_NR(pte_page(pte))].count++; |
pte | 675 | ipc/shm.c | return pte_modify(pte, shmd->vm_page_prot); |
pte | 735 | ipc/shm.c | pte_t *page_table, pte; |
pte | 761 | ipc/shm.c | pte = *page_table; |
pte | 762 | ipc/shm.c | if (!pte_present(pte)) |
pte | 764 | ipc/shm.c | if (pte_young(pte)) { |
pte | 765 | ipc/shm.c | set_pte(page_table, pte_mkold(pte)); |
pte | 768 | ipc/shm.c | if (pte_page(pte) != pte_page(page)) |
pte | 773 | ipc/shm.c | mem_map[MAP_NR(pte_page(pte))].count--; |
pte | 887 | mm/filemap.c | pte_t pte = *ptep; |
pte | 892 | mm/filemap.c | if (!pte_present(pte)) |
pte | 894 | mm/filemap.c | if (!pte_dirty(pte)) |
pte | 896 | mm/filemap.c | flush_page_to_ram(pte_page(pte)); |
pte | 898 | mm/filemap.c | set_pte(ptep, pte_mkclean(pte)); |
pte | 900 | mm/filemap.c | page = pte_page(pte); |
pte | 903 | mm/filemap.c | if (pte_none(pte)) |
pte | 908 | mm/filemap.c | if (!pte_present(pte)) { |
pte | 909 | mm/filemap.c | swap_free(pte_val(pte)); |
pte | 912 | mm/filemap.c | page = pte_page(pte); |
pte | 913 | mm/filemap.c | if (!pte_dirty(pte) || flags == MS_INVALIDATE) { |
pte | 927 | mm/filemap.c | pte_t * pte; |
pte | 938 | mm/filemap.c | pte = pte_offset(pmd, address); |
pte | 946 | mm/filemap.c | error |= filemap_sync_pte(pte, vma, address + offset, flags); |
pte | 948 | mm/filemap.c | pte++; |
pte | 91 | mm/memory.c | pte_t * pte; |
pte | 100 | mm/memory.c | pte = pte_offset(dir, 0); |
pte | 102 | mm/memory.c | pte_free(pte); |
pte | 183 | mm/memory.c | pte_t pte = *old_pte; |
pte | 186 | mm/memory.c | if (pte_none(pte)) |
pte | 188 | mm/memory.c | if (!pte_present(pte)) { |
pte | 189 | mm/memory.c | swap_duplicate(pte_val(pte)); |
pte | 190 | mm/memory.c | set_pte(new_pte, pte); |
pte | 193 | mm/memory.c | page_nr = MAP_NR(pte_page(pte)); |
pte | 195 | mm/memory.c | set_pte(new_pte, pte); |
pte | 199 | mm/memory.c | pte = pte_wrprotect(pte); |
pte | 201 | mm/memory.c | pte = pte_mkdirty(pte); |
pte | 202 | mm/memory.c | set_pte(new_pte, pte_mkold(pte)); |
pte | 203 | mm/memory.c | set_pte(old_pte, pte); |
pte | 320 | mm/memory.c | pte_t * pte; |
pte | 330 | mm/memory.c | pte = pte_offset(pmd, address); |
pte | 336 | mm/memory.c | pte_t page = *pte; |
pte | 337 | mm/memory.c | pte_clear(pte); |
pte | 340 | mm/memory.c | pte++; |
pte | 387 | mm/memory.c | static inline void zeromap_pte_range(pte_t * pte, unsigned long address, unsigned long size, pte_t zero_pte) |
pte | 396 | mm/memory.c | pte_t oldpage = *pte; |
pte | 397 | mm/memory.c | set_pte(pte, zero_pte); |
pte | 400 | mm/memory.c | pte++; |
pte | 413 | mm/memory.c | pte_t * pte = pte_alloc(pmd, address); |
pte | 414 | mm/memory.c | if (!pte) |
pte | 416 | mm/memory.c | zeromap_pte_range(pte, address, end - address, zero_pte); |
pte | 454 | mm/memory.c | static inline void remap_pte_range(pte_t * pte, unsigned long address, unsigned long size, |
pte | 464 | mm/memory.c | pte_t oldpage = *pte; |
pte | 465 | mm/memory.c | pte_clear(pte); |
pte | 467 | mm/memory.c | set_pte(pte, mk_pte(offset, prot)); |
pte | 471 | mm/memory.c | pte++; |
pte | 486 | mm/memory.c | pte_t * pte = pte_alloc(pmd, address); |
pte | 487 | mm/memory.c | if (!pte) |
pte | 489 | mm/memory.c | remap_pte_range(pte, address, end - address, address + offset, prot); |
pte | 524 | mm/memory.c | static void put_page(pte_t * page_table, pte_t pte) |
pte | 528 | mm/memory.c | free_page(pte_page(pte)); |
pte | 532 | mm/memory.c | set_pte(page_table, pte); |
pte | 543 | mm/memory.c | pte_t * pte; |
pte | 556 | mm/memory.c | pte = pte_alloc(pmd, address); |
pte | 557 | mm/memory.c | if (!pte) { |
pte | 562 | 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 | 643 | mm/memory.c | set_pte(page_table, pte_mkdirty(pte_mkwrite(pte))); |
pte | 752 | mm/memory.c | pte_t pte; |
pte | 754 | mm/memory.c | pte = pte_wrprotect(mk_pte(ZERO_PAGE, vma->vm_page_prot)); |
pte | 757 | mm/memory.c | pte = pte_mkwrite(pte_mkdirty(mk_pte(page, vma->vm_page_prot))); |
pte | 762 | mm/memory.c | pte = BAD_PAGE; |
pte | 766 | mm/memory.c | put_page(page_table, pte); |
pte | 776 | mm/memory.c | pte_t *page_table, pte; |
pte | 795 | mm/memory.c | pte = *page_table; |
pte | 796 | mm/memory.c | if (!pte_present(pte)) |
pte | 800 | mm/memory.c | address += pte_page(pte); |
pte | 804 | mm/memory.c | flush_page_to_ram(pte_page(pte)); |
pte | 855 | mm/memory.c | pte_t *pte; |
pte | 863 | mm/memory.c | pte = pte_alloc(pmd, address); |
pte | 864 | mm/memory.c | if (!pte) { |
pte | 868 | mm/memory.c | return pte; |
pte | 975 | mm/memory.c | int write_access, pte_t * pte) |
pte | 977 | mm/memory.c | if (!pte_present(*pte)) { |
pte | 981 | mm/memory.c | set_pte(pte, pte_mkyoung(*pte)); |
pte | 985 | mm/memory.c | if (pte_write(*pte)) { |
pte | 986 | mm/memory.c | set_pte(pte, pte_mkdirty(*pte)); |
pte | 998 | mm/memory.c | pte_t *pte; |
pte | 1004 | mm/memory.c | pte = pte_alloc(pmd, address); |
pte | 1005 | mm/memory.c | if (!pte) |
pte | 1007 | mm/memory.c | handle_pte_fault(vma, address, write_access, pte); |
pte | 1008 | 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 | 26 | mm/mremap.c | pte_t * pte = NULL; |
pte | 46 | mm/mremap.c | pte = pte_offset(pmd, addr); |
pte | 47 | mm/mremap.c | if (pte_none(*pte)) |
pte | 48 | mm/mremap.c | pte = NULL; |
pte | 50 | mm/mremap.c | return pte; |
pte | 56 | mm/mremap.c | pte_t * pte = NULL; |
pte | 60 | mm/mremap.c | pte = pte_alloc(pmd, addr); |
pte | 61 | mm/mremap.c | return pte; |
pte | 67 | mm/mremap.c | pte_t pte = *src; |
pte | 69 | mm/mremap.c | if (!pte_none(pte)) { |
pte | 73 | mm/mremap.c | set_pte(dst, pte); |
pte | 166 | mm/swapfile.c | pte_t pte = *dir; |
pte | 168 | mm/swapfile.c | if (pte_none(pte)) |
pte | 170 | mm/swapfile.c | if (pte_present(pte)) { |
pte | 171 | mm/swapfile.c | unsigned long page_nr = MAP_NR(pte_page(pte)); |
pte | 179 | mm/swapfile.c | set_pte(dir, pte_mkdirty(pte)); |
pte | 182 | mm/swapfile.c | if (SWP_TYPE(pte_val(pte)) != type) |
pte | 184 | mm/swapfile.c | read_swap_page(pte_val(pte), (char *) page); |
pte | 185 | mm/swapfile.c | if (pte_val(*dir) != pte_val(pte)) { |
pte | 191 | mm/swapfile.c | swap_free(pte_val(pte)); |
pte | 199 | mm/swapfile.c | pte_t * pte; |
pte | 209 | mm/swapfile.c | pte = pte_offset(dir, address); |
pte | 216 | mm/swapfile.c | if (unuse_pte(vma, offset+address-vma->vm_start, pte, type, page)) |
pte | 219 | mm/swapfile.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 | 112 | mm/vmalloc.c | static inline int alloc_area_pte(pte_t * pte, unsigned long address, unsigned long size) |
pte | 122 | mm/vmalloc.c | if (!pte_none(*pte)) |
pte | 127 | mm/vmalloc.c | set_pte(pte, mk_pte(page, PAGE_KERNEL)); |
pte | 129 | mm/vmalloc.c | pte++; |
pte | 143 | mm/vmalloc.c | pte_t * pte = pte_alloc_kernel(pmd, address); |
pte | 144 | mm/vmalloc.c | if (!pte) |
pte | 146 | mm/vmalloc.c | if (alloc_area_pte(pte, address, end - address)) |
pte | 175 | mm/vmalloc.c | static inline void remap_area_pte(pte_t * pte, unsigned long address, unsigned long size, |
pte | 185 | mm/vmalloc.c | if (!pte_none(*pte)) |
pte | 187 | mm/vmalloc.c | set_pte(pte, mk_pte(offset, PAGE_KERNEL)); |
pte | 190 | mm/vmalloc.c | pte++; |
pte | 205 | mm/vmalloc.c | pte_t * pte = pte_alloc_kernel(pmd, address); |
pte | 206 | mm/vmalloc.c | if (!pte) |
pte | 208 | mm/vmalloc.c | remap_area_pte(pte, address, end - address, address + offset); |
pte | 73 | mm/vmscan.c | pte_t pte; |
pte | 78 | mm/vmscan.c | pte = *page_table; |
pte | 79 | mm/vmscan.c | if (!pte_present(pte)) |
pte | 81 | mm/vmscan.c | page = pte_page(pte); |
pte | 93 | mm/vmscan.c | if ((pte_dirty(pte) && delete_from_swap_cache(MAP_NR(page))) |
pte | 94 | mm/vmscan.c | || pte_young(pte)) { |
pte | 95 | mm/vmscan.c | set_pte(page_table, pte_mkold(pte)); |
pte | 102 | mm/vmscan.c | if (pte_dirty(pte)) { |
pte | 125 | mm/vmscan.c | set_pte(page_table, pte_mkdirty(pte)); |
pte | 162 | mm/vmscan.c | pte_t * pte; |
pte | 173 | mm/vmscan.c | pte = pte_offset(dir, address); |
pte | 182 | mm/vmscan.c | result = try_to_swap_out(tsk, vma, address, pte, dma, wait); |
pte | 186 | mm/vmscan.c | pte++; |