tag | line | file | source code |
page | 158 | fs/exec.c | static unsigned long copy_strings(int argc,char ** argv,unsigned long *page, |
page | 192 | fs/exec.c | if (!(pag = (char *) page[p/PAGE_SIZE]) && |
page | 193 | fs/exec.c | !(pag = (char *) page[p/PAGE_SIZE] = |
page | 208 | fs/exec.c | static unsigned long change_ldt(unsigned long text_size,unsigned long * page) |
page | 226 | fs/exec.c | if (page[i]) |
page | 227 | fs/exec.c | put_dirty_page(page[i],data_base); |
page | 270 | fs/exec.c | unsigned long page[MAX_ARG_PAGES]; |
page | 281 | fs/exec.c | page[i]=0; |
page | 351 | fs/exec.c | p = copy_strings(envc, envp, page, p, 0); |
page | 352 | fs/exec.c | p = copy_strings(--argc, argv+1, page, p, 0); |
page | 362 | fs/exec.c | p = copy_strings(1, &filename, page, p, 1); |
page | 365 | fs/exec.c | p = copy_strings(1, &i_arg, page, p, 2); |
page | 368 | fs/exec.c | p = copy_strings(1, &i_name, page, p, 2); |
page | 401 | fs/exec.c | p = copy_strings(envc,envp,page,p,0); |
page | 402 | fs/exec.c | p = copy_strings(argc,argv,page,p,0); |
page | 442 | fs/exec.c | p += change_ldt(ex.a_text,page); |
page | 463 | fs/exec.c | free_page(page[i]); |
page | 21 | include/linux/mm.h | extern unsigned long put_dirty_page(unsigned long page,unsigned long address); |
page | 188 | kernel/blk_drv/ll_rw_blk.c | void ll_rw_page(int rw, int dev, int page, char * buffer) |
page | 214 | kernel/blk_drv/ll_rw_blk.c | req->sector = page<<3; |
page | 31 | kernel/chr_drv/mem.c | unsigned long pde, pte, page; |
page | 44 | kernel/chr_drv/mem.c | if (((page = *((unsigned long *) pte)) & 1) == 0) |
page | 50 | kernel/chr_drv/mem.c | page &= 0xfffff000; |
page | 51 | kernel/chr_drv/mem.c | page += addr & 0xfff; |
page | 55 | kernel/chr_drv/mem.c | memcpy_tofs(tmp,(void *) page,i); |
page | 68 | kernel/chr_drv/mem.c | unsigned long pde, pte, page; |
page | 81 | kernel/chr_drv/mem.c | if (((page = *((unsigned long *) pte)) & 1) == 0) |
page | 83 | kernel/chr_drv/mem.c | if ((page & 2) == 0) |
page | 85 | kernel/chr_drv/mem.c | page &= 0xfffff000; |
page | 86 | kernel/chr_drv/mem.c | page += addr & 0xfff; |
page | 90 | kernel/chr_drv/mem.c | memcpy_fromfs((void *) page,tmp,i); |
page | 91 | kernel/ptrace.c | unsigned long page; |
page | 95 | kernel/ptrace.c | page = tsk->tss.cr3 + ((addr >> 20) & 0xffc); |
page | 96 | kernel/ptrace.c | page = *(unsigned long *) page; |
page | 97 | kernel/ptrace.c | if (page & PAGE_PRESENT) { |
page | 98 | kernel/ptrace.c | page &= 0xfffff000; |
page | 99 | kernel/ptrace.c | page += (addr >> 10) & 0xffc; |
page | 100 | kernel/ptrace.c | page = *((unsigned long *) page); |
page | 102 | kernel/ptrace.c | if (!(page & PAGE_PRESENT)) { |
page | 106 | kernel/ptrace.c | page &= 0xfffff000; |
page | 107 | kernel/ptrace.c | page += addr & 0xfff; |
page | 108 | kernel/ptrace.c | return *(unsigned long *) page; |
page | 120 | kernel/ptrace.c | unsigned long page; |
page | 124 | kernel/ptrace.c | page = tsk->tss.cr3 + ((addr >> 20) & 0xffc); |
page | 125 | kernel/ptrace.c | page = *(unsigned long *) page; |
page | 126 | kernel/ptrace.c | if (page & PAGE_PRESENT) { |
page | 127 | kernel/ptrace.c | page &= 0xfffff000; |
page | 128 | kernel/ptrace.c | page += (addr >> 10) & 0xffc; |
page | 129 | kernel/ptrace.c | page = *((unsigned long *) page); |
page | 131 | kernel/ptrace.c | if (!(page & PAGE_PRESENT)) { |
page | 135 | kernel/ptrace.c | if (!(page & PAGE_RW)) { |
page | 139 | kernel/ptrace.c | page &= 0xfffff000; |
page | 140 | kernel/ptrace.c | page += addr & 0xfff; |
page | 141 | kernel/ptrace.c | *(unsigned long *) page = data; |
page | 53 | lib/malloc.c | void *page; |
page | 156 | lib/malloc.c | bdesc->page = bdesc->freeptr = (void *) cp = get_free_page(); |
page | 184 | lib/malloc.c | void *page; |
page | 189 | lib/malloc.c | page = (void *) ((unsigned long) obj & 0xfffff000); |
page | 197 | lib/malloc.c | if (bdesc->page == page) |
page | 225 | lib/malloc.c | free_page((unsigned long) bdesc->page); |
page | 76 | mm/memory.c | unsigned long page; |
page | 97 | mm/memory.c | if (!(page = *pg_table)) |
page | 100 | mm/memory.c | if (1 & page) |
page | 101 | mm/memory.c | free_page(0xfffff000 & page); |
page | 103 | mm/memory.c | swap_free(page >> 1); |
page | 108 | mm/memory.c | for (page = 0; page < CHECK_LAST_NR ; page++) |
page | 109 | mm/memory.c | last_pages[page] = 0; |
page | 195 | mm/memory.c | unsigned long page, page_dir; |
page | 225 | mm/memory.c | if (page = *page_table) { |
page | 228 | mm/memory.c | if (1 & page) |
page | 229 | mm/memory.c | free_page(0xfffff000 & page); |
page | 231 | mm/memory.c | swap_free(page >> 1); |
page | 240 | mm/memory.c | for (page = 0; page < CHECK_LAST_NR ; page++) |
page | 241 | mm/memory.c | last_pages[page] = 0; |
page | 347 | mm/memory.c | static unsigned long put_page(unsigned long page,unsigned long address) |
page | 353 | mm/memory.c | if (page < LOW_MEM || page >= HIGH_MEMORY) { |
page | 354 | mm/memory.c | printk("put_page: trying to put page %p at %p\n",page,address); |
page | 357 | mm/memory.c | if (mem_map[(page-LOW_MEM)>>12] != 1) { |
page | 358 | mm/memory.c | printk("put_page: mem_map disagrees with %p at %p\n",page,address); |
page | 376 | mm/memory.c | *page_table = page | 7; |
page | 378 | mm/memory.c | return page; |
page | 387 | mm/memory.c | unsigned long put_dirty_page(unsigned long page, unsigned long address) |
page | 393 | mm/memory.c | if (page < LOW_MEM || page >= HIGH_MEMORY) |
page | 394 | mm/memory.c | printk("put_dirty_page: trying to put page %p at %p\n",page,address); |
page | 395 | mm/memory.c | if (mem_map[(page-LOW_MEM)>>12] != 1) |
page | 396 | mm/memory.c | printk("mem_map disagrees with %p at %p\n",page,address); |
page | 412 | mm/memory.c | *page_table = page | (PAGE_DIRTY | 7); |
page | 414 | mm/memory.c | return page; |
page | 481 | mm/memory.c | unsigned long page; |
page | 483 | mm/memory.c | if (!( (page = *((unsigned long *) ((address>>20) & 0xffc)) )&1)) |
page | 485 | mm/memory.c | page &= 0xfffff000; |
page | 486 | mm/memory.c | page += ((address>>10) & 0xffc); |
page | 487 | mm/memory.c | if ((3 & *(unsigned long *) page) == 1) /* non-writeable, present */ |
page | 488 | mm/memory.c | un_wp_page((unsigned long *) page); |
page | 596 | mm/memory.c | unsigned long page = 0; |
page | 600 | mm/memory.c | free_page(page); |
page | 607 | mm/memory.c | if (page) { |
page | 608 | mm/memory.c | *p = page | 7; |
page | 611 | mm/memory.c | if (!(page = get_free_page())) |
page | 622 | mm/memory.c | unsigned long page; |
page | 644 | mm/memory.c | page = get_empty((unsigned long *) ((address >> 20) & 0xffc)); |
page | 645 | mm/memory.c | page &= 0xfffff000; |
page | 646 | mm/memory.c | page += (address >> 10) & 0xffc; |
page | 647 | mm/memory.c | tmp = *(unsigned long *) page; |
page | 655 | mm/memory.c | swap_in((unsigned long *) page); |
page | 696 | mm/memory.c | if (!(page = get_free_page())) |
page | 700 | mm/memory.c | bread_page(page,inode->i_dev,nr); |
page | 704 | mm/memory.c | tmp = page + 4096; |
page | 709 | mm/memory.c | if (put_page(page,address)) |
page | 711 | mm/memory.c | free_page(page); |
page | 97 | mm/swap.c | unsigned long page; |
page | 112 | mm/swap.c | if (!(page = get_free_page())) |
page | 114 | mm/swap.c | read_swap_page(swap_nr, (char *) page); |
page | 117 | mm/swap.c | *table_ptr = page | (PAGE_DIRTY | 7); |
page | 122 | mm/swap.c | unsigned long page; |
page | 125 | mm/swap.c | page = *table_ptr; |
page | 126 | mm/swap.c | if (!(PAGE_PRESENT & page)) |
page | 128 | mm/swap.c | if (page - LOW_MEM > PAGING_MEMORY) |
page | 130 | mm/swap.c | if (PAGE_DIRTY & page) { |
page | 131 | mm/swap.c | page &= 0xfffff000; |
page | 132 | mm/swap.c | if (mem_map[MAP_NR(page)] != 1) |
page | 138 | mm/swap.c | write_swap_page(swap_nr, (char *) page); |
page | 139 | mm/swap.c | free_page(page); |
page | 142 | mm/swap.c | page &= 0xfffff000; |
page | 145 | mm/swap.c | free_page(page); |