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 | 343 | fs/proc/array.c | pte_t pte; |
pte | 363 | fs/proc/array.c | pte = *pte_offset(page_middle,ptr); |
pte | 364 | fs/proc/array.c | if (!pte_present(pte)) |
pte | 366 | fs/proc/array.c | return pte_page(pte) + (ptr & ~PAGE_MASK); |
pte | 529 | fs/proc/array.c | pte_t * pte; |
pte | 539 | fs/proc/array.c | pte = pte_offset(pmd, address); |
pte | 545 | fs/proc/array.c | pte_t page = *pte; |
pte | 548 | fs/proc/array.c | pte++; |
pte | 31 | fs/proc/mem.c | pte_t pte; |
pte | 71 | fs/proc/mem.c | pte = *pte_offset(page_middle,addr); |
pte | 72 | fs/proc/mem.c | if (!pte_present(pte)) |
pte | 74 | fs/proc/mem.c | page = (char *) pte_page(pte) + (addr & ~PAGE_MASK); |
pte | 93 | fs/proc/mem.c | pte_t pte; |
pte | 133 | fs/proc/mem.c | pte = *pte_offset(page_middle,addr); |
pte | 134 | fs/proc/mem.c | if (!pte_present(pte)) |
pte | 136 | fs/proc/mem.c | if (!pte_write(pte)) |
pte | 138 | 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 | 141 | include/asm-alpha/pgtable.h | { pte_t pte; pte_val(pte) = ((page-PAGE_OFFSET) << (32-PAGE_SHIFT)) | pgprot_val(pgprot); return pte; } |
pte | 143 | include/asm-alpha/pgtable.h | extern inline pte_t pte_modify(pte_t pte, pgprot_t newprot) |
pte | 144 | include/asm-alpha/pgtable.h | { pte_val(pte) = (pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot); return pte; } |
pte | 152 | include/asm-alpha/pgtable.h | extern inline unsigned long pte_page(pte_t pte) |
pte | 153 | include/asm-alpha/pgtable.h | { return PAGE_OFFSET + ((pte_val(pte) & _PFN_MASK) >> (32-PAGE_SHIFT)); } |
pte | 161 | include/asm-alpha/pgtable.h | extern inline int pte_none(pte_t pte) { return !pte_val(pte); } |
pte | 162 | include/asm-alpha/pgtable.h | extern inline int pte_present(pte_t pte) { return pte_val(pte) & _PAGE_VALID; } |
pte | 197 | include/asm-alpha/pgtable.h | extern inline int pte_read(pte_t pte) { return !(pte_val(pte) & _PAGE_FOR); } |
pte | 198 | include/asm-alpha/pgtable.h | extern inline int pte_write(pte_t pte) { return !(pte_val(pte) & _PAGE_FOW); } |
pte | 199 | include/asm-alpha/pgtable.h | extern inline int pte_exec(pte_t pte) { return !(pte_val(pte) & _PAGE_FOE); } |
pte | 200 | include/asm-alpha/pgtable.h | extern inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY; } |
pte | 201 | include/asm-alpha/pgtable.h | extern inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; } |
pte | 202 | include/asm-alpha/pgtable.h | extern inline int pte_cow(pte_t pte) { return pte_val(pte) & _PAGE_COW; } |
pte | 204 | include/asm-alpha/pgtable.h | extern inline pte_t pte_wrprotect(pte_t pte) { pte_val(pte) |= _PAGE_FOW; return pte; } |
pte | 205 | include/asm-alpha/pgtable.h | extern inline pte_t pte_rdprotect(pte_t pte) { pte_val(pte) |= _PAGE_FOR; return pte; } |
pte | 206 | include/asm-alpha/pgtable.h | extern inline pte_t pte_exprotect(pte_t pte) { pte_val(pte) |= _PAGE_FOE; return pte; } |
pte | 207 | include/asm-alpha/pgtable.h | extern inline pte_t pte_mkclean(pte_t pte) { pte_val(pte) &= ~(__DIRTY_BITS); return pte; } |
pte | 208 | include/asm-alpha/pgtable.h | extern inline pte_t pte_mkold(pte_t pte) { pte_val(pte) &= ~(__ACCESS_BITS); return pte; } |
pte | 209 | include/asm-alpha/pgtable.h | extern inline pte_t pte_uncow(pte_t pte) { pte_val(pte) &= ~_PAGE_COW; return pte; } |
pte | 210 | include/asm-alpha/pgtable.h | extern inline pte_t pte_mkwrite(pte_t pte) { pte_val(pte) &= _PAGE_FOW; return pte; } |
pte | 211 | include/asm-alpha/pgtable.h | extern inline pte_t pte_mkread(pte_t pte) { pte_val(pte) &= _PAGE_FOR; return pte; } |
pte | 212 | include/asm-alpha/pgtable.h | extern inline pte_t pte_mkexec(pte_t pte) { pte_val(pte) &= _PAGE_FOE; return pte; } |
pte | 213 | include/asm-alpha/pgtable.h | extern inline pte_t pte_mkdirty(pte_t pte) { pte_val(pte) |= __DIRTY_BITS; return pte; } |
pte | 214 | include/asm-alpha/pgtable.h | extern inline pte_t pte_mkyoung(pte_t pte) { pte_val(pte) |= __ACCESS_BITS; return pte; } |
pte | 215 | include/asm-alpha/pgtable.h | extern inline pte_t pte_mkcow(pte_t pte) { pte_val(pte) |= _PAGE_COW; return pte; } |
pte | 252 | include/asm-alpha/pgtable.h | extern inline void pte_free_kernel(pte_t * pte) |
pte | 254 | include/asm-alpha/pgtable.h | mem_map[MAP_NR(pte)] = 1; |
pte | 255 | include/asm-alpha/pgtable.h | free_page((unsigned long) pte); |
pte | 312 | include/asm-alpha/pgtable.h | extern inline void pte_free(pte_t * pte) |
pte | 314 | include/asm-alpha/pgtable.h | free_page((unsigned long) pte); |
pte | 385 | include/asm-alpha/pgtable.h | unsigned long address, pte_t 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 | 42 | include/asm-sparc/page.h | typedef struct { unsigned long pte; } pte_t; |
pte | 47 | include/asm-sparc/page.h | #define pte_val(x) ((x).pte) |
pte | 148 | include/asm-sparc/pgtable.h | extern inline int pte_none(pte_t pte) { return !pte_val(pte); } |
pte | 149 | include/asm-sparc/pgtable.h | extern inline int pte_present(pte_t pte) { return pte_val(pte) & _PAGE_VALID; } |
pte | 180 | include/asm-sparc/pgtable.h | extern inline int pte_read(pte_t pte) { return pte_val(pte) & _PAGE_VALID; } |
pte | 181 | include/asm-sparc/pgtable.h | extern inline int pte_write(pte_t pte) { return pte_val(pte) & _PAGE_WRITE; } |
pte | 182 | include/asm-sparc/pgtable.h | extern inline int pte_exec(pte_t pte) { return pte_val(pte) & _PAGE_VALID; } |
pte | 183 | include/asm-sparc/pgtable.h | extern inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_REF; } |
pte | 184 | include/asm-sparc/pgtable.h | extern inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_REF; } |
pte | 185 | include/asm-sparc/pgtable.h | extern inline int pte_cow(pte_t pte) { return pte_val(pte) & _PAGE_COW; } |
pte | 187 | include/asm-sparc/pgtable.h | extern inline pte_t pte_wrprotect(pte_t pte) { pte_val(pte) &= ~_PAGE_WRITE; return pte; } |
pte | 188 | include/asm-sparc/pgtable.h | extern inline pte_t pte_rdprotect(pte_t pte) { pte_val(pte) &= ~_PAGE_VALID; return pte; } |
pte | 189 | include/asm-sparc/pgtable.h | extern inline pte_t pte_exprotect(pte_t pte) { pte_val(pte) &= ~_PAGE_VALID; return pte; } |
pte | 190 | include/asm-sparc/pgtable.h | extern inline pte_t pte_mkclean(pte_t pte) { pte_val(pte) &= ~_PAGE_DIRTY; return pte; } |
pte | 191 | include/asm-sparc/pgtable.h | extern inline pte_t pte_mkold(pte_t pte) { pte_val(pte) &= ~_PAGE_REF; return pte; } |
pte | 192 | include/asm-sparc/pgtable.h | extern inline pte_t pte_uncow(pte_t pte) { pte_val(pte) &= ~_PAGE_COW; return pte; } |
pte | 193 | include/asm-sparc/pgtable.h | extern inline pte_t pte_mkwrite(pte_t pte) { pte_val(pte) |= _PAGE_WRITE; return pte; } |
pte | 194 | include/asm-sparc/pgtable.h | extern inline pte_t pte_mkread(pte_t pte) { pte_val(pte) |= _PAGE_VALID; return pte; } |
pte | 195 | include/asm-sparc/pgtable.h | extern inline pte_t pte_mkexec(pte_t pte) { pte_val(pte) |= _PAGE_VALID; return pte; } |
pte | 196 | include/asm-sparc/pgtable.h | extern inline pte_t pte_mkdirty(pte_t pte) { pte_val(pte) |= _PAGE_DIRTY; return pte; } |
pte | 197 | include/asm-sparc/pgtable.h | extern inline pte_t pte_mkyoung(pte_t pte) { pte_val(pte) |= _PAGE_REF; return pte; } |
pte | 198 | include/asm-sparc/pgtable.h | extern inline pte_t pte_mkcow(pte_t pte) { pte_val(pte) |= _PAGE_COW; return pte; } |
pte | 205 | include/asm-sparc/pgtable.h | { pte_t pte; pte_val(pte) = page | pgprot_val(pgprot); return pte; } |
pte | 207 | include/asm-sparc/pgtable.h | extern inline pte_t pte_modify(pte_t pte, pgprot_t newprot) |
pte | 208 | include/asm-sparc/pgtable.h | { pte_val(pte) = (pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot); return pte; } |
pte | 210 | include/asm-sparc/pgtable.h | extern inline unsigned long pte_page(pte_t pte) { return pte_val(pte) & PAGE_MASK; } |
pte | 247 | include/asm-sparc/pgtable.h | extern inline void pte_free_kernel(pte_t * pte) |
pte | 249 | include/asm-sparc/pgtable.h | mem_map[MAP_NR(pte)] = 1; |
pte | 250 | include/asm-sparc/pgtable.h | free_page((unsigned long) pte); |
pte | 290 | include/asm-sparc/pgtable.h | extern inline void pte_free(pte_t * pte) |
pte | 292 | include/asm-sparc/pgtable.h | free_page((unsigned long) 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 | 599 | ipc/shm.c | pte_t pte; |
pte | 629 | ipc/shm.c | pte_val(pte) = shp->shm_pages[idx]; |
pte | 630 | ipc/shm.c | if (!pte_present(pte)) { |
pte | 636 | ipc/shm.c | pte_val(pte) = shp->shm_pages[idx]; |
pte | 637 | ipc/shm.c | if (pte_present(pte)) { |
pte | 641 | ipc/shm.c | if (!pte_none(pte)) { |
pte | 642 | ipc/shm.c | read_swap_page(pte_val(pte), (char *) page); |
pte | 643 | ipc/shm.c | pte_val(pte) = shp->shm_pages[idx]; |
pte | 644 | ipc/shm.c | if (pte_present(pte)) { |
pte | 648 | ipc/shm.c | swap_free(pte_val(pte)); |
pte | 652 | ipc/shm.c | pte = pte_mkdirty(mk_pte(page, PAGE_SHARED)); |
pte | 653 | ipc/shm.c | shp->shm_pages[idx] = pte_val(pte); |
pte | 659 | ipc/shm.c | mem_map[MAP_NR(pte_page(pte))]++; |
pte | 660 | ipc/shm.c | return pte_modify(pte, shmd->vm_page_prot); |
pte | 720 | ipc/shm.c | pte_t *page_table, pte; |
pte | 745 | ipc/shm.c | pte = *page_table; |
pte | 746 | ipc/shm.c | if (!pte_present(pte)) |
pte | 748 | ipc/shm.c | if (pte_young(pte)) { |
pte | 749 | ipc/shm.c | *page_table = pte_mkold(pte); |
pte | 752 | ipc/shm.c | if (pte_page(pte) != pte_page(page)) |
pte | 755 | ipc/shm.c | mem_map[MAP_NR(pte_page(pte))]--; |
pte | 87 | mm/filemap.c | static inline void filemap_sync_pte(pte_t * pte, struct vm_area_struct *vma, |
pte | 90 | mm/filemap.c | pte_t page = *pte; |
pte | 97 | mm/filemap.c | pte_clear(pte); |
pte | 100 | mm/filemap.c | *pte = pte_mkclean(page); |
pte | 110 | mm/filemap.c | pte_t * pte; |
pte | 120 | mm/filemap.c | pte = pte_offset(pmd, address); |
pte | 127 | mm/filemap.c | filemap_sync_pte(pte, vma, address + offset, flags); |
pte | 129 | mm/filemap.c | pte++; |
pte | 100 | mm/memory.c | pte_t * pte; |
pte | 109 | mm/memory.c | pte = pte_offset(dir, 0); |
pte | 111 | mm/memory.c | if (pte_inuse(pte)) { |
pte | 112 | mm/memory.c | pte_free(pte); |
pte | 116 | mm/memory.c | free_one_pte(pte+j); |
pte | 117 | mm/memory.c | pte_free(pte); |
pte | 232 | mm/memory.c | pte_t pte = *old_pte; |
pte | 234 | mm/memory.c | if (pte_none(pte)) |
pte | 236 | mm/memory.c | if (!pte_present(pte)) { |
pte | 237 | mm/memory.c | swap_duplicate(pte_val(pte)); |
pte | 238 | mm/memory.c | *new_pte = pte; |
pte | 241 | mm/memory.c | if (pte_page(pte) > high_memory || (mem_map[MAP_NR(pte_page(pte))] & MAP_PAGE_RESERVED)) { |
pte | 242 | mm/memory.c | *new_pte = pte; |
pte | 245 | mm/memory.c | if (pte_cow(pte)) |
pte | 246 | mm/memory.c | pte = pte_wrprotect(pte); |
pte | 247 | mm/memory.c | if (delete_from_swap_cache(pte_page(pte))) |
pte | 248 | mm/memory.c | pte = pte_mkdirty(pte); |
pte | 249 | mm/memory.c | *new_pte = pte_mkold(pte); |
pte | 250 | mm/memory.c | *old_pte = pte; |
pte | 251 | mm/memory.c | mem_map[MAP_NR(pte_page(pte))]++; |
pte | 362 | mm/memory.c | pte_t * pte; |
pte | 372 | mm/memory.c | pte = pte_offset(pmd, address); |
pte | 378 | mm/memory.c | pte_t page = *pte; |
pte | 379 | mm/memory.c | pte_clear(pte); |
pte | 382 | mm/memory.c | pte++; |
pte | 429 | mm/memory.c | static inline void zeromap_pte_range(pte_t * pte, unsigned long address, unsigned long size, pte_t zero_pte) |
pte | 438 | mm/memory.c | pte_t oldpage = *pte; |
pte | 439 | mm/memory.c | *pte = zero_pte; |
pte | 442 | mm/memory.c | pte++; |
pte | 455 | mm/memory.c | pte_t * pte = pte_alloc(pmd, address); |
pte | 456 | mm/memory.c | if (!pte) |
pte | 458 | mm/memory.c | zeromap_pte_range(pte, address, end - address, zero_pte); |
pte | 494 | mm/memory.c | static inline void remap_pte_range(pte_t * pte, unsigned long address, unsigned long size, |
pte | 504 | mm/memory.c | pte_t oldpage = *pte; |
pte | 505 | mm/memory.c | pte_clear(pte); |
pte | 507 | mm/memory.c | *pte = mk_pte(offset, prot); |
pte | 510 | mm/memory.c | *pte = mk_pte(offset, prot); |
pte | 515 | mm/memory.c | pte++; |
pte | 530 | mm/memory.c | pte_t * pte = pte_alloc(pmd, address); |
pte | 531 | mm/memory.c | if (!pte) |
pte | 533 | mm/memory.c | remap_pte_range(pte, address, end - address, address + offset, prot); |
pte | 566 | mm/memory.c | static void put_page(pte_t * page_table, pte_t pte) |
pte | 570 | mm/memory.c | free_page(pte_page(pte)); |
pte | 574 | mm/memory.c | *page_table = pte; |
pte | 585 | mm/memory.c | pte_t * pte; |
pte | 598 | mm/memory.c | pte = pte_alloc(pmd, address); |
pte | 599 | mm/memory.c | if (!pte) { |
pte | 604 | mm/memory.c | if (!pte_none(*pte)) { |
pte | 606 | mm/memory.c | pte_clear(pte); |
pte | 609 | mm/memory.c | *pte = pte_mkwrite(pte_mkdirty(mk_pte(page, PAGE_COPY))); |
pte | 636 | mm/memory.c | pte_t *page_table, pte; |
pte | 651 | mm/memory.c | pte = *page_table; |
pte | 652 | mm/memory.c | if (!pte_present(pte)) |
pte | 654 | mm/memory.c | if (pte_write(pte)) |
pte | 656 | mm/memory.c | old_page = pte_page(pte); |
pte | 679 | mm/memory.c | *page_table = pte_mkdirty(pte_mkwrite(pte)); |
pte | 974 | mm/memory.c | pte_t *pte; |
pte | 982 | mm/memory.c | pte = pte_alloc(pmd, address); |
pte | 983 | mm/memory.c | if (!pte) { |
pte | 987 | mm/memory.c | return pte; |
pte | 1098 | mm/memory.c | int write_access, pte_t * pte) |
pte | 1100 | mm/memory.c | if (!pte_present(*pte)) { |
pte | 1104 | mm/memory.c | *pte = pte_mkyoung(*pte); |
pte | 1107 | mm/memory.c | if (pte_write(*pte)) { |
pte | 1108 | mm/memory.c | *pte = pte_mkdirty(*pte); |
pte | 1119 | mm/memory.c | pte_t *pte; |
pte | 1125 | mm/memory.c | pte = pte_alloc(pmd, address); |
pte | 1126 | mm/memory.c | if (!pte) |
pte | 1128 | mm/memory.c | handle_pte_fault(vma, address, write_access, pte); |
pte | 1129 | mm/memory.c | update_mmu_cache(vma, address, *pte); |
pte | 24 | mm/mprotect.c | pte_t * pte; |
pte | 34 | mm/mprotect.c | pte = pte_offset(pmd, address); |
pte | 40 | mm/mprotect.c | pte_t entry = *pte; |
pte | 42 | mm/mprotect.c | *pte = pte_modify(entry, newprot); |
pte | 44 | mm/mprotect.c | pte++; |
pte | 324 | mm/swap.c | pte_t pte; |
pte | 328 | mm/swap.c | pte = *page_table; |
pte | 329 | mm/swap.c | if (!pte_present(pte)) |
pte | 331 | mm/swap.c | page = pte_page(pte); |
pte | 336 | mm/swap.c | if ((pte_dirty(pte) && delete_from_swap_cache(page)) || pte_young(pte)) { |
pte | 337 | mm/swap.c | *page_table = pte_mkold(pte); |
pte | 340 | mm/swap.c | if (pte_dirty(pte)) { |
pte | 359 | mm/swap.c | *page_table = pte_mkdirty(pte); |
pte | 407 | mm/swap.c | pte_t * pte; |
pte | 418 | mm/swap.c | pte = pte_offset(dir, address); |
pte | 427 | mm/swap.c | result = try_to_swap_out(vma, address, pte); |
pte | 431 | mm/swap.c | pte++; |
pte | 836 | mm/swap.c | pte_t pte = *dir; |
pte | 838 | mm/swap.c | if (pte_none(pte)) |
pte | 840 | mm/swap.c | if (pte_present(pte)) { |
pte | 841 | mm/swap.c | unsigned long page = pte_page(pte); |
pte | 849 | mm/swap.c | *dir = pte_mkdirty(pte); |
pte | 852 | mm/swap.c | if (SWP_TYPE(pte_val(pte)) != type) |
pte | 854 | mm/swap.c | read_swap_page(pte_val(pte), (char *) page); |
pte | 855 | mm/swap.c | if (pte_val(*dir) != pte_val(pte)) { |
pte | 861 | mm/swap.c | swap_free(pte_val(pte)); |
pte | 869 | mm/swap.c | pte_t * pte; |
pte | 879 | mm/swap.c | pte = pte_offset(dir, address); |
pte | 886 | mm/swap.c | if (unuse_pte(vma, offset+address-vma->vm_start, pte, type, page)) |
pte | 889 | mm/swap.c | pte++; |
pte | 41 | mm/vmalloc.c | pte_t * pte; |
pte | 51 | mm/vmalloc.c | pte = pte_offset(pmd, address); |
pte | 57 | mm/vmalloc.c | pte_t page = *pte; |
pte | 58 | mm/vmalloc.c | pte_clear(pte); |
pte | 60 | mm/vmalloc.c | pte++; |
pte | 109 | mm/vmalloc.c | static inline int alloc_area_pte(pte_t * pte, unsigned long address, unsigned long size) |
pte | 119 | mm/vmalloc.c | if (!pte_none(*pte)) |
pte | 124 | mm/vmalloc.c | *pte = mk_pte(page, PAGE_KERNEL); |
pte | 126 | mm/vmalloc.c | pte++; |
pte | 140 | mm/vmalloc.c | pte_t * pte = pte_alloc_kernel(pmd, address); |
pte | 141 | mm/vmalloc.c | if (!pte) |
pte | 143 | mm/vmalloc.c | if (alloc_area_pte(pte, address, end - address)) |