tag | line | file | source code |
mem_map | 64 | arch/alpha/mm/init.c | if (mem_map[i].reserved) |
mem_map | 66 | arch/alpha/mm/init.c | else if (!mem_map[i].count) |
mem_map | 69 | arch/alpha/mm/init.c | shared += mem_map[i].count-1; |
mem_map | 123 | arch/alpha/mm/init.c | mem_map[pfn++].reserved = 0; |
mem_map | 154 | arch/alpha/mm/init.c | mem_map[MAP_NR(tmp)].reserved = 1; |
mem_map | 159 | arch/alpha/mm/init.c | if (mem_map[MAP_NR(tmp)].reserved) |
mem_map | 161 | arch/alpha/mm/init.c | mem_map[MAP_NR(tmp)].count = 1; |
mem_map | 179 | arch/alpha/mm/init.c | if (mem_map[i].reserved) |
mem_map | 182 | arch/alpha/mm/init.c | if (!mem_map[i].count) |
mem_map | 184 | arch/alpha/mm/init.c | val->sharedram += mem_map[i].count-1; |
mem_map | 83 | arch/i386/mm/init.c | if (mem_map[i].reserved) |
mem_map | 85 | arch/i386/mm/init.c | else if (!mem_map[i].count) |
mem_map | 88 | arch/i386/mm/init.c | shared += mem_map[i].count-1; |
mem_map | 227 | arch/i386/mm/init.c | mem_map[MAP_NR(start_low_mem)].reserved = 0; |
mem_map | 232 | arch/i386/mm/init.c | mem_map[MAP_NR(start_mem)].reserved = 0; |
mem_map | 236 | arch/i386/mm/init.c | if (mem_map[MAP_NR(tmp)].reserved) { |
mem_map | 245 | arch/i386/mm/init.c | mem_map[MAP_NR(tmp)].count = 1; |
mem_map | 278 | arch/i386/mm/init.c | if (mem_map[i].reserved) |
mem_map | 281 | arch/i386/mm/init.c | if (!mem_map[i].count) |
mem_map | 283 | 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 | 465 | drivers/block/ll_rw_blk.c | if (mem_map[MAP_NR(buffer)].locked) |
mem_map | 467 | drivers/block/ll_rw_blk.c | mem_map[MAP_NR(buffer)].locked = 1; |
mem_map | 616 | fs/buffer.c | if (mem_map[MAP_NR((unsigned long) bh->b_data)].count != 1 || |
mem_map | 664 | fs/buffer.c | if (mem_map[MAP_NR((unsigned long) bh->b_data)].count != 1) |
mem_map | 690 | fs/buffer.c | if (mem_map[MAP_NR((unsigned long) bh->b_data)].count != 1 || |
mem_map | 816 | fs/buffer.c | else if ((mem_map[MAP_NR((unsigned long) buf->b_data)].count > 1) || buffer_protected(buf)) |
mem_map | 1092 | fs/buffer.c | page = mem_map + MAP_NR(address); |
mem_map | 1177 | fs/buffer.c | mem_map[MAP_NR(bh->b_data)].uptodate = 1; |
mem_map | 1193 | fs/buffer.c | page = mem_map + MAP_NR(bh->b_data); |
mem_map | 1374 | fs/buffer.c | return !mem_map[MAP_NR(page)].count; |
mem_map | 1402 | fs/buffer.c | touch_page(mem_map + MAP_NR((unsigned long) bh->b_data)); |
mem_map | 1404 | fs/buffer.c | age_page(mem_map + MAP_NR((unsigned long) bh->b_data)); |
mem_map | 1574 | fs/buffer.c | if(mem_map[MAP_NR(((unsigned long) bh->b_data))].count !=1) shared++; |
mem_map | 1609 | fs/buffer.c | if(mem_map[MAP_NR(page)].count != 1) return 0; |
mem_map | 761 | 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 | 241 | 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 | 245 | include/asm-alpha/pgtable.h | if (!mem_map[MAP_NR(ptep)].reserved) |
mem_map | 246 | include/asm-alpha/pgtable.h | mem_map[MAP_NR(ptep)].count++; |
mem_map | 252 | 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 | 256 | include/asm-alpha/pgtable.h | if (!mem_map[MAP_NR(pmdp)].reserved) |
mem_map | 257 | include/asm-alpha/pgtable.h | mem_map[MAP_NR(pmdp)].count++; |
mem_map | 263 | include/asm-alpha/pgtable.h | extern inline int pgd_inuse(pgd_t *pgdp) { return mem_map[MAP_NR(pgdp)].reserved; } |
mem_map | 335 | include/asm-alpha/pgtable.h | mem_map[MAP_NR(pte)].reserved = 0; |
mem_map | 347 | include/asm-alpha/pgtable.h | mem_map[MAP_NR(page)].reserved = 1; |
mem_map | 365 | include/asm-alpha/pgtable.h | mem_map[MAP_NR(pmd)].reserved = 0; |
mem_map | 377 | include/asm-alpha/pgtable.h | mem_map[MAP_NR(page)].reserved = 1; |
mem_map | 291 | 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 | 295 | include/asm-i386/pgtable.h | if (!mem_map[MAP_NR(ptep)].reserved) |
mem_map | 296 | include/asm-i386/pgtable.h | mem_map[MAP_NR(ptep)].count++; |
mem_map | 318 | include/asm-i386/pgtable.h | extern inline int pgd_inuse(pgd_t * pgdp) { return mem_map[MAP_NR(pgdp)].reserved; } |
mem_map | 383 | include/asm-i386/pgtable.h | mem_map[MAP_NR(pte)].reserved = 0; |
mem_map | 395 | 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 | 140 | include/linux/mm.h | extern mem_map_t * mem_map; |
mem_map | 17 | include/linux/pagemap.h | return PAGE_OFFSET + PAGE_SIZE*(page - mem_map); |
mem_map | 122 | include/linux/swapctl.h | return mem_map[MAP_NR(addr)].age; |
mem_map | 127 | include/linux/swapctl.h | mem_map[MAP_NR(addr)].age = PAGE_INITIAL_AGE; |
mem_map | 36 | include/linux/wrapper.h | #define mem_map_reserve(p) mem_map[p].reserved = 1 |
mem_map | 37 | include/linux/wrapper.h | #define mem_map_unreserve(p) mem_map[p].reserved = 0 |
mem_map | 38 | include/linux/wrapper.h | #define mem_map_inc_count(p) mem_map[p].count++ |
mem_map | 39 | include/linux/wrapper.h | #define mem_map_dec_count(p) mem_map[p].count-- |
mem_map | 667 | ipc/shm.c | mem_map[MAP_NR(pte_page(pte))].count++; |
mem_map | 765 | ipc/shm.c | mem_map[MAP_NR(pte_page(pte))].count--; |
mem_map | 775 | ipc/shm.c | if (mem_map[MAP_NR(pte_page(page))].count != 1) |
mem_map | 165 | kernel/ksyms.c | X(mem_map), |
mem_map | 124 | mm/filemap.c | page = mem_map + clock; |
mem_map | 168 | mm/filemap.c | page = mem_map; |
mem_map | 182 | mm/filemap.c | struct page * p = mem_map + MAP_NR(page); |
mem_map | 254 | mm/filemap.c | page = mem_map + MAP_NR(page_cache); |
mem_map | 395 | mm/filemap.c | page = mem_map + MAP_NR(page_cache); |
mem_map | 454 | mm/filemap.c | page = mem_map + MAP_NR(new_page); |
mem_map | 588 | mm/filemap.c | mem_map[page].count++; |
mem_map | 609 | mm/filemap.c | mem_map[MAP_NR(page)].count++; |
mem_map | 80 | mm/memory.c | mem_map_t * mem_map = NULL; |
mem_map | 204 | mm/memory.c | if (pte_page(pte) > high_memory || mem_map[MAP_NR(pte_page(pte))].reserved) { |
mem_map | 214 | mm/memory.c | mem_map[MAP_NR(pte_page(pte))].count++; |
mem_map | 315 | mm/memory.c | if (addr >= high_memory || mem_map[MAP_NR(addr)].reserved) |
mem_map | 472 | mm/memory.c | if (offset >= high_memory || mem_map[MAP_NR(offset)].reserved) |
mem_map | 552 | mm/memory.c | if (mem_map[MAP_NR(page)].count != 1) |
mem_map | 626 | mm/memory.c | if (mem_map[MAP_NR(old_page)].count != 1) { |
mem_map | 628 | mm/memory.c | if (mem_map[MAP_NR(old_page)].reserved) |
mem_map | 873 | mm/memory.c | if (mem_map[MAP_NR(pte_page(page))].count > 1 && !(vma->vm_flags & VM_SHARED)) |
mem_map | 937 | mm/memory.c | } else if (mem_map[MAP_NR(page)].count > 1 && !(vma->vm_flags & VM_SHARED)) |
mem_map | 97 | mm/page_alloc.c | mem_map_t * map = mem_map + MAP_NR(addr); |
mem_map | 153 | mm/page_alloc.c | } mem_map[MAP_NR((unsigned long) addr)].count = 1; \ |
mem_map | 154 | mm/page_alloc.c | mem_map[MAP_NR((unsigned long) addr)].age = PAGE_INITIAL_AGE; \ |
mem_map | 243 | mm/page_alloc.c | mem_map = (mem_map_t *) start_mem; |
mem_map | 244 | mm/page_alloc.c | p = mem_map + MAP_NR(end_mem); |
mem_map | 246 | mm/page_alloc.c | memset(mem_map, 0, start_mem - (unsigned long) mem_map); |
mem_map | 250 | mm/page_alloc.c | } while (p > mem_map); |
mem_map | 62 | mm/page_io.c | page = mem_map + MAP_NR(buf); |
mem_map | 87 | mm/vmscan.c | page_map = mem_map + MAP_NR(page); |