tag | line | file | source code |
mem_map | 70 | arch/alpha/mm/init.c | if (mem_map[i].reserved) |
mem_map | 72 | arch/alpha/mm/init.c | else if (!mem_map[i].count) |
mem_map | 75 | arch/alpha/mm/init.c | shared += mem_map[i].count-1; |
mem_map | 129 | arch/alpha/mm/init.c | mem_map[pfn++].reserved = 0; |
mem_map | 160 | arch/alpha/mm/init.c | mem_map[MAP_NR(tmp)].reserved = 1; |
mem_map | 170 | arch/alpha/mm/init.c | if (mem_map[MAP_NR(tmp)].reserved) |
mem_map | 172 | arch/alpha/mm/init.c | mem_map[MAP_NR(tmp)].count = 1; |
mem_map | 190 | arch/alpha/mm/init.c | if (mem_map[i].reserved) |
mem_map | 193 | arch/alpha/mm/init.c | if (!mem_map[i].count) |
mem_map | 195 | 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 | 239 | arch/i386/mm/init.c | if (mem_map[MAP_NR(tmp)].reserved) { |
mem_map | 248 | arch/i386/mm/init.c | mem_map[MAP_NR(tmp)].count = 1; |
mem_map | 281 | arch/i386/mm/init.c | if (mem_map[i].reserved) |
mem_map | 284 | arch/i386/mm/init.c | if (!mem_map[i].count) |
mem_map | 286 | arch/i386/mm/init.c | val->sharedram += mem_map[i].count-1; |
mem_map | 117 | arch/mips/mm/init.c | if (mem_map[i] & MAP_PAGE_RESERVED) |
mem_map | 119 | arch/mips/mm/init.c | else if (!mem_map[i]) |
mem_map | 122 | arch/mips/mm/init.c | shared += mem_map[i]-1; |
mem_map | 194 | arch/mips/mm/init.c | mem_map[MAP_NR(start_mem)] = 0; |
mem_map | 207 | arch/mips/mm/init.c | if (mem_map[MAP_NR(tmp)]) { |
mem_map | 220 | arch/mips/mm/init.c | mem_map[MAP_NR(tmp)] = 1; |
mem_map | 246 | arch/mips/mm/init.c | if (mem_map[i] & MAP_PAGE_RESERVED) |
mem_map | 249 | arch/mips/mm/init.c | if (!mem_map[i]) |
mem_map | 251 | arch/mips/mm/init.c | val->sharedram += mem_map[i]-1; |
mem_map | 91 | arch/sparc/mm/init.c | if (mem_map[i] & MAP_PAGE_RESERVED) |
mem_map | 93 | arch/sparc/mm/init.c | else if (!mem_map[i]) |
mem_map | 96 | arch/sparc/mm/init.c | shared += mem_map[i]-1; |
mem_map | 184 | arch/sparc/mm/init.c | mem_map[MAP_NR(addr)] = MAP_PAGE_RESERVED; |
mem_map | 189 | arch/sparc/mm/init.c | mem_map[MAP_NR(addr)] = 0; |
mem_map | 196 | arch/sparc/mm/init.c | if(mem_map[MAP_NR(addr)]) { |
mem_map | 205 | arch/sparc/mm/init.c | mem_map[MAP_NR(addr)] = 1; |
mem_map | 255 | arch/sparc/mm/init.c | if (mem_map[i] & MAP_PAGE_RESERVED) |
mem_map | 258 | arch/sparc/mm/init.c | if (!mem_map[i]) |
mem_map | 260 | arch/sparc/mm/init.c | val->sharedram += mem_map[i]-1; |
mem_map | 106 | arch/sparc/mm/srmmu.c | int srmmu_pte_inuse(pte_t *ptep) { return mem_map[MAP_NR(ptep)] != 1; } |
mem_map | 110 | arch/sparc/mm/srmmu.c | if(!(mem_map[MAP_NR(ptep)] & MAP_PAGE_RESERVED)) |
mem_map | 111 | arch/sparc/mm/srmmu.c | mem_map[MAP_NR(ptep)]++; |
mem_map | 122 | arch/sparc/mm/srmmu.c | int srmmu_pmd_inuse(pmd_t *pmdp) { return mem_map[MAP_NR(pmdp)] != 1; } |
mem_map | 126 | arch/sparc/mm/srmmu.c | if (!(mem_map[MAP_NR(pmdp)] & MAP_PAGE_RESERVED)) |
mem_map | 127 | arch/sparc/mm/srmmu.c | mem_map[MAP_NR(pmdp)]++; |
mem_map | 137 | arch/sparc/mm/srmmu.c | int srmmu_pgd_inuse(pgd_t *pgdp) { return mem_map[MAP_NR(pgdp)] != 1; } |
mem_map | 141 | arch/sparc/mm/srmmu.c | if (!(mem_map[MAP_NR(pgdp)] & MAP_PAGE_RESERVED)) |
mem_map | 142 | arch/sparc/mm/srmmu.c | mem_map[MAP_NR(pgdp)]++; |
mem_map | 266 | arch/sparc/mm/srmmu.c | mem_map[MAP_NR(pte)] = 1; |
mem_map | 281 | arch/sparc/mm/srmmu.c | mem_map[MAP_NR(page)] = MAP_PAGE_RESERVED; |
mem_map | 301 | arch/sparc/mm/srmmu.c | mem_map[MAP_NR(pmd)] = 1; |
mem_map | 316 | arch/sparc/mm/srmmu.c | mem_map[MAP_NR(page)] = MAP_PAGE_RESERVED; |
mem_map | 349 | arch/sparc/mm/srmmu.c | mem_map[MAP_NR(page)] = MAP_PAGE_RESERVED; |
mem_map | 386 | arch/sparc/mm/srmmu.c | mem_map[MAP_NR(page)] = MAP_PAGE_RESERVED; |
mem_map | 119 | arch/sparc/mm/sun4c.c | int sun4c_pte_inuse(pte_t *ptep) { return mem_map[MAP_NR(ptep)] != 1; } |
mem_map | 123 | arch/sparc/mm/sun4c.c | if(!(mem_map[MAP_NR(ptep)] & MAP_PAGE_RESERVED)) |
mem_map | 124 | arch/sparc/mm/sun4c.c | mem_map[MAP_NR(ptep)]++; |
mem_map | 141 | arch/sparc/mm/sun4c.c | int sun4c_pgd_inuse(pgd_t *pgdp) { return mem_map[MAP_NR(pgdp)] != 1; } |
mem_map | 145 | arch/sparc/mm/sun4c.c | if (!(mem_map[MAP_NR(pgdp)] & MAP_PAGE_RESERVED)) |
mem_map | 146 | arch/sparc/mm/sun4c.c | mem_map[MAP_NR(pgdp)]++; |
mem_map | 235 | arch/sparc/mm/sun4c.c | mem_map[MAP_NR(pte)] = 1; |
mem_map | 260 | arch/sparc/mm/sun4c.c | mem_map[MAP_NR(page)] = MAP_PAGE_RESERVED; |
mem_map | 420 | drivers/scsi/hosts.c | mem_map[MAP_NR(ForbiddenAddress)].reserved = 1; |
mem_map | 615 | drivers/sound/soundcard.c | mem_map[i].reserved = 1; |
mem_map | 639 | drivers/sound/soundcard.c | mem_map[i].reserved = 0; |
mem_map | 580 | fs/buffer.c | if (mem_map[MAP_NR((unsigned long) bh->b_data)].count != 1 || |
mem_map | 628 | fs/buffer.c | if (mem_map[MAP_NR((unsigned long) bh->b_data)].count != 1) |
mem_map | 652 | fs/buffer.c | if (mem_map[MAP_NR((unsigned long) bh->b_data)].count != 1 || |
mem_map | 782 | fs/buffer.c | else if (mem_map[MAP_NR((unsigned long) buf->b_data)].count > 1) |
mem_map | 840 | fs/buffer.c | if (mem_map[MAP_NR(buf->b_data)].count != 1) { |
mem_map | 1083 | fs/buffer.c | mem_map[MAP_NR(page)].count++; |
mem_map | 1141 | fs/buffer.c | mem_map[MAP_NR(address)].count++; |
mem_map | 1346 | fs/buffer.c | return !mem_map[MAP_NR(page)].count; |
mem_map | 1557 | fs/buffer.c | if(mem_map[MAP_NR(((unsigned long) bh->b_data))].count !=1) shared++; |
mem_map | 1591 | fs/buffer.c | if(mem_map[MAP_NR(page)].count != 1) return 0; |
mem_map | 564 | 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 | 174 | 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 | 178 | include/asm-alpha/pgtable.h | if (!mem_map[MAP_NR(ptep)].reserved) |
mem_map | 179 | include/asm-alpha/pgtable.h | mem_map[MAP_NR(ptep)].count++; |
mem_map | 185 | 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 | 189 | include/asm-alpha/pgtable.h | if (!mem_map[MAP_NR(pmdp)].reserved) |
mem_map | 190 | include/asm-alpha/pgtable.h | mem_map[MAP_NR(pmdp)].count++; |
mem_map | 196 | include/asm-alpha/pgtable.h | extern inline int pgd_inuse(pgd_t *pgdp) { return mem_map[MAP_NR(pgdp)].reserved; } |
mem_map | 271 | include/asm-alpha/pgtable.h | mem_map[MAP_NR(pte)].reserved = 0; |
mem_map | 283 | include/asm-alpha/pgtable.h | mem_map[MAP_NR(page)].reserved = 1; |
mem_map | 301 | include/asm-alpha/pgtable.h | mem_map[MAP_NR(pmd)].reserved = 0; |
mem_map | 313 | include/asm-alpha/pgtable.h | mem_map[MAP_NR(page)].reserved = 1; |
mem_map | 146 | 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 | 150 | include/asm-i386/pgtable.h | if (!mem_map[MAP_NR(ptep)].reserved) |
mem_map | 151 | include/asm-i386/pgtable.h | mem_map[MAP_NR(ptep)].count++; |
mem_map | 173 | include/asm-i386/pgtable.h | extern inline int pgd_inuse(pgd_t * pgdp) { return mem_map[MAP_NR(pgdp)].reserved; } |
mem_map | 241 | include/asm-i386/pgtable.h | mem_map[MAP_NR(pte)].reserved = 0; |
mem_map | 253 | include/asm-i386/pgtable.h | mem_map[MAP_NR(page)].reserved = 1; |
mem_map | 110 | include/linux/mm.h | extern mem_map_t * 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 | 665 | 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 | 204 | kernel/ksyms.c | X(mem_map), |
mem_map | 163 | mm/filemap.c | mem_map[page].count++; |
mem_map | 183 | mm/filemap.c | mem_map[MAP_NR(page)].count++; |
mem_map | 66 | mm/memory.c | mem_map_t * mem_map = NULL; |
mem_map | 190 | mm/memory.c | if (pte_page(pte) > high_memory || mem_map[MAP_NR(pte_page(pte))].reserved) { |
mem_map | 200 | mm/memory.c | mem_map[MAP_NR(pte_page(pte))].count++; |
mem_map | 298 | mm/memory.c | if (mem_map[MAP_NR(pte_page(page))].reserved) |
mem_map | 453 | mm/memory.c | if (offset >= high_memory || mem_map[MAP_NR(offset)].reserved) |
mem_map | 532 | mm/memory.c | if (mem_map[MAP_NR(page)].count != 1) |
mem_map | 606 | mm/memory.c | if (mem_map[MAP_NR(old_page)].count != 1) { |
mem_map | 608 | mm/memory.c | if (mem_map[MAP_NR(old_page)].reserved) |
mem_map | 786 | mm/memory.c | if (mem_map[MAP_NR(pte_page(from))].reserved) |
mem_map | 836 | mm/memory.c | mem_map[MAP_NR(pte_page(from))].count++; |
mem_map | 1048 | mm/memory.c | if (mem_map[MAP_NR(pte_page(page))].count > 1 && !(vma->vm_flags & VM_SHARED)) |
mem_map | 1123 | 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 | 482 | mm/swap.c | entry = mem_map[MAP_NR(page)].count; |
mem_map | 775 | mm/swap.c | mem_map_t * map = mem_map + MAP_NR(addr); |
mem_map | 831 | mm/swap.c | } mem_map[MAP_NR((unsigned long) addr)].count = 1; \ |
mem_map | 832 | mm/swap.c | mem_map[MAP_NR((unsigned long) addr)].age = PAGE_INITIAL_AGE; \ |
mem_map | 1324 | mm/swap.c | mem_map = (mem_map_t *) start_mem; |
mem_map | 1325 | mm/swap.c | p = mem_map + MAP_NR(end_mem); |
mem_map | 1327 | mm/swap.c | while (p > mem_map) { |