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 | 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 | 297 | fs/proc/array.c | pte_t pte; |
pte | 317 | fs/proc/array.c | pte = *pte_offset(page_middle,ptr); |
pte | 318 | fs/proc/array.c | if (!pte_present(pte)) |
pte | 320 | fs/proc/array.c | return pte_page(pte) + (ptr & ~PAGE_MASK); |
pte | 535 | fs/proc/array.c | pte_t * pte; |
pte | 545 | fs/proc/array.c | pte = pte_offset(pmd, address); |
pte | 551 | fs/proc/array.c | pte_t page = *pte; |
pte | 554 | 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 | 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 | 203 | include/asm-alpha/pgtable.h | extern inline int pte_read(pte_t pte) { return !(pte_val(pte) & _PAGE_FOR); } |
pte | 204 | include/asm-alpha/pgtable.h | extern inline int pte_write(pte_t pte) { return !(pte_val(pte) & _PAGE_FOW); } |
pte | 205 | include/asm-alpha/pgtable.h | extern inline int pte_exec(pte_t pte) { return !(pte_val(pte) & _PAGE_FOE); } |
pte | 206 | include/asm-alpha/pgtable.h | extern inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY; } |
pte | 207 | include/asm-alpha/pgtable.h | extern inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; } |
pte | 208 | include/asm-alpha/pgtable.h | extern inline int pte_cow(pte_t pte) { return pte_val(pte) & _PAGE_COW; } |
pte | 210 | include/asm-alpha/pgtable.h | extern inline pte_t pte_wrprotect(pte_t pte) { pte_val(pte) |= _PAGE_FOW; return pte; } |
pte | 211 | include/asm-alpha/pgtable.h | extern inline pte_t pte_rdprotect(pte_t pte) { pte_val(pte) |= _PAGE_FOR; return pte; } |
pte | 212 | include/asm-alpha/pgtable.h | extern inline pte_t pte_exprotect(pte_t pte) { pte_val(pte) |= _PAGE_FOE; return pte; } |
pte | 213 | include/asm-alpha/pgtable.h | extern inline pte_t pte_mkclean(pte_t pte) { pte_val(pte) &= ~(__DIRTY_BITS); return pte; } |
pte | 214 | include/asm-alpha/pgtable.h | extern inline pte_t pte_mkold(pte_t pte) { pte_val(pte) &= ~(__ACCESS_BITS); return pte; } |
pte | 215 | include/asm-alpha/pgtable.h | extern inline pte_t pte_uncow(pte_t pte) { pte_val(pte) &= ~_PAGE_COW; return pte; } |
pte | 216 | include/asm-alpha/pgtable.h | extern inline pte_t pte_mkwrite(pte_t pte) { pte_val(pte) &= ~_PAGE_FOW; return pte; } |
pte | 217 | include/asm-alpha/pgtable.h | extern inline pte_t pte_mkread(pte_t pte) { pte_val(pte) &= ~_PAGE_FOR; return pte; } |
pte | 218 | include/asm-alpha/pgtable.h | extern inline pte_t pte_mkexec(pte_t pte) { pte_val(pte) &= ~_PAGE_FOE; return pte; } |
pte | 219 | include/asm-alpha/pgtable.h | extern inline pte_t pte_mkdirty(pte_t pte) { pte_val(pte) |= __DIRTY_BITS; return pte; } |
pte | 220 | include/asm-alpha/pgtable.h | extern inline pte_t pte_mkyoung(pte_t pte) { pte_val(pte) |= __ACCESS_BITS; return pte; } |
pte | 221 | include/asm-alpha/pgtable.h | extern inline pte_t pte_mkcow(pte_t pte) { pte_val(pte) |= _PAGE_COW; return pte; } |
pte | 269 | include/asm-alpha/pgtable.h | extern inline void pte_free_kernel(pte_t * pte) |
pte | 271 | include/asm-alpha/pgtable.h | mem_map[MAP_NR(pte)].reserved = 0; |
pte | 272 | include/asm-alpha/pgtable.h | free_page((unsigned long) pte); |
pte | 329 | include/asm-alpha/pgtable.h | extern inline void pte_free(pte_t * pte) |
pte | 331 | include/asm-alpha/pgtable.h | free_page((unsigned long) pte); |
pte | 402 | include/asm-alpha/pgtable.h | unsigned long address, pte_t pte) |
pte | 411 | 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 | 144 | include/asm-i386/pgtable.h | extern inline int pte_none(pte_t pte) { return !pte_val(pte); } |
pte | 145 | include/asm-i386/pgtable.h | extern inline int pte_present(pte_t pte) { return pte_val(pte) & _PAGE_PRESENT; } |
pte | 180 | include/asm-i386/pgtable.h | extern inline int pte_read(pte_t pte) { return pte_val(pte) & _PAGE_USER; } |
pte | 181 | include/asm-i386/pgtable.h | extern inline int pte_write(pte_t pte) { return pte_val(pte) & _PAGE_RW; } |
pte | 182 | include/asm-i386/pgtable.h | extern inline int pte_exec(pte_t pte) { return pte_val(pte) & _PAGE_USER; } |
pte | 183 | include/asm-i386/pgtable.h | extern inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY; } |
pte | 184 | include/asm-i386/pgtable.h | extern inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; } |
pte | 185 | include/asm-i386/pgtable.h | extern inline int pte_cow(pte_t pte) { return pte_val(pte) & _PAGE_COW; } |
pte | 187 | include/asm-i386/pgtable.h | extern inline pte_t pte_wrprotect(pte_t pte) { pte_val(pte) &= ~_PAGE_RW; return pte; } |
pte | 188 | include/asm-i386/pgtable.h | extern inline pte_t pte_rdprotect(pte_t pte) { pte_val(pte) &= ~_PAGE_USER; return pte; } |
pte | 189 | include/asm-i386/pgtable.h | extern inline pte_t pte_exprotect(pte_t pte) { pte_val(pte) &= ~_PAGE_USER; return pte; } |
pte | 190 | include/asm-i386/pgtable.h | extern inline pte_t pte_mkclean(pte_t pte) { pte_val(pte) &= ~_PAGE_DIRTY; return pte; } |
pte | 191 | include/asm-i386/pgtable.h | extern inline pte_t pte_mkold(pte_t pte) { pte_val(pte) &= ~_PAGE_ACCESSED; return pte; } |
pte | 192 | include/asm-i386/pgtable.h | extern inline pte_t pte_uncow(pte_t pte) { pte_val(pte) &= ~_PAGE_COW; return pte; } |
pte | 193 | include/asm-i386/pgtable.h | extern inline pte_t pte_mkwrite(pte_t pte) { pte_val(pte) |= _PAGE_RW; return pte; } |
pte | 194 | include/asm-i386/pgtable.h | extern inline pte_t pte_mkread(pte_t pte) { pte_val(pte) |= _PAGE_USER; return pte; } |
pte | 195 | include/asm-i386/pgtable.h | extern inline pte_t pte_mkexec(pte_t pte) { pte_val(pte) |= _PAGE_USER; return pte; } |
pte | 196 | include/asm-i386/pgtable.h | extern inline pte_t pte_mkdirty(pte_t pte) { pte_val(pte) |= _PAGE_DIRTY; return pte; } |
pte | 197 | include/asm-i386/pgtable.h | extern inline pte_t pte_mkyoung(pte_t pte) { pte_val(pte) |= _PAGE_ACCESSED; return pte; } |
pte | 198 | include/asm-i386/pgtable.h | extern inline pte_t pte_mkcow(pte_t pte) { pte_val(pte) |= _PAGE_COW; return pte; } |
pte | 205 | include/asm-i386/pgtable.h | { pte_t pte; pte_val(pte) = page | pgprot_val(pgprot); return pte; } |
pte | 207 | include/asm-i386/pgtable.h | extern inline pte_t pte_modify(pte_t pte, pgprot_t newprot) |
pte | 208 | include/asm-i386/pgtable.h | { pte_val(pte) = (pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot); return pte; } |
pte | 210 | include/asm-i386/pgtable.h | extern inline unsigned long pte_page(pte_t pte) |
pte | 211 | include/asm-i386/pgtable.h | { return pte_val(pte) & PAGE_MASK; } |
pte | 239 | include/asm-i386/pgtable.h | extern inline void pte_free_kernel(pte_t * pte) |
pte | 241 | include/asm-i386/pgtable.h | mem_map[MAP_NR(pte)].reserved = 0; |
pte | 242 | include/asm-i386/pgtable.h | free_page((unsigned long) pte); |
pte | 283 | include/asm-i386/pgtable.h | extern inline void pte_free(pte_t * pte) |
pte | 285 | include/asm-i386/pgtable.h | free_page((unsigned long) pte); |
pte | 342 | include/asm-i386/pgtable.h | unsigned long address, pte_t pte) |
pte | 25 | include/asm-mips/page.h | typedef struct { unsigned long pte; } pte_t; |
pte | 29 | include/asm-mips/page.h | #define pte_val(x) ((x).pte) |
pte | 188 | include/asm-mips/page.h | extern inline int pte_none(pte_t pte) { return !pte_val(pte); } |
pte | 189 | include/asm-mips/page.h | extern inline int pte_present(pte_t pte) { return pte_val(pte) & _PAGE_PRESENT; } |
pte | 201 | include/asm-mips/page.h | extern inline int pte_read(pte_t pte) { return pte_val(pte) & _PAGE_USER; } |
pte | 202 | include/asm-mips/page.h | extern inline int pte_write(pte_t pte) { return pte_val(pte) & _PAGE_RW; } |
pte | 203 | include/asm-mips/page.h | extern inline int pte_exec(pte_t pte) { return pte_val(pte) & _PAGE_USER; } |
pte | 204 | include/asm-mips/page.h | extern inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY; } |
pte | 205 | include/asm-mips/page.h | extern inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; } |
pte | 206 | include/asm-mips/page.h | extern inline int pte_cow(pte_t pte) { return pte_val(pte) & _PAGE_COW; } |
pte | 208 | include/asm-mips/page.h | extern inline pte_t pte_wrprotect(pte_t pte) { pte_val(pte) &= ~_PAGE_RW; return pte; } |
pte | 209 | include/asm-mips/page.h | extern inline pte_t pte_rdprotect(pte_t pte) { pte_val(pte) &= ~_PAGE_USER; return pte; } |
pte | 210 | include/asm-mips/page.h | extern inline pte_t pte_exprotect(pte_t pte) { pte_val(pte) &= ~_PAGE_USER; return pte; } |
pte | 211 | include/asm-mips/page.h | extern inline pte_t pte_mkclean(pte_t pte) { pte_val(pte) &= ~_PAGE_DIRTY; return pte; } |
pte | 212 | include/asm-mips/page.h | extern inline pte_t pte_mkold(pte_t pte) { pte_val(pte) &= ~_PAGE_ACCESSED; return pte; } |
pte | 213 | include/asm-mips/page.h | extern inline pte_t pte_uncow(pte_t pte) { pte_val(pte) &= ~_PAGE_COW; return pte; } |
pte | 214 | include/asm-mips/page.h | extern inline pte_t pte_mkwrite(pte_t pte) { pte_val(pte) |= _PAGE_RW; return pte; } |
pte | 215 | include/asm-mips/page.h | extern inline pte_t pte_mkread(pte_t pte) { pte_val(pte) |= _PAGE_USER; return pte; } |
pte | 216 | include/asm-mips/page.h | extern inline pte_t pte_mkexec(pte_t pte) { pte_val(pte) |= _PAGE_USER; return pte; } |
pte | 217 | include/asm-mips/page.h | extern inline pte_t pte_mkdirty(pte_t pte) { pte_val(pte) |= _PAGE_DIRTY; return pte; } |
pte | 218 | include/asm-mips/page.h | extern inline pte_t pte_mkyoung(pte_t pte) { pte_val(pte) |= _PAGE_ACCESSED; return pte; } |
pte | 219 | include/asm-mips/page.h | extern inline pte_t pte_mkcow(pte_t pte) { pte_val(pte) |= _PAGE_COW; return pte; } |
pte | 226 | include/asm-mips/page.h | { pte_t pte; pte_val(pte) = page | pgprot_val(pgprot); return pte; } |
pte | 228 | include/asm-mips/page.h | extern inline pte_t pte_modify(pte_t pte, pgprot_t newprot) |
pte | 229 | include/asm-mips/page.h | { pte_val(pte) = (pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot); return pte; } |
pte | 231 | 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))].count++; |
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 | set_pte(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))].count--; |
pte | 172 | mm/filemap.c | pte_t pte = *ptep; |
pte | 177 | mm/filemap.c | if (!pte_present(pte)) |
pte | 179 | mm/filemap.c | if (!pte_dirty(pte)) |
pte | 181 | mm/filemap.c | set_pte(ptep, pte_mkclean(pte)); |
pte | 182 | mm/filemap.c | page = pte_page(pte); |
pte | 185 | mm/filemap.c | if (pte_none(pte)) |
pte | 189 | mm/filemap.c | if (!pte_present(pte)) { |
pte | 190 | mm/filemap.c | swap_free(pte_val(pte)); |
pte | 193 | mm/filemap.c | page = pte_page(pte); |
pte | 194 | mm/filemap.c | if (!pte_dirty(pte) || flags == MS_INVALIDATE) { |
pte | 208 | mm/filemap.c | pte_t * pte; |
pte | 219 | mm/filemap.c | pte = pte_offset(pmd, address); |
pte | 227 | mm/filemap.c | error |= filemap_sync_pte(pte, vma, address + offset, flags); |
pte | 229 | mm/filemap.c | pte++; |
pte | 87 | mm/memory.c | pte_t * pte; |
pte | 96 | mm/memory.c | pte = pte_offset(dir, 0); |
pte | 98 | mm/memory.c | pte_free(pte); |
pte | 201 | mm/memory.c | pte_t pte = *old_pte; |
pte | 203 | mm/memory.c | if (pte_none(pte)) |
pte | 205 | mm/memory.c | if (!pte_present(pte)) { |
pte | 206 | mm/memory.c | swap_duplicate(pte_val(pte)); |
pte | 207 | mm/memory.c | set_pte(new_pte, pte); |
pte | 210 | mm/memory.c | if (pte_page(pte) > high_memory || mem_map[MAP_NR(pte_page(pte))].reserved) { |
pte | 211 | mm/memory.c | set_pte(new_pte, pte); |
pte | 214 | mm/memory.c | if (pte_cow(pte)) |
pte | 215 | mm/memory.c | pte = pte_wrprotect(pte); |
pte | 216 | mm/memory.c | if (delete_from_swap_cache(pte_page(pte))) |
pte | 217 | mm/memory.c | pte = pte_mkdirty(pte); |
pte | 218 | mm/memory.c | set_pte(new_pte, pte_mkold(pte)); |
pte | 219 | mm/memory.c | set_pte(old_pte, pte); |
pte | 220 | mm/memory.c | mem_map[MAP_NR(pte_page(pte))].count++; |
pte | 330 | mm/memory.c | pte_t * pte; |
pte | 340 | mm/memory.c | pte = pte_offset(pmd, address); |
pte | 346 | mm/memory.c | pte_t page = *pte; |
pte | 347 | mm/memory.c | pte_clear(pte); |
pte | 350 | mm/memory.c | pte++; |
pte | 405 | mm/memory.c | static inline void zeromap_pte_range(pte_t * pte, unsigned long address, unsigned long size, pte_t zero_pte) |
pte | 414 | mm/memory.c | pte_t oldpage = *pte; |
pte | 415 | mm/memory.c | set_pte(pte, zero_pte); |
pte | 418 | mm/memory.c | pte++; |
pte | 431 | mm/memory.c | pte_t * pte = pte_alloc(pmd, address); |
pte | 432 | mm/memory.c | if (!pte) |
pte | 434 | mm/memory.c | zeromap_pte_range(pte, address, end - address, zero_pte); |
pte | 470 | mm/memory.c | static inline void remap_pte_range(pte_t * pte, unsigned long address, unsigned long size, |
pte | 480 | mm/memory.c | pte_t oldpage = *pte; |
pte | 481 | mm/memory.c | pte_clear(pte); |
pte | 483 | mm/memory.c | set_pte(pte, mk_pte(offset, prot)); |
pte | 487 | mm/memory.c | pte++; |
pte | 502 | mm/memory.c | pte_t * pte = pte_alloc(pmd, address); |
pte | 503 | mm/memory.c | if (!pte) |
pte | 505 | mm/memory.c | remap_pte_range(pte, address, end - address, address + offset, prot); |
pte | 538 | mm/memory.c | static void put_page(pte_t * page_table, pte_t pte) |
pte | 542 | mm/memory.c | free_page(pte_page(pte)); |
pte | 546 | mm/memory.c | *page_table = pte; |
pte | 557 | mm/memory.c | pte_t * pte; |
pte | 570 | mm/memory.c | pte = pte_alloc(pmd, address); |
pte | 571 | mm/memory.c | if (!pte) { |
pte | 576 | mm/memory.c | if (!pte_none(*pte)) { |
pte | 578 | mm/memory.c | pte_clear(pte); |
pte | 581 | mm/memory.c | set_pte(pte, pte_mkwrite(pte_mkdirty(mk_pte(page, PAGE_COPY)))); |
pte | 608 | mm/memory.c | pte_t *page_table, pte; |
pte | 623 | mm/memory.c | pte = *page_table; |
pte | 624 | mm/memory.c | if (!pte_present(pte)) |
pte | 626 | mm/memory.c | if (pte_write(pte)) |
pte | 628 | mm/memory.c | old_page = pte_page(pte); |
pte | 651 | mm/memory.c | set_pte(page_table, pte_mkdirty(pte_mkwrite(pte))); |
pte | 941 | mm/memory.c | pte_t *page_table, pte; |
pte | 962 | mm/memory.c | pte = *page_table; |
pte | 963 | mm/memory.c | if (!pte_present(pte)) |
pte | 965 | mm/memory.c | old_page = pte_page(pte); |
pte | 1046 | mm/memory.c | pte_t *pte; |
pte | 1054 | mm/memory.c | pte = pte_alloc(pmd, address); |
pte | 1055 | mm/memory.c | if (!pte) { |
pte | 1059 | mm/memory.c | return pte; |
pte | 1171 | mm/memory.c | int write_access, pte_t * pte) |
pte | 1173 | mm/memory.c | if (!pte_present(*pte)) { |
pte | 1177 | mm/memory.c | set_pte(pte, pte_mkyoung(*pte)); |
pte | 1180 | mm/memory.c | if (pte_write(*pte)) { |
pte | 1181 | mm/memory.c | set_pte(pte, pte_mkdirty(*pte)); |
pte | 1192 | mm/memory.c | pte_t *pte; |
pte | 1198 | mm/memory.c | pte = pte_alloc(pmd, address); |
pte | 1199 | mm/memory.c | if (!pte) |
pte | 1201 | mm/memory.c | handle_pte_fault(vma, address, write_access, pte); |
pte | 1202 | 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 | 906 | mm/swap.c | pte_t pte = *dir; |
pte | 908 | mm/swap.c | if (pte_none(pte)) |
pte | 910 | mm/swap.c | if (pte_present(pte)) { |
pte | 911 | mm/swap.c | unsigned long page = pte_page(pte); |
pte | 919 | mm/swap.c | set_pte(dir, pte_mkdirty(pte)); |
pte | 922 | mm/swap.c | if (SWP_TYPE(pte_val(pte)) != type) |
pte | 924 | mm/swap.c | read_swap_page(pte_val(pte), (char *) page); |
pte | 925 | mm/swap.c | if (pte_val(*dir) != pte_val(pte)) { |
pte | 931 | mm/swap.c | swap_free(pte_val(pte)); |
pte | 939 | mm/swap.c | pte_t * pte; |
pte | 949 | mm/swap.c | pte = pte_offset(dir, address); |
pte | 956 | mm/swap.c | if (unuse_pte(vma, offset+address-vma->vm_start, pte, type, page)) |
pte | 959 | 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); |