tag | line | file | source code |
MAP_NR | 61 | arch/alpha/mm/init.c | i = MAP_NR(high_memory); |
MAP_NR | 154 | arch/alpha/mm/init.c | mem_map[MAP_NR(tmp)].reserved = 1; |
MAP_NR | 159 | arch/alpha/mm/init.c | if (mem_map[MAP_NR(tmp)].reserved) |
MAP_NR | 161 | arch/alpha/mm/init.c | mem_map[MAP_NR(tmp)].count = 1; |
MAP_NR | 173 | arch/alpha/mm/init.c | i = MAP_NR(high_memory); |
MAP_NR | 227 | arch/i386/mm/init.c | mem_map[MAP_NR(start_low_mem)].reserved = 0; |
MAP_NR | 232 | arch/i386/mm/init.c | mem_map[MAP_NR(start_mem)].reserved = 0; |
MAP_NR | 236 | arch/i386/mm/init.c | if (mem_map[MAP_NR(tmp)].reserved) { |
MAP_NR | 245 | arch/i386/mm/init.c | mem_map[MAP_NR(tmp)].count = 1; |
MAP_NR | 253 | arch/mips/mm/init.c | mem_map[MAP_NR(tmp)].reserved = 0; |
MAP_NR | 264 | arch/mips/mm/init.c | if (mem_map[MAP_NR(tmp)].reserved) { |
MAP_NR | 271 | arch/mips/mm/init.c | mem_map[MAP_NR(tmp)].count = 1; |
MAP_NR | 219 | arch/ppc/mm/init.c | mem_map[MAP_NR(start_mem)].reserved = 0; |
MAP_NR | 230 | arch/ppc/mm/init.c | if (mem_map[MAP_NR(tmp)].reserved) |
MAP_NR | 248 | arch/ppc/mm/init.c | mem_map[MAP_NR(tmp)].count = 1; |
MAP_NR | 171 | arch/sparc/kernel/sys_sunos.c | freepages -= MAP_NR(high_memory) >> 4; |
MAP_NR | 69 | arch/sparc/mm/init.c | i = MAP_NR(high_memory); |
MAP_NR | 158 | arch/sparc/mm/init.c | mem_map[MAP_NR(addr)].reserved = 1; |
MAP_NR | 170 | arch/sparc/mm/init.c | mem_map[MAP_NR(addr)].reserved = 0; |
MAP_NR | 174 | arch/sparc/mm/init.c | if(mem_map[MAP_NR(addr)].reserved) { |
MAP_NR | 181 | arch/sparc/mm/init.c | mem_map[MAP_NR(addr)].count = 1; |
MAP_NR | 214 | arch/sparc/mm/init.c | i = MAP_NR(high_memory); |
MAP_NR | 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; } |
MAP_NR | 63 | arch/sparc/mm/srmmu.c | if(!mem_map[MAP_NR(ptep)].reserved) |
MAP_NR | 64 | arch/sparc/mm/srmmu.c | mem_map[MAP_NR(ptep)].count++; |
MAP_NR | 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; } |
MAP_NR | 79 | arch/sparc/mm/srmmu.c | if (!mem_map[MAP_NR(pmdp)].reserved) |
MAP_NR | 80 | arch/sparc/mm/srmmu.c | mem_map[MAP_NR(pmdp)].count++; |
MAP_NR | 90 | arch/sparc/mm/srmmu.c | int srmmu_pgd_inuse(pgd_t *pgdp) { return mem_map[MAP_NR(pgdp)].reserved; } |
MAP_NR | 94 | arch/sparc/mm/srmmu.c | if (!mem_map[MAP_NR(pgdp)].reserved) |
MAP_NR | 95 | arch/sparc/mm/srmmu.c | mem_map[MAP_NR(pgdp)].count++; |
MAP_NR | 218 | arch/sparc/mm/srmmu.c | mem_map[MAP_NR(pte)].reserved = 0; |
MAP_NR | 233 | arch/sparc/mm/srmmu.c | mem_map[MAP_NR(page)].reserved = 1; |
MAP_NR | 253 | arch/sparc/mm/srmmu.c | mem_map[MAP_NR(pmd)].reserved = 0; |
MAP_NR | 268 | arch/sparc/mm/srmmu.c | mem_map[MAP_NR(page)].reserved = 1; |
MAP_NR | 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; } |
MAP_NR | 72 | arch/sparc/mm/sun4c.c | if(!mem_map[MAP_NR(ptep)].reserved) |
MAP_NR | 73 | arch/sparc/mm/sun4c.c | mem_map[MAP_NR(ptep)].count++; |
MAP_NR | 90 | arch/sparc/mm/sun4c.c | int sun4c_pgd_inuse(pgd_t *pgdp) { return mem_map[MAP_NR(pgdp)].reserved; } |
MAP_NR | 377 | arch/sparc/mm/sun4c.c | mem_map[MAP_NR(pte)].reserved = 0; |
MAP_NR | 389 | arch/sparc/mm/sun4c.c | mem_map[MAP_NR(page)].reserved = 1; |
MAP_NR | 465 | drivers/block/ll_rw_blk.c | if (mem_map[MAP_NR(buffer)].locked) |
MAP_NR | 467 | drivers/block/ll_rw_blk.c | mem_map[MAP_NR(buffer)].locked = 1; |
MAP_NR | 50 | drivers/char/mem.c | if (MAP_NR(p) >= MAP_NR(high_memory)) |
MAP_NR | 78 | drivers/char/mem.c | if (MAP_NR(p) >= MAP_NR(high_memory)) |
MAP_NR | 5348 | drivers/scsi/53c7,8xx.c | if (MAP_NR(insn) < 1 || MAP_NR(insn + 8) > MAP_NR(high_memory) || |
MAP_NR | 5350 | drivers/scsi/53c7,8xx.c | MAP_NR(insn + 12) > MAP_NR(high_memory))) { |
MAP_NR | 6335 | drivers/scsi/53c7,8xx.c | return (MAP_NR(addr) < 1 || MAP_NR(addr + size) > MAP_NR(high_memory) ? |
MAP_NR | 690 | drivers/sound/soundcard.c | for (i = MAP_NR (start_addr); i <= MAP_NR (end_addr); i++) |
MAP_NR | 718 | drivers/sound/soundcard.c | for (i = MAP_NR (start_addr); i <= MAP_NR (end_addr); i++) |
MAP_NR | 616 | fs/buffer.c | if (mem_map[MAP_NR((unsigned long) bh->b_data)].count != 1 || |
MAP_NR | 664 | fs/buffer.c | if (mem_map[MAP_NR((unsigned long) bh->b_data)].count != 1) |
MAP_NR | 690 | fs/buffer.c | if (mem_map[MAP_NR((unsigned long) bh->b_data)].count != 1 || |
MAP_NR | 816 | fs/buffer.c | else if ((mem_map[MAP_NR((unsigned long) buf->b_data)].count > 1) || buffer_protected(buf)) |
MAP_NR | 1092 | fs/buffer.c | page = mem_map + MAP_NR(address); |
MAP_NR | 1177 | fs/buffer.c | mem_map[MAP_NR(bh->b_data)].uptodate = 1; |
MAP_NR | 1193 | fs/buffer.c | page = mem_map + MAP_NR(bh->b_data); |
MAP_NR | 1322 | fs/buffer.c | buffer_pages[MAP_NR(page)] = bh; |
MAP_NR | 1372 | fs/buffer.c | buffer_pages[MAP_NR(page)] = NULL; |
MAP_NR | 1374 | fs/buffer.c | return !mem_map[MAP_NR(page)].count; |
MAP_NR | 1402 | fs/buffer.c | touch_page(mem_map + MAP_NR((unsigned long) bh->b_data)); |
MAP_NR | 1404 | fs/buffer.c | age_page(mem_map + MAP_NR((unsigned long) bh->b_data)); |
MAP_NR | 1574 | fs/buffer.c | if(mem_map[MAP_NR(((unsigned long) bh->b_data))].count !=1) shared++; |
MAP_NR | 1609 | fs/buffer.c | if(mem_map[MAP_NR(page)].count != 1) return 0; |
MAP_NR | 1721 | fs/buffer.c | buffer_pages[MAP_NR(page)] = bh; |
MAP_NR | 1775 | fs/buffer.c | long memsize = MAP_NR(high_memory) << PAGE_SHIFT; |
MAP_NR | 1790 | fs/buffer.c | buffer_pages = (struct buffer_head **) vmalloc(MAP_NR(high_memory) * |
MAP_NR | 1792 | fs/buffer.c | for (i = 0 ; i < MAP_NR(high_memory) ; i++) |
MAP_NR | 77 | fs/proc/array.c | dump.u_dsize = MAP_NR(high_memory); |
MAP_NR | 84 | fs/proc/array.c | memsize = MAP_NR(high_memory + PAGE_SIZE) << PAGE_SHIFT; |
MAP_NR | 761 | fs/proc/array.c | if (mem_map[MAP_NR(pte_page(page))].count > 1) |
MAP_NR | 181 | fs/proc/inode.c | inode->i_size = (MAP_NR(high_memory) << PAGE_SHIFT) + PAGE_SIZE; |
MAP_NR | 294 | fs/proc/mem.c | mem_map[MAP_NR(pte_page(*src_table))].count++; |
MAP_NR | 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; } |
MAP_NR | 245 | include/asm-alpha/pgtable.h | if (!mem_map[MAP_NR(ptep)].reserved) |
MAP_NR | 246 | include/asm-alpha/pgtable.h | mem_map[MAP_NR(ptep)].count++; |
MAP_NR | 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; } |
MAP_NR | 256 | include/asm-alpha/pgtable.h | if (!mem_map[MAP_NR(pmdp)].reserved) |
MAP_NR | 257 | include/asm-alpha/pgtable.h | mem_map[MAP_NR(pmdp)].count++; |
MAP_NR | 263 | include/asm-alpha/pgtable.h | extern inline int pgd_inuse(pgd_t *pgdp) { return mem_map[MAP_NR(pgdp)].reserved; } |
MAP_NR | 335 | include/asm-alpha/pgtable.h | mem_map[MAP_NR(pte)].reserved = 0; |
MAP_NR | 347 | include/asm-alpha/pgtable.h | mem_map[MAP_NR(page)].reserved = 1; |
MAP_NR | 365 | include/asm-alpha/pgtable.h | mem_map[MAP_NR(pmd)].reserved = 0; |
MAP_NR | 377 | include/asm-alpha/pgtable.h | mem_map[MAP_NR(page)].reserved = 1; |
MAP_NR | 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; } |
MAP_NR | 295 | include/asm-i386/pgtable.h | if (!mem_map[MAP_NR(ptep)].reserved) |
MAP_NR | 296 | include/asm-i386/pgtable.h | mem_map[MAP_NR(ptep)].count++; |
MAP_NR | 318 | include/asm-i386/pgtable.h | extern inline int pgd_inuse(pgd_t * pgdp) { return mem_map[MAP_NR(pgdp)].reserved; } |
MAP_NR | 383 | include/asm-i386/pgtable.h | mem_map[MAP_NR(pte)].reserved = 0; |
MAP_NR | 395 | include/asm-i386/pgtable.h | mem_map[MAP_NR(page)].reserved = 1; |
MAP_NR | 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; } |
MAP_NR | 230 | include/asm-mips/pgtable.h | if (!mem_map[MAP_NR(ptep)].reserved) |
MAP_NR | 231 | include/asm-mips/pgtable.h | mem_map[MAP_NR(ptep)].count++; |
MAP_NR | 258 | include/asm-mips/pgtable.h | extern inline int pgd_inuse(pgd_t * pgdp) { return mem_map[MAP_NR(pgdp)].reserved; } |
MAP_NR | 371 | include/asm-mips/pgtable.h | mem_map[MAP_NR(pte)].reserved = 0; |
MAP_NR | 385 | include/asm-mips/pgtable.h | mem_map[MAP_NR(page)].reserved = 1; |
MAP_NR | 201 | include/asm-ppc/pgtable.h | extern inline int pte_inuse(pte_t *ptep) { return mem_map[MAP_NR(ptep)].reserved; } |
MAP_NR | 206 | include/asm-ppc/pgtable.h | if (!mem_map[MAP_NR(ptep)].reserved) |
MAP_NR | 207 | include/asm-ppc/pgtable.h | mem_map[MAP_NR(ptep)].count++; |
MAP_NR | 232 | include/asm-ppc/pgtable.h | extern inline int pgd_inuse(pgd_t *pgdp) { return mem_map[MAP_NR(pgdp)].reserved; } |
MAP_NR | 313 | include/asm-ppc/pgtable.h | mem_map[MAP_NR(pte)].reserved = 1; |
MAP_NR | 394 | include/asm-ppc/pgtable.h | mem_map[MAP_NR(page)].reserved = 1; |
MAP_NR | 102 | include/linux/swap.h | return swap_cache[MAP_NR(addr)]; |
MAP_NR | 112 | include/linux/swap.h | entry = xchg(swap_cache + MAP_NR(addr), 0); |
MAP_NR | 127 | include/linux/swap.h | entry= xchg(swap_cache + MAP_NR(addr), 0); |
MAP_NR | 122 | include/linux/swapctl.h | return mem_map[MAP_NR(addr)].age; |
MAP_NR | 127 | include/linux/swapctl.h | mem_map[MAP_NR(addr)].age = PAGE_INITIAL_AGE; |
MAP_NR | 667 | ipc/shm.c | mem_map[MAP_NR(pte_page(pte))].count++; |
MAP_NR | 765 | ipc/shm.c | mem_map[MAP_NR(pte_page(pte))].count--; |
MAP_NR | 775 | ipc/shm.c | if (mem_map[MAP_NR(pte_page(page))].count != 1) |
MAP_NR | 481 | kernel/sys.c | freepages -= MAP_NR(high_memory) >> 4; |
MAP_NR | 120 | mm/filemap.c | limit = MAP_NR(limit); |
MAP_NR | 130 | mm/filemap.c | bh = buffer_pages[MAP_NR(page_address(page))]; |
MAP_NR | 182 | mm/filemap.c | struct page * p = mem_map + MAP_NR(page); |
MAP_NR | 254 | mm/filemap.c | page = mem_map + MAP_NR(page_cache); |
MAP_NR | 395 | mm/filemap.c | page = mem_map + MAP_NR(page_cache); |
MAP_NR | 454 | mm/filemap.c | page = mem_map + MAP_NR(new_page); |
MAP_NR | 508 | mm/filemap.c | bh = buffer_pages[MAP_NR(page)]; |
MAP_NR | 565 | mm/filemap.c | unsigned long entry = SWP_ENTRY(SHM_SWP_TYPE, MAP_NR(page)); |
MAP_NR | 609 | mm/filemap.c | mem_map[MAP_NR(page)].count++; |
MAP_NR | 204 | mm/memory.c | if (pte_page(pte) > high_memory || mem_map[MAP_NR(pte_page(pte))].reserved) { |
MAP_NR | 214 | mm/memory.c | mem_map[MAP_NR(pte_page(pte))].count++; |
MAP_NR | 315 | mm/memory.c | if (addr >= high_memory || mem_map[MAP_NR(addr)].reserved) |
MAP_NR | 472 | mm/memory.c | if (offset >= high_memory || mem_map[MAP_NR(offset)].reserved) |
MAP_NR | 552 | mm/memory.c | if (mem_map[MAP_NR(page)].count != 1) |
MAP_NR | 626 | mm/memory.c | if (mem_map[MAP_NR(old_page)].count != 1) { |
MAP_NR | 628 | mm/memory.c | if (mem_map[MAP_NR(old_page)].reserved) |
MAP_NR | 873 | mm/memory.c | if (mem_map[MAP_NR(pte_page(page))].count > 1 && !(vma->vm_flags & VM_SHARED)) |
MAP_NR | 937 | mm/memory.c | } else if (mem_map[MAP_NR(page)].count > 1 && !(vma->vm_flags & VM_SHARED)) |
MAP_NR | 205 | mm/mlock.c | if (locked > MAP_NR(high_memory)/2) |
MAP_NR | 262 | mm/mlock.c | if (current->mm->total_vm > MAP_NR(high_memory)/2) |
MAP_NR | 60 | mm/page_alloc.c | unsigned long index = MAP_NR(addr) >> (1 + order); |
MAP_NR | 81 | mm/page_alloc.c | bh = buffer_pages[MAP_NR(addr)]; |
MAP_NR | 95 | mm/page_alloc.c | if (MAP_NR(addr) < MAP_NR(high_memory)) { |
MAP_NR | 97 | mm/page_alloc.c | mem_map_t * map = mem_map + MAP_NR(addr); |
MAP_NR | 142 | mm/page_alloc.c | return change_bit(MAP_NR(addr) >> (1+order), free_area_map[order]); |
MAP_NR | 153 | mm/page_alloc.c | } mem_map[MAP_NR((unsigned long) addr)].count = 1; \ |
MAP_NR | 154 | mm/page_alloc.c | mem_map[MAP_NR((unsigned long) addr)].age = PAGE_INITIAL_AGE; \ |
MAP_NR | 244 | mm/page_alloc.c | p = mem_map + MAP_NR(end_mem); |
MAP_NR | 62 | mm/page_io.c | page = mem_map + MAP_NR(buf); |
MAP_NR | 60 | mm/swap_state.c | entry = xchg(swap_cache + MAP_NR(addr), entry); |
MAP_NR | 79 | mm/swap_state.c | swap_cache_size = MAP_NR(mem_end); |
MAP_NR | 283 | mm/vmalloc.c | if (!size || size > (MAP_NR(high_memory) << PAGE_SHIFT)) |
MAP_NR | 82 | mm/vmscan.c | if (MAP_NR(page) >= MAP_NR(high_memory)) |
MAP_NR | 87 | mm/vmscan.c | page_map = mem_map + MAP_NR(page); |