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 (PageReserved(mem_map+i)) |
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 | 238 | arch/i386/mm/init.c | clear_bit(PG_reserved, &mem_map[MAP_NR(start_low_mem)].flags); |
mem_map | 243 | arch/i386/mm/init.c | clear_bit(PG_reserved, &mem_map[MAP_NR(start_mem)].flags); |
mem_map | 248 | arch/i386/mm/init.c | clear_bit(PG_DMA, &mem_map[MAP_NR(tmp)].flags); |
mem_map | 249 | arch/i386/mm/init.c | if (PageReserved(mem_map+MAP_NR(tmp))) { |
mem_map | 258 | arch/i386/mm/init.c | mem_map[MAP_NR(tmp)].count = 1; |
mem_map | 295 | arch/i386/mm/init.c | if (PageReserved(mem_map+i)) |
mem_map | 298 | arch/i386/mm/init.c | if (!mem_map[i].count) |
mem_map | 300 | 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 | 471 | drivers/block/ll_rw_blk.c | if (set_bit(PG_locked, &mem_map[MAP_NR(buffer)].flags)) |
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 | 1097 | fs/buffer.c | page = mem_map + MAP_NR(address); |
mem_map | 1186 | fs/buffer.c | set_bit(PG_uptodate, &mem_map[MAP_NR(bh->b_data)].flags); |
mem_map | 1202 | fs/buffer.c | page = mem_map + MAP_NR(bh->b_data); |
mem_map | 1330 | fs/buffer.c | mem_map[MAP_NR(page)].buffers = bh; |
mem_map | 1380 | fs/buffer.c | mem_map[MAP_NR(page)].buffers = NULL; |
mem_map | 1382 | fs/buffer.c | return !mem_map[MAP_NR(page)].count; |
mem_map | 1410 | fs/buffer.c | touch_page(mem_map + MAP_NR((unsigned long) bh->b_data)); |
mem_map | 1412 | fs/buffer.c | age_page(mem_map + MAP_NR((unsigned long) bh->b_data)); |
mem_map | 1582 | fs/buffer.c | if (mem_map[MAP_NR(((unsigned long) bh->b_data))].count != 1) |
mem_map | 1619 | fs/buffer.c | if(mem_map[MAP_NR(page)].count != 1) return 0; |
mem_map | 1731 | fs/buffer.c | mem_map[MAP_NR(page)].buffers = bh; |
mem_map | 761 | 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 | 155 | 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) set_bit(PG_reserved, &mem_map[p].flags) |
mem_map | 37 | include/linux/wrapper.h | #define mem_map_unreserve(p) clear_bit(PG_reserved, &mem_map[p].flags) |
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 && !PageDMA(MAP_NR(pte_page(page)) + mem_map)) |
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 | 178 | mm/filemap.c | page = mem_map; |
mem_map | 192 | mm/filemap.c | struct page * p = mem_map + MAP_NR(page); |
mem_map | 274 | mm/filemap.c | page = mem_map + MAP_NR(page_cache); |
mem_map | 563 | mm/filemap.c | page = mem_map + MAP_NR(page_cache); |
mem_map | 614 | mm/filemap.c | page = mem_map + MAP_NR(new_page); |
mem_map | 692 | mm/filemap.c | bh = mem_map[MAP_NR(page)].buffers; |
mem_map | 760 | mm/filemap.c | mem_map[page].count++; |
mem_map | 782 | 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) || PageReserved(mem_map+page_nr)) { |
mem_map | 208 | mm/memory.c | mem_map[page_nr].count++; |
mem_map | 311 | mm/memory.c | if (addr >= high_memory || PageReserved(mem_map+MAP_NR(addr))) |
mem_map | 470 | mm/memory.c | if (offset >= high_memory || PageReserved(mem_map+MAP_NR(offset))) |
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 (PageReserved(mem_map + MAP_NR(old_page))) |
mem_map | 886 | mm/memory.c | if (mem_map[MAP_NR(pte_page(page))].count > 1 && !(vma->vm_flags & VM_SHARED)) |
mem_map | 951 | mm/memory.c | } else if (mem_map[MAP_NR(page)].count > 1 && !(vma->vm_flags & VM_SHARED)) |
mem_map | 97 | mm/page_alloc.c | #define list(x) (mem_map+(x)) |
mem_map | 122 | mm/page_alloc.c | mem_map_t * map = mem_map + map_nr; |
mem_map | 146 | mm/page_alloc.c | unsigned long map_nr = ret - mem_map; \ |
mem_map | 259 | mm/page_alloc.c | mem_map = (mem_map_t *) start_mem; |
mem_map | 260 | mm/page_alloc.c | p = mem_map + MAP_NR(end_mem); |
mem_map | 262 | mm/page_alloc.c | memset(mem_map, 0, start_mem - (unsigned long) mem_map); |
mem_map | 266 | 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); |