tag | line | file | source code |
mem_map | 65 | arch/alpha/mm/init.c | if (mem_map[i].reserved) |
mem_map | 67 | arch/alpha/mm/init.c | else if (!mem_map[i].count) |
mem_map | 70 | arch/alpha/mm/init.c | shared += mem_map[i].count-1; |
mem_map | 124 | arch/alpha/mm/init.c | mem_map[pfn++].reserved = 0; |
mem_map | 155 | arch/alpha/mm/init.c | mem_map[MAP_NR(tmp)].reserved = 1; |
mem_map | 161 | arch/alpha/mm/init.c | mem_map[MAP_NR(tmp)].dma = 0; |
mem_map | 162 | arch/alpha/mm/init.c | if (mem_map[MAP_NR(tmp)].reserved) |
mem_map | 164 | arch/alpha/mm/init.c | mem_map[MAP_NR(tmp)].count = 1; |
mem_map | 182 | arch/alpha/mm/init.c | if (mem_map[i].reserved) |
mem_map | 185 | arch/alpha/mm/init.c | if (!mem_map[i].count) |
mem_map | 187 | arch/alpha/mm/init.c | val->sharedram += mem_map[i].count-1; |
mem_map | 87 | arch/i386/mm/init.c | if (mem_map[i].reserved) |
mem_map | 89 | arch/i386/mm/init.c | else if (!mem_map[i].count) |
mem_map | 92 | arch/i386/mm/init.c | shared += mem_map[i].count-1; |
mem_map | 233 | arch/i386/mm/init.c | mem_map[MAP_NR(start_low_mem)].reserved = 0; |
mem_map | 238 | arch/i386/mm/init.c | mem_map[MAP_NR(start_mem)].reserved = 0; |
mem_map | 243 | arch/i386/mm/init.c | mem_map[MAP_NR(tmp)].dma = 0; |
mem_map | 244 | arch/i386/mm/init.c | if (mem_map[MAP_NR(tmp)].reserved) { |
mem_map | 253 | arch/i386/mm/init.c | mem_map[MAP_NR(tmp)].count = 1; |
mem_map | 290 | arch/i386/mm/init.c | if (mem_map[i].reserved) |
mem_map | 293 | arch/i386/mm/init.c | if (!mem_map[i].count) |
mem_map | 295 | 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 | 67 | arch/sparc/mm/init.c | if (mem_map[i].reserved) |
mem_map | 69 | arch/sparc/mm/init.c | else if (!mem_map[i].count) |
mem_map | 72 | arch/sparc/mm/init.c | shared += mem_map[i].count-1; |
mem_map | 181 | arch/sparc/mm/init.c | mem_map[MAP_NR(addr)].reserved = 1; |
mem_map | 193 | arch/sparc/mm/init.c | mem_map[MAP_NR(addr)].reserved = 0; |
mem_map | 197 | arch/sparc/mm/init.c | if(mem_map[MAP_NR(addr)].reserved) { |
mem_map | 204 | arch/sparc/mm/init.c | mem_map[MAP_NR(addr)].count = 1; |
mem_map | 248 | arch/sparc/mm/init.c | if (mem_map[i].reserved) |
mem_map | 251 | arch/sparc/mm/init.c | if (!mem_map[i].count) |
mem_map | 253 | arch/sparc/mm/init.c | val->sharedram += mem_map[i].count-1; |
mem_map | 132 | arch/sparc/mm/srmmu.c | { return mem_map[MAP_NR(ptep)].reserved || mem_map[MAP_NR(ptep)].count != 1; } |
mem_map | 137 | arch/sparc/mm/srmmu.c | if(!mem_map[MAP_NR(ptep)].reserved) |
mem_map | 138 | arch/sparc/mm/srmmu.c | mem_map[MAP_NR(ptep)].count++; |
mem_map | 149 | arch/sparc/mm/srmmu.c | { return mem_map[MAP_NR(pmdp)].reserved || mem_map[MAP_NR(pmdp)].count != 1; } |
mem_map | 154 | arch/sparc/mm/srmmu.c | if (!mem_map[MAP_NR(pmdp)].reserved) |
mem_map | 155 | arch/sparc/mm/srmmu.c | mem_map[MAP_NR(pmdp)].count++; |
mem_map | 165 | arch/sparc/mm/srmmu.c | static int srmmu_pgd_inuse(pgd_t *pgdp) { return mem_map[MAP_NR(pgdp)].reserved; } |
mem_map | 169 | arch/sparc/mm/srmmu.c | if (!mem_map[MAP_NR(pgdp)].reserved) |
mem_map | 170 | arch/sparc/mm/srmmu.c | mem_map[MAP_NR(pgdp)].count++; |
mem_map | 238 | arch/sparc/mm/srmmu.c | mem_map[MAP_NR(pte)].reserved = 0; |
mem_map | 250 | arch/sparc/mm/srmmu.c | mem_map[MAP_NR(page)].reserved = 1; |
mem_map | 268 | arch/sparc/mm/srmmu.c | mem_map[MAP_NR(pmd)].reserved = 0; |
mem_map | 280 | arch/sparc/mm/srmmu.c | mem_map[MAP_NR(page)].reserved = 1; |
mem_map | 1117 | arch/sparc/mm/sun4c.c | static int sun4c_pte_inuse(pte_t *ptep) { return mem_map[MAP_NR(ptep)].reserved || mem_map[MAP_NR(ptep)].count != 1; } |
mem_map | 1121 | arch/sparc/mm/sun4c.c | if(!mem_map[MAP_NR(ptep)].reserved) |
mem_map | 1122 | arch/sparc/mm/sun4c.c | mem_map[MAP_NR(ptep)].count++; |
mem_map | 1139 | arch/sparc/mm/sun4c.c | static int sun4c_pgd_inuse(pgd_t *pgdp) { return mem_map[MAP_NR(pgdp)].reserved; } |
mem_map | 1215 | arch/sparc/mm/sun4c.c | mem_map[MAP_NR(pte)].reserved = 0; |
mem_map | 1227 | arch/sparc/mm/sun4c.c | mem_map[MAP_NR(page)].reserved = 1; |
mem_map | 464 | drivers/block/ll_rw_blk.c | if (mem_map[MAP_NR(buffer)].locked) |
mem_map | 466 | drivers/block/ll_rw_blk.c | mem_map[MAP_NR(buffer)].locked = 1; |
mem_map | 615 | fs/buffer.c | if (mem_map[MAP_NR((unsigned long) bh->b_data)].count != 1 || |
mem_map | 663 | fs/buffer.c | if (mem_map[MAP_NR((unsigned long) bh->b_data)].count != 1) |
mem_map | 689 | fs/buffer.c | if (mem_map[MAP_NR((unsigned long) bh->b_data)].count != 1 || |
mem_map | 815 | fs/buffer.c | else if ((mem_map[MAP_NR((unsigned long) buf->b_data)].count > 1) || buffer_protected(buf)) |
mem_map | 1095 | fs/buffer.c | page = mem_map + MAP_NR(address); |
mem_map | 1184 | fs/buffer.c | mem_map[MAP_NR(bh->b_data)].uptodate = 1; |
mem_map | 1200 | fs/buffer.c | page = mem_map + MAP_NR(bh->b_data); |
mem_map | 1329 | fs/buffer.c | mem_map[MAP_NR(page)].buffers = bh; |
mem_map | 1379 | fs/buffer.c | mem_map[MAP_NR(page)].buffers = NULL; |
mem_map | 1381 | fs/buffer.c | return !mem_map[MAP_NR(page)].count; |
mem_map | 1409 | fs/buffer.c | touch_page(mem_map + MAP_NR((unsigned long) bh->b_data)); |
mem_map | 1411 | fs/buffer.c | age_page(mem_map + MAP_NR((unsigned long) bh->b_data)); |
mem_map | 1581 | fs/buffer.c | if (mem_map[MAP_NR(((unsigned long) bh->b_data))].count != 1) |
mem_map | 1618 | fs/buffer.c | if(mem_map[MAP_NR(page)].count != 1) return 0; |
mem_map | 1730 | fs/buffer.c | mem_map[MAP_NR(page)].buffers = bh; |
mem_map | 764 | fs/proc/array.c | if (mem_map[MAP_NR(pte_page(page))].count > 1) |
mem_map | 296 | fs/proc/mem.c | mem_map[MAP_NR(pte_page(*src_table))].count++; |
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 | 142 | 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 | 668 | ipc/shm.c | mem_map[MAP_NR(pte_page(pte))].count++; |
mem_map | 715 | ipc/shm.c | if (dma && !mem_map[MAP_NR(pte_page(page))].dma) |
mem_map | 767 | ipc/shm.c | mem_map[MAP_NR(pte_page(pte))].count--; |
mem_map | 777 | ipc/shm.c | if (mem_map[MAP_NR(pte_page(page))].count != 1) |
mem_map | 132 | kernel/ksyms.c | X(mem_map), |
mem_map | 120 | mm/filemap.c | page = mem_map + clock; |
mem_map | 166 | mm/filemap.c | page = mem_map; |
mem_map | 180 | mm/filemap.c | struct page * p = mem_map + MAP_NR(page); |
mem_map | 252 | mm/filemap.c | page = mem_map + MAP_NR(page_cache); |
mem_map | 396 | mm/filemap.c | page = mem_map + MAP_NR(page_cache); |
mem_map | 452 | mm/filemap.c | page = mem_map + MAP_NR(new_page); |
mem_map | 535 | mm/filemap.c | bh = mem_map[MAP_NR(page)].buffers; |
mem_map | 603 | mm/filemap.c | mem_map[page].count++; |
mem_map | 625 | mm/filemap.c | mem_map[MAP_NR(page)].count++; |
mem_map | 71 | mm/memory.c | mem_map_t * mem_map = NULL; |
mem_map | 198 | mm/memory.c | if (page_nr >= MAP_NR(high_memory) || mem_map[page_nr].reserved) { |
mem_map | 208 | mm/memory.c | mem_map[page_nr].count++; |
mem_map | 311 | 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 | 551 | mm/memory.c | if (mem_map[MAP_NR(page)].count != 1) |
mem_map | 625 | mm/memory.c | if (mem_map[MAP_NR(old_page)].count != 1) { |
mem_map | 627 | mm/memory.c | if (mem_map[MAP_NR(old_page)].reserved) |
mem_map | 884 | mm/memory.c | if (mem_map[MAP_NR(pte_page(page))].count > 1 && !(vma->vm_flags & VM_SHARED)) |
mem_map | 949 | mm/memory.c | } else if (mem_map[MAP_NR(page)].count > 1 && !(vma->vm_flags & VM_SHARED)) |
mem_map | 93 | mm/page_alloc.c | #define list(x) (mem_map+(x)) |
mem_map | 131 | mm/page_alloc.c | mem_map_t * map = mem_map + map_nr; |
mem_map | 166 | mm/page_alloc.c | unsigned long map_nr = ret - mem_map; \ |
mem_map | 279 | mm/page_alloc.c | mem_map = (mem_map_t *) start_mem; |
mem_map | 280 | mm/page_alloc.c | p = mem_map + MAP_NR(end_mem); |
mem_map | 282 | mm/page_alloc.c | memset(mem_map, 0, start_mem - (unsigned long) mem_map); |
mem_map | 287 | mm/page_alloc.c | } while (p > mem_map); |
mem_map | 62 | mm/page_io.c | page = mem_map + MAP_NR(buf); |
mem_map | 85 | mm/vmscan.c | page_map = mem_map + MAP_NR(page); |