tag | line | file | source code |
mem_map | 65 | arch/alpha/mm/init.c | if (PageReserved(mem_map+i)) |
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 | clear_bit(PG_reserved, &mem_map[pfn++].flags); |
mem_map | 155 | arch/alpha/mm/init.c | set_bit(PG_reserved, &mem_map[MAP_NR(tmp)].flags); |
mem_map | 161 | arch/alpha/mm/init.c | clear_bit(PG_DMA, &mem_map[MAP_NR(tmp)].flags); |
mem_map | 162 | arch/alpha/mm/init.c | if (PageReserved(mem_map+MAP_NR(tmp))) |
mem_map | 164 | arch/alpha/mm/init.c | mem_map[MAP_NR(tmp)].count = 1; |
mem_map | 182 | arch/alpha/mm/init.c | if (PageReserved(mem_map+i)) |
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 | 76 | arch/m68k/mm/init.c | if (PageReserved(mem_map+i)) |
mem_map | 78 | arch/m68k/mm/init.c | else if (!mem_map[i].count) |
mem_map | 80 | arch/m68k/mm/init.c | else if (mem_map[i].count == 1) |
mem_map | 83 | arch/m68k/mm/init.c | shared += mem_map[i].count-1; |
mem_map | 461 | arch/m68k/mm/init.c | clear_bit(PG_reserved, &mem_map[MAP_NR(start_mem)].flags); |
mem_map | 480 | arch/m68k/mm/init.c | set_bit(PG_reserved, &mem_map[MAP_NR(virt0)].flags); |
mem_map | 491 | arch/m68k/mm/init.c | set_bit(PG_reserved, &mem_map[MAP_NR(adr)].flags); |
mem_map | 502 | arch/m68k/mm/init.c | clear_bit(PG_DMA, &mem_map[MAP_NR(tmp)].flags); |
mem_map | 503 | arch/m68k/mm/init.c | if (PageReserved(mem_map+MAP_NR(tmp))) { |
mem_map | 510 | arch/m68k/mm/init.c | mem_map[MAP_NR(tmp)].count = 1; |
mem_map | 535 | arch/m68k/mm/init.c | if (PageReserved(mem_map+i)) |
mem_map | 538 | arch/m68k/mm/init.c | if (!mem_map[i].count) |
mem_map | 540 | arch/m68k/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 | 20 | arch/sparc/mm/generic.c | if (addr >= high_memory || PageReserved(mem_map+MAP_NR(addr))) |
mem_map | 67 | arch/sparc/mm/init.c | if (PageReserved(mem_map + i)) |
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 | 176 | arch/sparc/mm/init.c | mem_map[MAP_NR(addr)].flags &= ~(1<<PG_reserved); |
mem_map | 181 | arch/sparc/mm/init.c | mem_map[MAP_NR(addr)].flags &= ~(1<<PG_reserved); |
mem_map | 202 | arch/sparc/mm/init.c | mem_map[MAP_NR(addr)].flags |= (1<<PG_reserved); |
mem_map | 208 | arch/sparc/mm/init.c | if(PageReserved(mem_map + MAP_NR(addr))) { |
mem_map | 215 | arch/sparc/mm/init.c | mem_map[MAP_NR(addr)].count = 1; |
mem_map | 244 | arch/sparc/mm/init.c | if (PageReserved(mem_map + i)) |
mem_map | 247 | arch/sparc/mm/init.c | if (!mem_map[i].count) |
mem_map | 249 | arch/sparc/mm/init.c | val->sharedram += mem_map[i].count-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 | 814 | fs/buffer.c | else if ((mem_map[MAP_NR((unsigned long) buf->b_data)].count > 1) || buffer_protected(buf)) |
mem_map | 1135 | fs/buffer.c | page = mem_map + MAP_NR(address); |
mem_map | 1233 | fs/buffer.c | set_bit(PG_uptodate, &mem_map[MAP_NR(bh->b_data)].flags); |
mem_map | 1252 | fs/buffer.c | page = mem_map + MAP_NR(bh->b_data); |
mem_map | 1360 | fs/buffer.c | mem_map[MAP_NR(page)].buffers = bh; |
mem_map | 1410 | fs/buffer.c | mem_map[MAP_NR(page)].buffers = NULL; |
mem_map | 1412 | fs/buffer.c | return !mem_map[MAP_NR(page)].count; |
mem_map | 1440 | fs/buffer.c | touch_page(mem_map + MAP_NR((unsigned long) bh->b_data)); |
mem_map | 1442 | fs/buffer.c | age_page(mem_map + MAP_NR((unsigned long) bh->b_data)); |
mem_map | 1612 | fs/buffer.c | if (mem_map[MAP_NR(((unsigned long) bh->b_data))].count != 1) |
mem_map | 1649 | fs/buffer.c | if(mem_map[MAP_NR(page)].count != 1) return 0; |
mem_map | 1761 | fs/buffer.c | mem_map[MAP_NR(page)].buffers = bh; |
mem_map | 763 | 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 | 225 | include/linux/mm.h | extern mem_map_t * 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 | 674 | ipc/shm.c | mem_map[MAP_NR(pte_page(pte))].count++; |
mem_map | 721 | ipc/shm.c | if (dma && !PageDMA(&mem_map[MAP_NR(pte_page(page))])) |
mem_map | 773 | ipc/shm.c | mem_map[MAP_NR(pte_page(pte))].count--; |
mem_map | 783 | ipc/shm.c | if (mem_map[MAP_NR(pte_page(page))].count != 1) |
mem_map | 132 | kernel/ksyms.c | X(mem_map), |
mem_map | 122 | mm/filemap.c | page = mem_map + clock; |
mem_map | 180 | mm/filemap.c | page = mem_map; |
mem_map | 194 | mm/filemap.c | struct page * p = mem_map + MAP_NR(page); |
mem_map | 276 | mm/filemap.c | page = mem_map + MAP_NR(page_cache); |
mem_map | 675 | mm/filemap.c | page = mem_map + MAP_NR(page_cache); |
mem_map | 729 | mm/filemap.c | page = mem_map + MAP_NR(new_page); |
mem_map | 810 | mm/filemap.c | bh = mem_map[MAP_NR(page)].buffers; |
mem_map | 878 | mm/filemap.c | mem_map[page].count++; |
mem_map | 901 | mm/filemap.c | mem_map[MAP_NR(page)].count++; |
mem_map | 71 | mm/memory.c | mem_map_t * mem_map = NULL; |
mem_map | 194 | mm/memory.c | if (page_nr >= MAP_NR(high_memory) || PageReserved(mem_map+page_nr)) { |
mem_map | 204 | mm/memory.c | mem_map[page_nr].count++; |
mem_map | 307 | mm/memory.c | if (addr >= high_memory || PageReserved(mem_map+MAP_NR(addr))) |
mem_map | 466 | mm/memory.c | if (offset >= high_memory || PageReserved(mem_map+MAP_NR(offset))) |
mem_map | 547 | mm/memory.c | if (mem_map[MAP_NR(page)].count != 1) |
mem_map | 622 | mm/memory.c | if (mem_map[MAP_NR(old_page)].count != 1) { |
mem_map | 624 | mm/memory.c | if (PageReserved(mem_map + MAP_NR(old_page))) |
mem_map | 887 | mm/memory.c | if (mem_map[MAP_NR(pte_page(page))].count > 1 && !(vma->vm_flags & VM_SHARED)) |
mem_map | 954 | 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 | 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 | p->map_nr = p - mem_map; |
mem_map | 267 | mm/page_alloc.c | } while (p > mem_map); |
mem_map | 78 | mm/page_io.c | page = mem_map + MAP_NR(buf); |
mem_map | 182 | mm/page_io.c | if (set_bit(PG_locked, &mem_map[MAP_NR(buffer)].flags)) |
mem_map | 85 | mm/vmscan.c | page_map = mem_map + MAP_NR(page); |