tag | line | file | source code |
MAP_NR | 60 | arch/alpha/mm/init.c | i = MAP_NR(high_memory); |
MAP_NR | 153 | arch/alpha/mm/init.c | mem_map[MAP_NR(tmp)].reserved = 1; |
MAP_NR | 158 | arch/alpha/mm/init.c | if (mem_map[MAP_NR(tmp)].reserved) |
MAP_NR | 160 | arch/alpha/mm/init.c | mem_map[MAP_NR(tmp)].count = 1; |
MAP_NR | 172 | arch/alpha/mm/init.c | i = MAP_NR(high_memory); |
MAP_NR | 226 | arch/i386/mm/init.c | mem_map[MAP_NR(start_low_mem)].reserved = 0; |
MAP_NR | 231 | arch/i386/mm/init.c | mem_map[MAP_NR(start_mem)].reserved = 0; |
MAP_NR | 235 | arch/i386/mm/init.c | if (mem_map[MAP_NR(tmp)].reserved) { |
MAP_NR | 244 | 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 | 47 | drivers/char/mem.c | if (MAP_NR(p) >= MAP_NR(high_memory)) |
MAP_NR | 75 | drivers/char/mem.c | if (MAP_NR(p) >= MAP_NR(high_memory)) |
MAP_NR | 6336 | drivers/scsi/53c7,8xx.c | return (MAP_NR(addr) < 1 || MAP_NR(addr + size) > MAP_NR(high_memory) ? |
MAP_NR | 612 | drivers/sound/soundcard.c | for (i = MAP_NR (start_addr); i <= MAP_NR (end_addr); i++) |
MAP_NR | 636 | drivers/sound/soundcard.c | for (i = MAP_NR (start_addr); i <= MAP_NR (end_addr); i++) |
MAP_NR | 590 | fs/buffer.c | if (mem_map[MAP_NR((unsigned long) bh->b_data)].count != 1 || |
MAP_NR | 638 | 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 | 790 | fs/buffer.c | else if ((mem_map[MAP_NR((unsigned long) buf->b_data)].count > 1) || buffer_protected(buf)) |
MAP_NR | 1182 | fs/buffer.c | buffer_pages[MAP_NR(page)] = bh; |
MAP_NR | 1233 | fs/buffer.c | buffer_pages[MAP_NR(page)] = NULL; |
MAP_NR | 1235 | fs/buffer.c | return !mem_map[MAP_NR(page)].count; |
MAP_NR | 1448 | fs/buffer.c | if(mem_map[MAP_NR(((unsigned long) bh->b_data))].count !=1) shared++; |
MAP_NR | 1483 | fs/buffer.c | if(mem_map[MAP_NR(page)].count != 1) return 0; |
MAP_NR | 1595 | fs/buffer.c | buffer_pages[MAP_NR(page)] = bh; |
MAP_NR | 1649 | fs/buffer.c | long memsize = MAP_NR(high_memory) << PAGE_SHIFT; |
MAP_NR | 1664 | fs/buffer.c | buffer_pages = (struct buffer_head **) vmalloc(MAP_NR(high_memory) * |
MAP_NR | 1666 | fs/buffer.c | for (i = 0 ; i < MAP_NR(high_memory) ; i++) |
MAP_NR | 76 | fs/proc/array.c | dump.u_dsize = MAP_NR(high_memory); |
MAP_NR | 83 | fs/proc/array.c | memsize = MAP_NR(high_memory + PAGE_SIZE) << PAGE_SHIFT; |
MAP_NR | 585 | fs/proc/array.c | if (mem_map[MAP_NR(pte_page(page))].count > 1) |
MAP_NR | 184 | 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 | 236 | 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 | 240 | include/asm-alpha/pgtable.h | if (!mem_map[MAP_NR(ptep)].reserved) |
MAP_NR | 241 | include/asm-alpha/pgtable.h | mem_map[MAP_NR(ptep)].count++; |
MAP_NR | 247 | 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 | 251 | include/asm-alpha/pgtable.h | if (!mem_map[MAP_NR(pmdp)].reserved) |
MAP_NR | 252 | include/asm-alpha/pgtable.h | mem_map[MAP_NR(pmdp)].count++; |
MAP_NR | 258 | include/asm-alpha/pgtable.h | extern inline int pgd_inuse(pgd_t *pgdp) { return mem_map[MAP_NR(pgdp)].reserved; } |
MAP_NR | 330 | include/asm-alpha/pgtable.h | mem_map[MAP_NR(pte)].reserved = 0; |
MAP_NR | 342 | include/asm-alpha/pgtable.h | mem_map[MAP_NR(page)].reserved = 1; |
MAP_NR | 360 | include/asm-alpha/pgtable.h | mem_map[MAP_NR(pmd)].reserved = 0; |
MAP_NR | 372 | include/asm-alpha/pgtable.h | mem_map[MAP_NR(page)].reserved = 1; |
MAP_NR | 238 | 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 | 242 | include/asm-i386/pgtable.h | if (!mem_map[MAP_NR(ptep)].reserved) |
MAP_NR | 243 | include/asm-i386/pgtable.h | mem_map[MAP_NR(ptep)].count++; |
MAP_NR | 265 | include/asm-i386/pgtable.h | extern inline int pgd_inuse(pgd_t * pgdp) { return mem_map[MAP_NR(pgdp)].reserved; } |
MAP_NR | 330 | include/asm-i386/pgtable.h | mem_map[MAP_NR(pte)].reserved = 0; |
MAP_NR | 342 | 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 | 322 | include/linux/mm.h | return swap_cache[MAP_NR(addr)]; |
MAP_NR | 332 | include/linux/mm.h | entry = xchg(swap_cache + MAP_NR(addr), 0); |
MAP_NR | 347 | include/linux/mm.h | entry= xchg(swap_cache + MAP_NR(addr), 0); |
MAP_NR | 84 | include/linux/swapctl.h | unsigned char age = mem_map[MAP_NR(addr)].age; |
MAP_NR | 89 | include/linux/swapctl.h | mem_map[MAP_NR(addr)].age = age; |
MAP_NR | 94 | include/linux/swapctl.h | unsigned char age = mem_map[MAP_NR(addr)].age; |
MAP_NR | 99 | include/linux/swapctl.h | mem_map[MAP_NR(addr)].age = age; |
MAP_NR | 104 | include/linux/swapctl.h | return mem_map[MAP_NR(addr)].age; |
MAP_NR | 109 | include/linux/swapctl.h | mem_map[MAP_NR(addr)].age = PAGE_INITIAL_AGE; |
MAP_NR | 666 | ipc/shm.c | mem_map[MAP_NR(pte_page(pte))].count++; |
MAP_NR | 764 | ipc/shm.c | mem_map[MAP_NR(pte_page(pte))].count--; |
MAP_NR | 774 | ipc/shm.c | if (mem_map[MAP_NR(pte_page(page))].count != 1) |
MAP_NR | 460 | kernel/sys.c | freepages -= MAP_NR(high_memory) >> 4; |
MAP_NR | 79 | mm/filemap.c | limit = MAP_NR(limit); |
MAP_NR | 116 | mm/filemap.c | struct page * p = mem_map + MAP_NR(page); |
MAP_NR | 168 | mm/filemap.c | page = mem_map + MAP_NR(newpage); |
MAP_NR | 253 | mm/filemap.c | page = mem_map + MAP_NR(page_cache); |
MAP_NR | 351 | mm/filemap.c | bh = buffer_pages[MAP_NR(page)]; |
MAP_NR | 408 | mm/filemap.c | unsigned long entry = SWP_ENTRY(SHM_SWP_TYPE, MAP_NR(page)); |
MAP_NR | 452 | mm/filemap.c | mem_map[MAP_NR(page)].count++; |
MAP_NR | 203 | mm/memory.c | if (pte_page(pte) > high_memory || mem_map[MAP_NR(pte_page(pte))].reserved) { |
MAP_NR | 213 | mm/memory.c | mem_map[MAP_NR(pte_page(pte))].count++; |
MAP_NR | 314 | mm/memory.c | if (addr >= high_memory || mem_map[MAP_NR(addr)].reserved) |
MAP_NR | 470 | mm/memory.c | if (offset >= high_memory || mem_map[MAP_NR(offset)].reserved) |
MAP_NR | 549 | mm/memory.c | if (mem_map[MAP_NR(page)].count != 1) |
MAP_NR | 623 | mm/memory.c | if (mem_map[MAP_NR(old_page)].count != 1) { |
MAP_NR | 625 | mm/memory.c | if (mem_map[MAP_NR(old_page)].reserved) |
MAP_NR | 870 | mm/memory.c | if (mem_map[MAP_NR(pte_page(page))].count > 1 && !(vma->vm_flags & VM_SHARED)) |
MAP_NR | 936 | mm/memory.c | } else if (mem_map[MAP_NR(page)].count > 1 && !(vma->vm_flags & VM_SHARED)) |
MAP_NR | 204 | mm/mlock.c | if (locked > MAP_NR(high_memory)/2) |
MAP_NR | 261 | mm/mlock.c | if (current->mm->total_vm > MAP_NR(high_memory)/2) |
MAP_NR | 112 | mm/swap.c | entry = xchg(swap_cache + MAP_NR(addr), entry); |
MAP_NR | 131 | mm/swap.c | swap_cache_size = MAP_NR(mem_end); |
MAP_NR | 433 | mm/swap.c | if (mem_map[MAP_NR(page)].reserved) |
MAP_NR | 454 | mm/swap.c | if (mem_map[MAP_NR(page)].count != 1) |
MAP_NR | 468 | mm/swap.c | if (mem_map[MAP_NR(page)].count != 1) { |
MAP_NR | 737 | mm/swap.c | unsigned long index = MAP_NR(addr) >> (1 + order); |
MAP_NR | 758 | mm/swap.c | bh = buffer_pages[MAP_NR(addr)]; |
MAP_NR | 772 | mm/swap.c | if (MAP_NR(addr) < MAP_NR(high_memory)) { |
MAP_NR | 774 | mm/swap.c | mem_map_t * map = mem_map + MAP_NR(addr); |
MAP_NR | 819 | mm/swap.c | return change_bit(MAP_NR(addr) >> (1+order), free_area_map[order]); |
MAP_NR | 830 | mm/swap.c | } mem_map[MAP_NR((unsigned long) addr)].count = 1; \ |
MAP_NR | 831 | mm/swap.c | mem_map[MAP_NR((unsigned long) addr)].age = PAGE_INITIAL_AGE; \ |
MAP_NR | 1324 | mm/swap.c | p = mem_map + MAP_NR(end_mem); |
MAP_NR | 283 | mm/vmalloc.c | if (!size || size > (MAP_NR(high_memory) << PAGE_SHIFT)) |