tag | line | file | source code |
mem_map | 63 | arch/alpha/mm/init.c | if (mem_map[i].reserved) |
mem_map | 65 | arch/alpha/mm/init.c | else if (!mem_map[i].count) |
mem_map | 68 | arch/alpha/mm/init.c | shared += mem_map[i].count-1; |
mem_map | 122 | arch/alpha/mm/init.c | mem_map[pfn++].reserved = 0; |
mem_map | 153 | arch/alpha/mm/init.c | mem_map[MAP_NR(tmp)].reserved = 1; |
mem_map | 158 | arch/alpha/mm/init.c | if (mem_map[MAP_NR(tmp)].reserved) |
mem_map | 160 | arch/alpha/mm/init.c | mem_map[MAP_NR(tmp)].count = 1; |
mem_map | 178 | arch/alpha/mm/init.c | if (mem_map[i].reserved) |
mem_map | 181 | arch/alpha/mm/init.c | if (!mem_map[i].count) |
mem_map | 183 | arch/alpha/mm/init.c | val->sharedram += mem_map[i].count-1; |
mem_map | 82 | arch/i386/mm/init.c | if (mem_map[i].reserved) |
mem_map | 84 | arch/i386/mm/init.c | else if (!mem_map[i].count) |
mem_map | 87 | arch/i386/mm/init.c | shared += mem_map[i].count-1; |
mem_map | 226 | arch/i386/mm/init.c | mem_map[MAP_NR(start_low_mem)].reserved = 0; |
mem_map | 231 | arch/i386/mm/init.c | mem_map[MAP_NR(start_mem)].reserved = 0; |
mem_map | 235 | arch/i386/mm/init.c | if (mem_map[MAP_NR(tmp)].reserved) { |
mem_map | 244 | arch/i386/mm/init.c | mem_map[MAP_NR(tmp)].count = 1; |
mem_map | 277 | arch/i386/mm/init.c | if (mem_map[i].reserved) |
mem_map | 280 | arch/i386/mm/init.c | if (!mem_map[i].count) |
mem_map | 282 | arch/i386/mm/init.c | val->sharedram += mem_map[i].count-1; |
mem_map | 209 | arch/mips/mm/init.c | if (mem_map[i].reserved) |
mem_map | 211 | arch/mips/mm/init.c | else if (!mem_map[i].count) |
mem_map | 214 | arch/mips/mm/init.c | shared += mem_map[i].count-1; |
mem_map | 253 | arch/mips/mm/init.c | mem_map[MAP_NR(tmp)].reserved = 0; |
mem_map | 264 | arch/mips/mm/init.c | if (mem_map[MAP_NR(tmp)].reserved) { |
mem_map | 271 | arch/mips/mm/init.c | mem_map[MAP_NR(tmp)].count = 1; |
mem_map | 294 | arch/mips/mm/init.c | if (mem_map[i].reserved) |
mem_map | 297 | arch/mips/mm/init.c | if (!mem_map[i].count) |
mem_map | 299 | arch/mips/mm/init.c | val->sharedram += mem_map[i].count-1; |
mem_map | 136 | arch/ppc/mm/init.c | if (mem_map[i].reserved) |
mem_map | 138 | arch/ppc/mm/init.c | else if (!mem_map[i].count) |
mem_map | 141 | arch/ppc/mm/init.c | shared += mem_map[i].count-1; |
mem_map | 219 | arch/ppc/mm/init.c | mem_map[MAP_NR(start_mem)].reserved = 0; |
mem_map | 230 | arch/ppc/mm/init.c | if (mem_map[MAP_NR(tmp)].reserved) |
mem_map | 248 | arch/ppc/mm/init.c | mem_map[MAP_NR(tmp)].count = 1; |
mem_map | 273 | arch/ppc/mm/init.c | if (mem_map[i] & MAP_PAGE_RESERVED) |
mem_map | 276 | arch/ppc/mm/init.c | if (!mem_map[i]) |
mem_map | 278 | arch/ppc/mm/init.c | val->sharedram += mem_map[i]-1; |
mem_map | 72 | arch/sparc/mm/init.c | if (mem_map[i].reserved) |
mem_map | 74 | arch/sparc/mm/init.c | else if (!mem_map[i].count) |
mem_map | 77 | arch/sparc/mm/init.c | shared += mem_map[i].count-1; |
mem_map | 158 | arch/sparc/mm/init.c | mem_map[MAP_NR(addr)].reserved = 1; |
mem_map | 170 | arch/sparc/mm/init.c | mem_map[MAP_NR(addr)].reserved = 0; |
mem_map | 174 | arch/sparc/mm/init.c | if(mem_map[MAP_NR(addr)].reserved) { |
mem_map | 181 | arch/sparc/mm/init.c | mem_map[MAP_NR(addr)].count = 1; |
mem_map | 220 | arch/sparc/mm/init.c | if (mem_map[i].reserved) |
mem_map | 223 | arch/sparc/mm/init.c | if (!mem_map[i].count) |
mem_map | 225 | arch/sparc/mm/init.c | val->sharedram += mem_map[i].count-1; |
mem_map | 59 | arch/sparc/mm/srmmu.c | int srmmu_pte_inuse(pte_t *ptep) { return mem_map[MAP_NR(ptep)].reserved || mem_map[MAP_NR(ptep)].count != 1; } |
mem_map | 63 | arch/sparc/mm/srmmu.c | if(!mem_map[MAP_NR(ptep)].reserved) |
mem_map | 64 | arch/sparc/mm/srmmu.c | mem_map[MAP_NR(ptep)].count++; |
mem_map | 75 | arch/sparc/mm/srmmu.c | int srmmu_pmd_inuse(pmd_t *pmdp) { return mem_map[MAP_NR(pmdp)].reserved || mem_map[MAP_NR(pmdp)].count != 1; } |
mem_map | 79 | arch/sparc/mm/srmmu.c | if (!mem_map[MAP_NR(pmdp)].reserved) |
mem_map | 80 | arch/sparc/mm/srmmu.c | mem_map[MAP_NR(pmdp)].count++; |
mem_map | 90 | arch/sparc/mm/srmmu.c | int srmmu_pgd_inuse(pgd_t *pgdp) { return mem_map[MAP_NR(pgdp)].reserved; } |
mem_map | 94 | arch/sparc/mm/srmmu.c | if (!mem_map[MAP_NR(pgdp)].reserved) |
mem_map | 95 | arch/sparc/mm/srmmu.c | mem_map[MAP_NR(pgdp)].count++; |
mem_map | 218 | arch/sparc/mm/srmmu.c | mem_map[MAP_NR(pte)].reserved = 0; |
mem_map | 233 | arch/sparc/mm/srmmu.c | mem_map[MAP_NR(page)].reserved = 1; |
mem_map | 253 | arch/sparc/mm/srmmu.c | mem_map[MAP_NR(pmd)].reserved = 0; |
mem_map | 268 | arch/sparc/mm/srmmu.c | mem_map[MAP_NR(page)].reserved = 1; |
mem_map | 68 | arch/sparc/mm/sun4c.c | int sun4c_pte_inuse(pte_t *ptep) { return mem_map[MAP_NR(ptep)].reserved || mem_map[MAP_NR(ptep)].count != 1; } |
mem_map | 72 | arch/sparc/mm/sun4c.c | if(!mem_map[MAP_NR(ptep)].reserved) |
mem_map | 73 | arch/sparc/mm/sun4c.c | mem_map[MAP_NR(ptep)].count++; |
mem_map | 90 | arch/sparc/mm/sun4c.c | int sun4c_pgd_inuse(pgd_t *pgdp) { return mem_map[MAP_NR(pgdp)].reserved; } |
mem_map | 377 | arch/sparc/mm/sun4c.c | mem_map[MAP_NR(pte)].reserved = 0; |
mem_map | 389 | arch/sparc/mm/sun4c.c | mem_map[MAP_NR(page)].reserved = 1; |
mem_map | 614 | drivers/sound/soundcard.c | mem_map[i].reserved = 1; |
mem_map | 638 | drivers/sound/soundcard.c | mem_map[i].reserved = 0; |
mem_map | 606 | fs/buffer.c | if (mem_map[MAP_NR((unsigned long) bh->b_data)].count != 1 || |
mem_map | 654 | fs/buffer.c | if (mem_map[MAP_NR((unsigned long) bh->b_data)].count != 1) |
mem_map | 680 | fs/buffer.c | if (mem_map[MAP_NR((unsigned long) bh->b_data)].count != 1 || |
mem_map | 806 | fs/buffer.c | else if ((mem_map[MAP_NR((unsigned long) buf->b_data)].count > 1) || buffer_protected(buf)) |
mem_map | 1251 | fs/buffer.c | return !mem_map[MAP_NR(page)].count; |
mem_map | 1464 | fs/buffer.c | if(mem_map[MAP_NR(((unsigned long) bh->b_data))].count !=1) shared++; |
mem_map | 1499 | fs/buffer.c | if(mem_map[MAP_NR(page)].count != 1) return 0; |
mem_map | 585 | fs/proc/array.c | if (mem_map[MAP_NR(pte_page(page))].count > 1) |
mem_map | 294 | fs/proc/mem.c | mem_map[MAP_NR(pte_page(*src_table))].count++; |
mem_map | 247 | include/asm-alpha/pgtable.h | extern inline int pte_inuse(pte_t *ptep) { return mem_map[MAP_NR(ptep)].reserved || mem_map[MAP_NR(ptep)].count != 1; } |
mem_map | 251 | include/asm-alpha/pgtable.h | if (!mem_map[MAP_NR(ptep)].reserved) |
mem_map | 252 | include/asm-alpha/pgtable.h | mem_map[MAP_NR(ptep)].count++; |
mem_map | 258 | include/asm-alpha/pgtable.h | extern inline int pmd_inuse(pmd_t *pmdp) { return mem_map[MAP_NR(pmdp)].reserved || mem_map[MAP_NR(pmdp)].count != 1; } |
mem_map | 262 | include/asm-alpha/pgtable.h | if (!mem_map[MAP_NR(pmdp)].reserved) |
mem_map | 263 | include/asm-alpha/pgtable.h | mem_map[MAP_NR(pmdp)].count++; |
mem_map | 269 | include/asm-alpha/pgtable.h | extern inline int pgd_inuse(pgd_t *pgdp) { return mem_map[MAP_NR(pgdp)].reserved; } |
mem_map | 341 | include/asm-alpha/pgtable.h | mem_map[MAP_NR(pte)].reserved = 0; |
mem_map | 353 | include/asm-alpha/pgtable.h | mem_map[MAP_NR(page)].reserved = 1; |
mem_map | 371 | include/asm-alpha/pgtable.h | mem_map[MAP_NR(pmd)].reserved = 0; |
mem_map | 383 | include/asm-alpha/pgtable.h | mem_map[MAP_NR(page)].reserved = 1; |
mem_map | 238 | include/asm-i386/pgtable.h | extern inline int pte_inuse(pte_t *ptep) { return mem_map[MAP_NR(ptep)].reserved || mem_map[MAP_NR(ptep)].count != 1; } |
mem_map | 242 | include/asm-i386/pgtable.h | if (!mem_map[MAP_NR(ptep)].reserved) |
mem_map | 243 | include/asm-i386/pgtable.h | mem_map[MAP_NR(ptep)].count++; |
mem_map | 265 | include/asm-i386/pgtable.h | extern inline int pgd_inuse(pgd_t * pgdp) { return mem_map[MAP_NR(pgdp)].reserved; } |
mem_map | 330 | include/asm-i386/pgtable.h | mem_map[MAP_NR(pte)].reserved = 0; |
mem_map | 342 | include/asm-i386/pgtable.h | mem_map[MAP_NR(page)].reserved = 1; |
mem_map | 226 | include/asm-mips/pgtable.h | extern inline int pte_inuse(pte_t *ptep) { return mem_map[MAP_NR(ptep)].reserved || mem_map[MAP_NR(ptep)].count != 1; } |
mem_map | 230 | include/asm-mips/pgtable.h | if (!mem_map[MAP_NR(ptep)].reserved) |
mem_map | 231 | include/asm-mips/pgtable.h | mem_map[MAP_NR(ptep)].count++; |
mem_map | 258 | include/asm-mips/pgtable.h | extern inline int pgd_inuse(pgd_t * pgdp) { return mem_map[MAP_NR(pgdp)].reserved; } |
mem_map | 371 | include/asm-mips/pgtable.h | mem_map[MAP_NR(pte)].reserved = 0; |
mem_map | 385 | include/asm-mips/pgtable.h | mem_map[MAP_NR(page)].reserved = 1; |
mem_map | 201 | include/asm-ppc/pgtable.h | extern inline int pte_inuse(pte_t *ptep) { return mem_map[MAP_NR(ptep)].reserved; } |
mem_map | 206 | include/asm-ppc/pgtable.h | if (!mem_map[MAP_NR(ptep)].reserved) |
mem_map | 207 | include/asm-ppc/pgtable.h | mem_map[MAP_NR(ptep)].count++; |
mem_map | 232 | include/asm-ppc/pgtable.h | extern inline int pgd_inuse(pgd_t *pgdp) { return mem_map[MAP_NR(pgdp)].reserved; } |
mem_map | 313 | include/asm-ppc/pgtable.h | mem_map[MAP_NR(pte)].reserved = 1; |
mem_map | 394 | include/asm-ppc/pgtable.h | mem_map[MAP_NR(page)].reserved = 1; |
mem_map | 125 | include/linux/mm.h | extern mem_map_t * mem_map; |
mem_map | 12 | include/linux/pagemap.h | return PAGE_OFFSET + PAGE_SIZE*(page - mem_map); |
mem_map | 84 | include/linux/swapctl.h | unsigned char age = mem_map[MAP_NR(addr)].age; |
mem_map | 89 | include/linux/swapctl.h | mem_map[MAP_NR(addr)].age = age; |
mem_map | 94 | include/linux/swapctl.h | unsigned char age = mem_map[MAP_NR(addr)].age; |
mem_map | 99 | include/linux/swapctl.h | mem_map[MAP_NR(addr)].age = age; |
mem_map | 104 | include/linux/swapctl.h | return mem_map[MAP_NR(addr)].age; |
mem_map | 109 | include/linux/swapctl.h | mem_map[MAP_NR(addr)].age = PAGE_INITIAL_AGE; |
mem_map | 666 | ipc/shm.c | mem_map[MAP_NR(pte_page(pte))].count++; |
mem_map | 764 | ipc/shm.c | mem_map[MAP_NR(pte_page(pte))].count--; |
mem_map | 774 | ipc/shm.c | if (mem_map[MAP_NR(pte_page(page))].count != 1) |
mem_map | 224 | kernel/ksyms.c | X(mem_map), |
mem_map | 83 | mm/filemap.c | page = mem_map + clock; |
mem_map | 102 | mm/filemap.c | page = mem_map; |
mem_map | 116 | mm/filemap.c | struct page * p = mem_map + MAP_NR(page); |
mem_map | 167 | mm/filemap.c | page = mem_map + MAP_NR(newpage); |
mem_map | 252 | mm/filemap.c | page = mem_map + MAP_NR(page_cache); |
mem_map | 430 | mm/filemap.c | mem_map[page].count++; |
mem_map | 451 | mm/filemap.c | mem_map[MAP_NR(page)].count++; |
mem_map | 78 | mm/memory.c | mem_map_t * mem_map = NULL; |
mem_map | 203 | mm/memory.c | if (pte_page(pte) > high_memory || mem_map[MAP_NR(pte_page(pte))].reserved) { |
mem_map | 213 | mm/memory.c | mem_map[MAP_NR(pte_page(pte))].count++; |
mem_map | 314 | mm/memory.c | if (addr >= high_memory || mem_map[MAP_NR(addr)].reserved) |
mem_map | 470 | mm/memory.c | if (offset >= high_memory || mem_map[MAP_NR(offset)].reserved) |
mem_map | 549 | mm/memory.c | if (mem_map[MAP_NR(page)].count != 1) |
mem_map | 623 | mm/memory.c | if (mem_map[MAP_NR(old_page)].count != 1) { |
mem_map | 625 | mm/memory.c | if (mem_map[MAP_NR(old_page)].reserved) |
mem_map | 870 | mm/memory.c | if (mem_map[MAP_NR(pte_page(page))].count > 1 && !(vma->vm_flags & VM_SHARED)) |
mem_map | 936 | mm/memory.c | } else if (mem_map[MAP_NR(page)].count > 1 && !(vma->vm_flags & VM_SHARED)) |
mem_map | 433 | mm/swap.c | if (mem_map[MAP_NR(page)].reserved) |
mem_map | 454 | mm/swap.c | if (mem_map[MAP_NR(page)].count != 1) |
mem_map | 468 | mm/swap.c | if (mem_map[MAP_NR(page)].count != 1) { |
mem_map | 774 | mm/swap.c | mem_map_t * map = mem_map + MAP_NR(addr); |
mem_map | 830 | mm/swap.c | } mem_map[MAP_NR((unsigned long) addr)].count = 1; \ |
mem_map | 831 | mm/swap.c | mem_map[MAP_NR((unsigned long) addr)].age = PAGE_INITIAL_AGE; \ |
mem_map | 1323 | mm/swap.c | mem_map = (mem_map_t *) start_mem; |
mem_map | 1324 | mm/swap.c | p = mem_map + MAP_NR(end_mem); |
mem_map | 1326 | mm/swap.c | memset(mem_map, 0, start_mem - (unsigned long) mem_map); |
mem_map | 1330 | mm/swap.c | } while (p > mem_map); |