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 | *pte = pte_wrprotect(*pte); |
pte | 97 | arch/i386/kernel/vm86.c | pte++; |
pte | 95 | arch/sparc/mm/srmmu.c | srmmu_pte_page(pte_t pte) |
pte | 99 | arch/sparc/mm/srmmu.c | page = (pte_val(pte) & (SRMMU_PTE_PPN_MASK)) << SRMMU_PTE_PPN_PADDR_SHIFT; |
pte | 104 | arch/sparc/mm/srmmu.c | int srmmu_pte_none(pte_t pte) { return !pte_val(pte); } |
pte | 105 | arch/sparc/mm/srmmu.c | int srmmu_pte_present(pte_t pte) { return pte_val(pte) & SRMMU_ET_PTE; } |
pte | 149 | 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 | 150 | arch/sparc/mm/srmmu.c | int srmmu_pte_write(pte_t pte) { return pte_val(pte) & _SRMMU_PAGE_WRITE_USR; } |
pte | 151 | arch/sparc/mm/srmmu.c | int srmmu_pte_exec(pte_t pte) { return pte_val(pte) & _SRMMU_PAGE_EXEC; } |
pte | 152 | arch/sparc/mm/srmmu.c | int srmmu_pte_dirty(pte_t pte) { return pte_val(pte) & _SRMMU_PAGE_DIRTY; } |
pte | 153 | arch/sparc/mm/srmmu.c | int srmmu_pte_young(pte_t pte) { return pte_val(pte) & _SRMMU_PAGE_REF; } |
pte | 154 | arch/sparc/mm/srmmu.c | int srmmu_pte_cow(pte_t pte) { return pte_val(pte) & _SRMMU_PAGE_COW; } |
pte | 159 | 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 | 160 | 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 | 161 | 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 | 162 | arch/sparc/mm/srmmu.c | pte_t srmmu_pte_mkclean(pte_t pte) { pte_val(pte) &= ~_SRMMU_PAGE_DIRTY; return pte; } |
pte | 163 | arch/sparc/mm/srmmu.c | pte_t srmmu_pte_mkold(pte_t pte) { pte_val(pte) &= ~_SRMMU_PAGE_REF; return pte; } |
pte | 164 | 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 | 165 | 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 | 166 | 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 | 167 | 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 | 168 | arch/sparc/mm/srmmu.c | pte_t srmmu_pte_mkdirty(pte_t pte) { pte_val(pte) |= _SRMMU_PAGE_DIRTY; return pte; } |
pte | 169 | arch/sparc/mm/srmmu.c | pte_t srmmu_pte_mkyoung(pte_t pte) { pte_val(pte) |= _SRMMU_PAGE_REF; return pte; } |
pte | 170 | 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 | 179 | arch/sparc/mm/srmmu.c | pte_t pte; |
pte | 183 | arch/sparc/mm/srmmu.c | pte_val(pte) = (page & SRMMU_PTE_PPN_MASK); |
pte | 184 | arch/sparc/mm/srmmu.c | pte_val(pte) |= pgprot_val(pgprot); |
pte | 185 | arch/sparc/mm/srmmu.c | return pte; |
pte | 209 | arch/sparc/mm/srmmu.c | srmmu_pte_modify(pte_t pte, pgprot_t newprot) |
pte | 211 | arch/sparc/mm/srmmu.c | pte_val(pte) = (pte_val(pte) & (~SRMMU_PTE_ACC_MASK)) | pgprot_val(newprot); |
pte | 212 | arch/sparc/mm/srmmu.c | return pte; |
pte | 264 | arch/sparc/mm/srmmu.c | srmmu_pte_free_kernel(pte_t *pte) |
pte | 266 | arch/sparc/mm/srmmu.c | mem_map[MAP_NR(pte)] = 1; |
pte | 267 | arch/sparc/mm/srmmu.c | free_page((unsigned long) pte); |
pte | 333 | arch/sparc/mm/srmmu.c | srmmu_pte_free(pte_t *pte) |
pte | 335 | arch/sparc/mm/srmmu.c | free_page((unsigned long) pte); |
pte | 86 | arch/sparc/mm/sun4c.c | sun4c_pte_page(pte_t pte) |
pte | 90 | arch/sparc/mm/sun4c.c | page = ((pte_val(pte) & _SUN4C_PFN_MASK) << (PAGE_SHIFT)); |
pte | 117 | arch/sparc/mm/sun4c.c | int sun4c_pte_none(pte_t pte) { return !pte_val(pte); } |
pte | 118 | arch/sparc/mm/sun4c.c | int sun4c_pte_present(pte_t pte) { return pte_val(pte) & _SUN4C_PAGE_VALID; } |
pte | 153 | arch/sparc/mm/sun4c.c | int sun4c_pte_read(pte_t pte) { return pte_val(pte) & _SUN4C_PAGE_VALID; } |
pte | 154 | arch/sparc/mm/sun4c.c | int sun4c_pte_write(pte_t pte) { return pte_val(pte) & _SUN4C_PAGE_WRITE; } |
pte | 155 | arch/sparc/mm/sun4c.c | int sun4c_pte_exec(pte_t pte) { return pte_val(pte) & _SUN4C_PAGE_VALID; } |
pte | 156 | arch/sparc/mm/sun4c.c | int sun4c_pte_dirty(pte_t pte) { return pte_val(pte) & _SUN4C_PAGE_DIRTY; } |
pte | 157 | arch/sparc/mm/sun4c.c | int sun4c_pte_young(pte_t pte) { return pte_val(pte) & _SUN4C_PAGE_REF; } |
pte | 158 | arch/sparc/mm/sun4c.c | int sun4c_pte_cow(pte_t pte) { return pte_val(pte) & _SUN4C_PAGE_COW; } |
pte | 160 | arch/sparc/mm/sun4c.c | pte_t sun4c_pte_wrprotect(pte_t pte) { pte_val(pte) &= ~_SUN4C_PAGE_WRITE; return pte; } |
pte | 161 | arch/sparc/mm/sun4c.c | pte_t sun4c_pte_rdprotect(pte_t pte) { pte_val(pte) |= _SUN4C_PAGE_PRIV; return pte; } |
pte | 162 | arch/sparc/mm/sun4c.c | pte_t sun4c_pte_exprotect(pte_t pte) { pte_val(pte) |= _SUN4C_PAGE_PRIV; return pte; } |
pte | 163 | arch/sparc/mm/sun4c.c | pte_t sun4c_pte_mkclean(pte_t pte) { pte_val(pte) &= ~_SUN4C_PAGE_DIRTY; return pte; } |
pte | 164 | arch/sparc/mm/sun4c.c | pte_t sun4c_pte_mkold(pte_t pte) { pte_val(pte) &= ~_SUN4C_PAGE_REF; return pte; } |
pte | 165 | arch/sparc/mm/sun4c.c | pte_t sun4c_pte_uncow(pte_t pte) { pte_val(pte) &= ~_SUN4C_PAGE_COW; return pte; } |
pte | 166 | arch/sparc/mm/sun4c.c | pte_t sun4c_pte_mkwrite(pte_t pte) { pte_val(pte) |= _SUN4C_PAGE_WRITE; return pte; } |
pte | 167 | arch/sparc/mm/sun4c.c | pte_t sun4c_pte_mkread(pte_t pte) { pte_val(pte) &= ~_SUN4C_PAGE_PRIV; return pte; } |
pte | 168 | arch/sparc/mm/sun4c.c | pte_t sun4c_pte_mkexec(pte_t pte) { pte_val(pte) &= ~_SUN4C_PAGE_PRIV; return pte; } |
pte | 169 | arch/sparc/mm/sun4c.c | pte_t sun4c_pte_mkdirty(pte_t pte) { pte_val(pte) |= _SUN4C_PAGE_DIRTY; return pte; } |
pte | 170 | arch/sparc/mm/sun4c.c | pte_t sun4c_pte_mkyoung(pte_t pte) { pte_val(pte) |= _SUN4C_PAGE_REF; return pte; } |
pte | 171 | arch/sparc/mm/sun4c.c | pte_t sun4c_pte_mkcow(pte_t pte) { pte_val(pte) |= _SUN4C_PAGE_COW; return pte; } |
pte | 180 | arch/sparc/mm/sun4c.c | pte_t pte; |
pte | 184 | arch/sparc/mm/sun4c.c | pte_val(pte) = ((page>>PAGE_SHIFT)&_SUN4C_PFN_MASK); |
pte | 185 | arch/sparc/mm/sun4c.c | pte_val(pte) |= (pgprot_val(pgprot) & _SUN4C_MMU_MASK); |
pte | 186 | arch/sparc/mm/sun4c.c | return pte; |
pte | 198 | arch/sparc/mm/sun4c.c | sun4c_pte_modify(pte_t pte, pgprot_t newprot) |
pte | 200 | arch/sparc/mm/sun4c.c | pte_val(pte) = (pte_val(pte) & _SUN4C_PAGE_CHG_MASK); |
pte | 201 | arch/sparc/mm/sun4c.c | pte_val(pte) |= pgprot_val(newprot); |
pte | 202 | arch/sparc/mm/sun4c.c | return pte; |
pte | 233 | arch/sparc/mm/sun4c.c | sun4c_pte_free_kernel(pte_t *pte) |
pte | 235 | arch/sparc/mm/sun4c.c | mem_map[MAP_NR(pte)] = 1; |
pte | 236 | arch/sparc/mm/sun4c.c | free_page((unsigned long) pte); |
pte | 294 | arch/sparc/mm/sun4c.c | sun4c_pte_free(pte_t *pte) |
pte | 296 | arch/sparc/mm/sun4c.c | free_page((unsigned long) pte); |
pte | 291 | fs/proc/array.c | pte_t pte; |
pte | 311 | fs/proc/array.c | pte = *pte_offset(page_middle,ptr); |
pte | 312 | fs/proc/array.c | if (!pte_present(pte)) |
pte | 314 | fs/proc/array.c | return pte_page(pte) + (ptr & ~PAGE_MASK); |
pte | 477 | fs/proc/array.c | pte_t * pte; |
pte | 487 | fs/proc/array.c | pte = pte_offset(pmd, address); |
pte | 493 | fs/proc/array.c | pte_t page = *pte; |
pte | 496 | fs/proc/array.c | pte++; |
pte | 30 | fs/proc/mem.c | pte_t pte; |
pte | 70 | fs/proc/mem.c | pte = *pte_offset(page_middle,addr); |
pte | 71 | fs/proc/mem.c | if (!pte_present(pte)) |
pte | 73 | fs/proc/mem.c | page = (char *) pte_page(pte) + (addr & ~PAGE_MASK); |
pte | 92 | fs/proc/mem.c | pte_t pte; |
pte | 132 | fs/proc/mem.c | pte = *pte_offset(page_middle,addr); |
pte | 133 | fs/proc/mem.c | if (!pte_present(pte)) |
pte | 135 | fs/proc/mem.c | if (!pte_write(pte)) |
pte | 137 | 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 | 152 | include/asm-alpha/pgtable.h | { pte_t pte; pte_val(pte) = ((page-PAGE_OFFSET) << (32-PAGE_SHIFT)) | pgprot_val(pgprot); return pte; } |
pte | 154 | include/asm-alpha/pgtable.h | extern inline pte_t pte_modify(pte_t pte, pgprot_t newprot) |
pte | 155 | include/asm-alpha/pgtable.h | { pte_val(pte) = (pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot); return pte; } |
pte | 163 | include/asm-alpha/pgtable.h | extern inline unsigned long pte_page(pte_t pte) |
pte | 164 | include/asm-alpha/pgtable.h | { return PAGE_OFFSET + ((pte_val(pte) & _PFN_MASK) >> (32-PAGE_SHIFT)); } |
pte | 172 | include/asm-alpha/pgtable.h | extern inline int pte_none(pte_t pte) { return !pte_val(pte); } |
pte | 173 | include/asm-alpha/pgtable.h | extern inline int pte_present(pte_t pte) { return pte_val(pte) & _PAGE_VALID; } |
pte | 208 | include/asm-alpha/pgtable.h | extern inline int pte_read(pte_t pte) { return !(pte_val(pte) & _PAGE_FOR); } |
pte | 209 | include/asm-alpha/pgtable.h | extern inline int pte_write(pte_t pte) { return !(pte_val(pte) & _PAGE_FOW); } |
pte | 210 | include/asm-alpha/pgtable.h | extern inline int pte_exec(pte_t pte) { return !(pte_val(pte) & _PAGE_FOE); } |
pte | 211 | include/asm-alpha/pgtable.h | extern inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY; } |
pte | 212 | include/asm-alpha/pgtable.h | extern inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; } |
pte | 213 | include/asm-alpha/pgtable.h | extern inline int pte_cow(pte_t pte) { return pte_val(pte) & _PAGE_COW; } |
pte | 215 | include/asm-alpha/pgtable.h | extern inline pte_t pte_wrprotect(pte_t pte) { pte_val(pte) |= _PAGE_FOW; return pte; } |
pte | 216 | include/asm-alpha/pgtable.h | extern inline pte_t pte_rdprotect(pte_t pte) { pte_val(pte) |= _PAGE_FOR; return pte; } |
pte | 217 | include/asm-alpha/pgtable.h | extern inline pte_t pte_exprotect(pte_t pte) { pte_val(pte) |= _PAGE_FOE; return pte; } |
pte | 218 | include/asm-alpha/pgtable.h | extern inline pte_t pte_mkclean(pte_t pte) { pte_val(pte) &= ~(__DIRTY_BITS); return pte; } |
pte | 219 | include/asm-alpha/pgtable.h | extern inline pte_t pte_mkold(pte_t pte) { pte_val(pte) &= ~(__ACCESS_BITS); return pte; } |
pte | 220 | include/asm-alpha/pgtable.h | extern inline pte_t pte_uncow(pte_t pte) { pte_val(pte) &= ~_PAGE_COW; return pte; } |
pte | 221 | include/asm-alpha/pgtable.h | extern inline pte_t pte_mkwrite(pte_t pte) { pte_val(pte) &= ~_PAGE_FOW; return pte; } |
pte | 222 | include/asm-alpha/pgtable.h | extern inline pte_t pte_mkread(pte_t pte) { pte_val(pte) &= ~_PAGE_FOR; return pte; } |
pte | 223 | include/asm-alpha/pgtable.h | extern inline pte_t pte_mkexec(pte_t pte) { pte_val(pte) &= ~_PAGE_FOE; return pte; } |
pte | 224 | include/asm-alpha/pgtable.h | extern inline pte_t pte_mkdirty(pte_t pte) { pte_val(pte) |= __DIRTY_BITS; return pte; } |
pte | 225 | include/asm-alpha/pgtable.h | extern inline pte_t pte_mkyoung(pte_t pte) { pte_val(pte) |= __ACCESS_BITS; return pte; } |
pte | 226 | include/asm-alpha/pgtable.h | extern inline pte_t pte_mkcow(pte_t pte) { pte_val(pte) |= _PAGE_COW; return pte; } |
pte | 275 | include/asm-alpha/pgtable.h | extern inline void pte_free_kernel(pte_t * pte) |
pte | 277 | include/asm-alpha/pgtable.h | mem_map[MAP_NR(pte)] = 1; |
pte | 278 | include/asm-alpha/pgtable.h | free_page((unsigned long) pte); |
pte | 335 | include/asm-alpha/pgtable.h | extern inline void pte_free(pte_t * pte) |
pte | 337 | include/asm-alpha/pgtable.h | free_page((unsigned long) pte); |
pte | 408 | include/asm-alpha/pgtable.h | unsigned long address, pte_t pte) |
pte | 417 | 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 | 132 | include/asm-i386/pgtable.h | extern inline int pte_none(pte_t pte) { return !pte_val(pte); } |
pte | 133 | include/asm-i386/pgtable.h | extern inline int pte_present(pte_t pte) { return pte_val(pte) & _PAGE_PRESENT; } |
pte | 169 | include/asm-i386/pgtable.h | extern inline int pte_read(pte_t pte) { return pte_val(pte) & _PAGE_USER; } |
pte | 170 | include/asm-i386/pgtable.h | extern inline int pte_write(pte_t pte) { return pte_val(pte) & _PAGE_RW; } |
pte | 171 | include/asm-i386/pgtable.h | extern inline int pte_exec(pte_t pte) { return pte_val(pte) & _PAGE_USER; } |
pte | 172 | include/asm-i386/pgtable.h | extern inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY; } |
pte | 173 | include/asm-i386/pgtable.h | extern inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; } |
pte | 174 | include/asm-i386/pgtable.h | extern inline int pte_cow(pte_t pte) { return pte_val(pte) & _PAGE_COW; } |
pte | 176 | include/asm-i386/pgtable.h | extern inline pte_t pte_wrprotect(pte_t pte) { pte_val(pte) &= ~_PAGE_RW; return pte; } |
pte | 177 | include/asm-i386/pgtable.h | extern inline pte_t pte_rdprotect(pte_t pte) { pte_val(pte) &= ~_PAGE_USER; return pte; } |
pte | 178 | include/asm-i386/pgtable.h | extern inline pte_t pte_exprotect(pte_t pte) { pte_val(pte) &= ~_PAGE_USER; return pte; } |
pte | 179 | include/asm-i386/pgtable.h | extern inline pte_t pte_mkclean(pte_t pte) { pte_val(pte) &= ~_PAGE_DIRTY; return pte; } |
pte | 180 | include/asm-i386/pgtable.h | extern inline pte_t pte_mkold(pte_t pte) { pte_val(pte) &= ~_PAGE_ACCESSED; return pte; } |
pte | 181 | include/asm-i386/pgtable.h | extern inline pte_t pte_uncow(pte_t pte) { pte_val(pte) &= ~_PAGE_COW; return pte; } |
pte | 182 | include/asm-i386/pgtable.h | extern inline pte_t pte_mkwrite(pte_t pte) { pte_val(pte) |= _PAGE_RW; return pte; } |
pte | 183 | include/asm-i386/pgtable.h | extern inline pte_t pte_mkread(pte_t pte) { pte_val(pte) |= _PAGE_USER; return pte; } |
pte | 184 | include/asm-i386/pgtable.h | extern inline pte_t pte_mkexec(pte_t pte) { pte_val(pte) |= _PAGE_USER; return pte; } |
pte | 185 | include/asm-i386/pgtable.h | extern inline pte_t pte_mkdirty(pte_t pte) { pte_val(pte) |= _PAGE_DIRTY; return pte; } |
pte | 186 | include/asm-i386/pgtable.h | extern inline pte_t pte_mkyoung(pte_t pte) { pte_val(pte) |= _PAGE_ACCESSED; return pte; } |
pte | 187 | include/asm-i386/pgtable.h | extern inline pte_t pte_mkcow(pte_t pte) { pte_val(pte) |= _PAGE_COW; return pte; } |
pte | 194 | include/asm-i386/pgtable.h | { pte_t pte; pte_val(pte) = page | pgprot_val(pgprot); return pte; } |
pte | 196 | include/asm-i386/pgtable.h | extern inline pte_t pte_modify(pte_t pte, pgprot_t newprot) |
pte | 197 | include/asm-i386/pgtable.h | { pte_val(pte) = (pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot); return pte; } |
pte | 199 | include/asm-i386/pgtable.h | extern inline unsigned long pte_page(pte_t pte) |
pte | 200 | include/asm-i386/pgtable.h | { return pte_val(pte) & PAGE_MASK; } |
pte | 228 | include/asm-i386/pgtable.h | extern inline void pte_free_kernel(pte_t * pte) |
pte | 230 | include/asm-i386/pgtable.h | mem_map[MAP_NR(pte)] = 1; |
pte | 231 | include/asm-i386/pgtable.h | free_page((unsigned long) pte); |
pte | 271 | include/asm-i386/pgtable.h | extern inline void pte_free(pte_t * pte) |
pte | 273 | include/asm-i386/pgtable.h | free_page((unsigned long) pte); |
pte | 329 | 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 | 23 | include/asm-mips/page.h | #define pte_val(x) ((x).pte) |
pte | 182 | include/asm-mips/page.h | extern inline int pte_none(pte_t pte) { return !pte_val(pte); } |
pte | 183 | include/asm-mips/page.h | extern inline int pte_present(pte_t pte) { return pte_val(pte) & _PAGE_PRESENT; } |
pte | 195 | include/asm-mips/page.h | extern inline int pte_read(pte_t pte) { return pte_val(pte) & _PAGE_USER; } |
pte | 196 | include/asm-mips/page.h | extern inline int pte_write(pte_t pte) { return pte_val(pte) & _PAGE_RW; } |
pte | 197 | include/asm-mips/page.h | extern inline int pte_exec(pte_t pte) { return pte_val(pte) & _PAGE_USER; } |
pte | 198 | include/asm-mips/page.h | extern inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY; } |
pte | 199 | include/asm-mips/page.h | extern inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; } |
pte | 200 | include/asm-mips/page.h | extern inline int pte_cow(pte_t pte) { return pte_val(pte) & _PAGE_COW; } |
pte | 202 | include/asm-mips/page.h | extern inline pte_t pte_wrprotect(pte_t pte) { pte_val(pte) &= ~_PAGE_RW; return pte; } |
pte | 203 | include/asm-mips/page.h | extern inline pte_t pte_rdprotect(pte_t pte) { pte_val(pte) &= ~_PAGE_USER; return pte; } |
pte | 204 | include/asm-mips/page.h | extern inline pte_t pte_exprotect(pte_t pte) { pte_val(pte) &= ~_PAGE_USER; return pte; } |
pte | 205 | include/asm-mips/page.h | extern inline pte_t pte_mkclean(pte_t pte) { pte_val(pte) &= ~_PAGE_DIRTY; return pte; } |
pte | 206 | include/asm-mips/page.h | extern inline pte_t pte_mkold(pte_t pte) { pte_val(pte) &= ~_PAGE_ACCESSED; return pte; } |
pte | 207 | include/asm-mips/page.h | extern inline pte_t pte_uncow(pte_t pte) { pte_val(pte) &= ~_PAGE_COW; return pte; } |
pte | 208 | include/asm-mips/page.h | extern inline pte_t pte_mkwrite(pte_t pte) { pte_val(pte) |= _PAGE_RW; return pte; } |
pte | 209 | include/asm-mips/page.h | extern inline pte_t pte_mkread(pte_t pte) { pte_val(pte) |= _PAGE_USER; return pte; } |
pte | 210 | include/asm-mips/page.h | extern inline pte_t pte_mkexec(pte_t pte) { pte_val(pte) |= _PAGE_USER; return pte; } |
pte | 211 | include/asm-mips/page.h | extern inline pte_t pte_mkdirty(pte_t pte) { pte_val(pte) |= _PAGE_DIRTY; return pte; } |
pte | 212 | include/asm-mips/page.h | extern inline pte_t pte_mkyoung(pte_t pte) { pte_val(pte) |= _PAGE_ACCESSED; return pte; } |
pte | 213 | include/asm-mips/page.h | extern inline pte_t pte_mkcow(pte_t pte) { pte_val(pte) |= _PAGE_COW; return pte; } |
pte | 220 | include/asm-mips/page.h | { pte_t pte; pte_val(pte) = page | pgprot_val(pgprot); return pte; } |
pte | 222 | include/asm-mips/page.h | extern inline pte_t pte_modify(pte_t pte, pgprot_t newprot) |
pte | 223 | include/asm-mips/page.h | { pte_val(pte) = (pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot); return pte; } |
pte | 225 | include/asm-mips/page.h | extern inline unsigned long pte_page(pte_t pte) { return pte_val(pte) & PAGE_MASK; } |
pte | 47 | include/asm-sparc/page.h | typedef struct { unsigned long pte; } pte_t; |
pte | 52 | include/asm-sparc/page.h | #define pte_val(x) ((x).pte) |
pte | 328 | include/asm-sparc/pgtable.h | unsigned long address, pte_t pte) |
pte | 347 | include/asm-sparc/pgtable.h | put_pte((address & PAGE_MASK), pte_val(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 | 607 | ipc/shm.c | pte_t pte; |
pte | 637 | ipc/shm.c | pte_val(pte) = shp->shm_pages[idx]; |
pte | 638 | ipc/shm.c | if (!pte_present(pte)) { |
pte | 644 | ipc/shm.c | pte_val(pte) = shp->shm_pages[idx]; |
pte | 645 | ipc/shm.c | if (pte_present(pte)) { |
pte | 649 | ipc/shm.c | if (!pte_none(pte)) { |
pte | 650 | ipc/shm.c | read_swap_page(pte_val(pte), (char *) page); |
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 | swap_free(pte_val(pte)); |
pte | 660 | ipc/shm.c | pte = pte_mkdirty(mk_pte(page, PAGE_SHARED)); |
pte | 661 | ipc/shm.c | shp->shm_pages[idx] = pte_val(pte); |
pte | 667 | ipc/shm.c | mem_map[MAP_NR(pte_page(pte))]++; |
pte | 668 | ipc/shm.c | return pte_modify(pte, shmd->vm_page_prot); |
pte | 730 | ipc/shm.c | pte_t *page_table, pte; |
pte | 756 | ipc/shm.c | pte = *page_table; |
pte | 757 | ipc/shm.c | if (!pte_present(pte)) |
pte | 759 | ipc/shm.c | if (pte_young(pte)) { |
pte | 760 | ipc/shm.c | *page_table = pte_mkold(pte); |
pte | 763 | ipc/shm.c | if (pte_page(pte) != pte_page(page)) |
pte | 767 | ipc/shm.c | mem_map[MAP_NR(pte_page(pte))]--; |
pte | 129 | mm/filemap.c | static inline void filemap_sync_pte(pte_t * pte, struct vm_area_struct *vma, |
pte | 132 | mm/filemap.c | pte_t page = *pte; |
pte | 139 | mm/filemap.c | pte_clear(pte); |
pte | 142 | mm/filemap.c | *pte = pte_mkclean(page); |
pte | 152 | mm/filemap.c | pte_t * pte; |
pte | 162 | mm/filemap.c | pte = pte_offset(pmd, address); |
pte | 169 | mm/filemap.c | filemap_sync_pte(pte, vma, address + offset, flags); |
pte | 171 | mm/filemap.c | pte++; |
pte | 99 | mm/memory.c | pte_t * pte; |
pte | 108 | mm/memory.c | pte = pte_offset(dir, 0); |
pte | 110 | mm/memory.c | if (pte_inuse(pte)) { |
pte | 111 | mm/memory.c | pte_free(pte); |
pte | 115 | mm/memory.c | free_one_pte(pte+j); |
pte | 116 | mm/memory.c | pte_free(pte); |
pte | 231 | mm/memory.c | pte_t pte = *old_pte; |
pte | 233 | mm/memory.c | if (pte_none(pte)) |
pte | 235 | mm/memory.c | if (!pte_present(pte)) { |
pte | 236 | mm/memory.c | swap_duplicate(pte_val(pte)); |
pte | 237 | mm/memory.c | *new_pte = pte; |
pte | 240 | mm/memory.c | if (pte_page(pte) > high_memory || (mem_map[MAP_NR(pte_page(pte))] & MAP_PAGE_RESERVED)) { |
pte | 241 | mm/memory.c | *new_pte = pte; |
pte | 244 | mm/memory.c | if (pte_cow(pte)) |
pte | 245 | mm/memory.c | pte = pte_wrprotect(pte); |
pte | 246 | mm/memory.c | if (delete_from_swap_cache(pte_page(pte))) |
pte | 247 | mm/memory.c | pte = pte_mkdirty(pte); |
pte | 248 | mm/memory.c | *new_pte = pte_mkold(pte); |
pte | 249 | mm/memory.c | *old_pte = pte; |
pte | 250 | mm/memory.c | mem_map[MAP_NR(pte_page(pte))]++; |
pte | 361 | mm/memory.c | pte_t * pte; |
pte | 371 | mm/memory.c | pte = pte_offset(pmd, address); |
pte | 377 | mm/memory.c | pte_t page = *pte; |
pte | 378 | mm/memory.c | pte_clear(pte); |
pte | 381 | mm/memory.c | pte++; |
pte | 428 | mm/memory.c | static inline void zeromap_pte_range(pte_t * pte, unsigned long address, unsigned long size, pte_t zero_pte) |
pte | 437 | mm/memory.c | pte_t oldpage = *pte; |
pte | 438 | mm/memory.c | *pte = zero_pte; |
pte | 441 | mm/memory.c | pte++; |
pte | 454 | mm/memory.c | pte_t * pte = pte_alloc(pmd, address); |
pte | 455 | mm/memory.c | if (!pte) |
pte | 457 | mm/memory.c | zeromap_pte_range(pte, address, end - address, zero_pte); |
pte | 493 | mm/memory.c | static inline void remap_pte_range(pte_t * pte, unsigned long address, unsigned long size, |
pte | 503 | mm/memory.c | pte_t oldpage = *pte; |
pte | 504 | mm/memory.c | pte_clear(pte); |
pte | 506 | mm/memory.c | *pte = mk_pte(offset, prot); |
pte | 510 | mm/memory.c | pte++; |
pte | 525 | mm/memory.c | pte_t * pte = pte_alloc(pmd, address); |
pte | 526 | mm/memory.c | if (!pte) |
pte | 528 | mm/memory.c | remap_pte_range(pte, address, end - address, address + offset, prot); |
pte | 561 | mm/memory.c | static void put_page(pte_t * page_table, pte_t pte) |
pte | 565 | mm/memory.c | free_page(pte_page(pte)); |
pte | 569 | mm/memory.c | *page_table = pte; |
pte | 580 | mm/memory.c | pte_t * pte; |
pte | 593 | mm/memory.c | pte = pte_alloc(pmd, address); |
pte | 594 | mm/memory.c | if (!pte) { |
pte | 599 | mm/memory.c | if (!pte_none(*pte)) { |
pte | 601 | mm/memory.c | pte_clear(pte); |
pte | 604 | mm/memory.c | *pte = pte_mkwrite(pte_mkdirty(mk_pte(page, PAGE_COPY))); |
pte | 631 | mm/memory.c | pte_t *page_table, pte; |
pte | 646 | mm/memory.c | pte = *page_table; |
pte | 647 | mm/memory.c | if (!pte_present(pte)) |
pte | 649 | mm/memory.c | if (pte_write(pte)) |
pte | 651 | mm/memory.c | old_page = pte_page(pte); |
pte | 674 | mm/memory.c | *page_table = pte_mkdirty(pte_mkwrite(pte)); |
pte | 961 | mm/memory.c | pte_t *pte; |
pte | 969 | mm/memory.c | pte = pte_alloc(pmd, address); |
pte | 970 | mm/memory.c | if (!pte) { |
pte | 974 | mm/memory.c | return pte; |
pte | 1085 | mm/memory.c | int write_access, pte_t * pte) |
pte | 1087 | mm/memory.c | if (!pte_present(*pte)) { |
pte | 1091 | mm/memory.c | *pte = pte_mkyoung(*pte); |
pte | 1094 | mm/memory.c | if (pte_write(*pte)) { |
pte | 1095 | mm/memory.c | *pte = pte_mkdirty(*pte); |
pte | 1106 | mm/memory.c | pte_t *pte; |
pte | 1112 | mm/memory.c | pte = pte_alloc(pmd, address); |
pte | 1113 | mm/memory.c | if (!pte) |
pte | 1115 | mm/memory.c | handle_pte_fault(vma, address, write_access, pte); |
pte | 1116 | 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 | *pte = pte_modify(entry, newprot); |
pte | 43 | mm/mprotect.c | pte++; |
pte | 350 | mm/swap.c | pte_t pte; |
pte | 354 | mm/swap.c | pte = *page_table; |
pte | 355 | mm/swap.c | if (!pte_present(pte)) |
pte | 357 | mm/swap.c | page = pte_page(pte); |
pte | 364 | mm/swap.c | if ((pte_dirty(pte) && delete_from_swap_cache(page)) || pte_young(pte)) { |
pte | 365 | mm/swap.c | *page_table = pte_mkold(pte); |
pte | 368 | mm/swap.c | if (pte_dirty(pte)) { |
pte | 387 | mm/swap.c | *page_table = pte_mkdirty(pte); |
pte | 435 | mm/swap.c | pte_t * pte; |
pte | 446 | mm/swap.c | pte = pte_offset(dir, address); |
pte | 455 | mm/swap.c | result = try_to_swap_out(vma, address, pte, limit); |
pte | 459 | mm/swap.c | pte++; |
pte | 841 | mm/swap.c | pte_t pte = *dir; |
pte | 843 | mm/swap.c | if (pte_none(pte)) |
pte | 845 | mm/swap.c | if (pte_present(pte)) { |
pte | 846 | mm/swap.c | unsigned long page = pte_page(pte); |
pte | 854 | mm/swap.c | *dir = pte_mkdirty(pte); |
pte | 857 | mm/swap.c | if (SWP_TYPE(pte_val(pte)) != type) |
pte | 859 | mm/swap.c | read_swap_page(pte_val(pte), (char *) page); |
pte | 860 | mm/swap.c | if (pte_val(*dir) != pte_val(pte)) { |
pte | 866 | mm/swap.c | swap_free(pte_val(pte)); |
pte | 874 | mm/swap.c | pte_t * pte; |
pte | 884 | mm/swap.c | pte = pte_offset(dir, address); |
pte | 891 | mm/swap.c | if (unuse_pte(vma, offset+address-vma->vm_start, pte, type, page)) |
pte | 894 | mm/swap.c | pte++; |
pte | 40 | mm/vmalloc.c | pte_t * pte; |
pte | 50 | mm/vmalloc.c | pte = pte_offset(pmd, address); |
pte | 56 | mm/vmalloc.c | pte_t page = *pte; |
pte | 57 | mm/vmalloc.c | pte_clear(pte); |
pte | 59 | mm/vmalloc.c | pte++; |
pte | 108 | mm/vmalloc.c | static inline int alloc_area_pte(pte_t * pte, unsigned long address, unsigned long size) |
pte | 118 | mm/vmalloc.c | if (!pte_none(*pte)) |
pte | 123 | mm/vmalloc.c | *pte = mk_pte(page, PAGE_KERNEL); |
pte | 125 | mm/vmalloc.c | pte++; |
pte | 139 | mm/vmalloc.c | pte_t * pte = pte_alloc_kernel(pmd, address); |
pte | 140 | mm/vmalloc.c | if (!pte) |
pte | 142 | mm/vmalloc.c | if (alloc_area_pte(pte, address, end - address)) |
pte | 170 | mm/vmalloc.c | static inline void remap_area_pte(pte_t * pte, unsigned long address, unsigned long size, |
pte | 180 | mm/vmalloc.c | if (!pte_none(*pte)) |
pte | 182 | mm/vmalloc.c | *pte = mk_pte(offset, PAGE_KERNEL); |
pte | 185 | mm/vmalloc.c | pte++; |
pte | 200 | mm/vmalloc.c | pte_t * pte = pte_alloc_kernel(pmd, address); |
pte | 201 | mm/vmalloc.c | if (!pte) |
pte | 203 | mm/vmalloc.c | remap_area_pte(pte, address, end - address, address + offset); |