tag | line | file | source code |
page | 302 | drivers/block/ll_rw_blk.c | void ll_rw_page(int rw, int dev, int page, char * buffer) |
page | 309 | drivers/block/ll_rw_blk.c | printk("Trying to read nonexistent block-device %04x (%d)\n",dev,page*8); |
page | 324 | drivers/block/ll_rw_blk.c | req->sector = page<<3; |
page | 1687 | drivers/scsi/scsi.c | int page, sector, nbits, mask; |
page | 1696 | drivers/scsi/scsi.c | page = offset >> 13; |
page | 1707 | drivers/scsi/scsi.c | if(dma_malloc_freelist[page] & (mask << sector) != (mask<<sector)) |
page | 1711 | drivers/scsi/scsi.c | dma_malloc_freelist[page] &= ~(mask << sector); |
page | 1600 | drivers/scsi/seagate.c | unsigned char buf[256 + sizeof(int) * 2], cmd[6], *data, *page; |
page | 1638 | drivers/scsi/seagate.c | page = data + 4 + data[3]; |
page | 1639 | drivers/scsi/seagate.c | heads = (int) page[5]; |
page | 1640 | drivers/scsi/seagate.c | cylinders = (page[2] << 16) | (page[3] << 8) | page[4]; |
page | 1646 | drivers/scsi/seagate.c | page = data + 4 + data[3]; |
page | 1647 | drivers/scsi/seagate.c | sectors = (page[10] << 8) | page[11]; |
page | 928 | fs/buffer.c | static struct buffer_head * create_buffers(unsigned long page, unsigned long size) |
page | 941 | fs/buffer.c | bh->b_data = (char *) (page+offset); |
page | 982 | fs/buffer.c | unsigned long page; |
page | 987 | fs/buffer.c | page = (unsigned long) first->b_data; |
page | 988 | fs/buffer.c | if (page & ~PAGE_MASK) { |
page | 992 | fs/buffer.c | mem_map[MAP_NR(page)]++; |
page | 1003 | fs/buffer.c | if (page+offset != (unsigned long) first->b_data) |
page | 1011 | fs/buffer.c | return page; |
page | 1015 | fs/buffer.c | free_page(page); |
page | 1151 | fs/buffer.c | unsigned long page; |
page | 1163 | fs/buffer.c | if (!(page = __get_free_page(pri))) |
page | 1165 | fs/buffer.c | bh = create_buffers(page, size); |
page | 1167 | fs/buffer.c | free_page(page); |
page | 1193 | fs/buffer.c | buffer_pages[page >> PAGE_SHIFT] = bh; |
page | 1206 | fs/buffer.c | unsigned long page; |
page | 1211 | fs/buffer.c | page = (unsigned long) bh->b_data; |
page | 1212 | fs/buffer.c | page &= PAGE_MASK; |
page | 1237 | fs/buffer.c | buffer_pages[page >> PAGE_SHIFT] = NULL; |
page | 1238 | fs/buffer.c | free_page(page); |
page | 1239 | fs/buffer.c | return !mem_map[MAP_NR(page)]; |
page | 1421 | fs/buffer.c | unsigned long page; |
page | 1425 | fs/buffer.c | page = (unsigned long) bh->b_data; |
page | 1426 | fs/buffer.c | page &= PAGE_MASK; |
page | 1427 | fs/buffer.c | if(mem_map[MAP_NR(page)] != 1) return 0; |
page | 1503 | fs/buffer.c | unsigned long page; |
page | 1506 | fs/buffer.c | page = get_free_page(GFP_NOBUFFER); |
page | 1507 | fs/buffer.c | if(!page) return 0; |
page | 1509 | fs/buffer.c | bh = create_buffers(page, size); |
page | 1511 | fs/buffer.c | free_page(page); |
page | 1541 | fs/buffer.c | buffer_pages[page >> PAGE_SHIFT] = bh; |
page | 1551 | fs/buffer.c | free_page(page); |
page | 31 | fs/devices.c | int get_device_list(char * page) |
page | 36 | fs/devices.c | len = sprintf(page, "Character devices:\n"); |
page | 39 | fs/devices.c | len += sprintf(page+len, "%2d %s\n", i, chrdevs[i].name); |
page | 42 | fs/devices.c | len += sprintf(page+len, "\nBlock devices:\n"); |
page | 45 | fs/devices.c | len += sprintf(page+len, "%2d %s\n", i, blkdevs[i].name); |
page | 390 | fs/exec.c | unsigned long copy_strings(int argc,char ** argv,unsigned long *page, |
page | 424 | fs/exec.c | if (!(pag = (char *) page[p/PAGE_SIZE]) && |
page | 425 | fs/exec.c | !(pag = (char *) page[p/PAGE_SIZE] = |
page | 440 | fs/exec.c | unsigned long change_ldt(unsigned long text_size,unsigned long * page) |
page | 452 | fs/exec.c | if (page[i]) { |
page | 454 | fs/exec.c | put_dirty_page(current,page[i],data_base); |
page | 597 | fs/exec.c | bprm.page[i] = 0; |
page | 689 | fs/exec.c | bprm.p = copy_strings(bprm.envc, envp, bprm.page, bprm.p, 0); |
page | 690 | fs/exec.c | bprm.p = copy_strings(--bprm.argc, argv+1, bprm.page, bprm.p, 0); |
page | 700 | fs/exec.c | bprm.p = copy_strings(1, &bprm.filename, bprm.page, bprm.p, 2); |
page | 703 | fs/exec.c | bprm.p = copy_strings(1, &i_arg, bprm.page, bprm.p, 2); |
page | 706 | fs/exec.c | bprm.p = copy_strings(1, &i_name, bprm.page, bprm.p, 2); |
page | 723 | fs/exec.c | bprm.p = copy_strings(bprm.envc,envp,bprm.page,bprm.p,0); |
page | 724 | fs/exec.c | bprm.p = copy_strings(bprm.argc,argv,bprm.page,bprm.p,0); |
page | 749 | fs/exec.c | free_page(bprm.page[i]); |
page | 888 | fs/exec.c | p += change_ldt(ex.a_text,bprm->page); |
page | 15 | fs/fifo.c | unsigned long page; |
page | 102 | fs/fifo.c | page = __get_free_page(GFP_KERNEL); |
page | 104 | fs/fifo.c | free_page(page); |
page | 107 | fs/fifo.c | if (!page) |
page | 111 | fs/fifo.c | PIPE_BASE(*inode) = (char *) page; |
page | 324 | fs/inode.c | unsigned long page = (unsigned long) PIPE_BASE(*inode); |
page | 326 | fs/inode.c | free_page(page); |
page | 32 | fs/namei.c | unsigned long i, page; |
page | 47 | fs/namei.c | if(!(page = __get_free_page(GFP_KERNEL))) |
page | 49 | fs/namei.c | *result = tmp = (char *) page; |
page | 58 | fs/namei.c | free_page(page); |
page | 30 | fs/nfs/mmap.c | unsigned long address, unsigned long page, int no_share) |
page | 57 | fs/nfs/mmap.c | pos, hunk, (char *) (page + i), &fattr); |
page | 71 | fs/nfs/mmap.c | tmp = page + PAGE_SIZE; |
page | 75 | fs/nfs/mmap.c | return page; |
page | 183 | fs/proc/array.c | unsigned long page; |
page | 187 | fs/proc/array.c | page = *PAGE_DIR_OFFSET((*p)->tss.cr3,ptr); |
page | 188 | fs/proc/array.c | if (!(page & PAGE_PRESENT)) |
page | 190 | fs/proc/array.c | page &= PAGE_MASK; |
page | 191 | fs/proc/array.c | page += PAGE_PTR(ptr); |
page | 192 | fs/proc/array.c | page = *(unsigned long *) page; |
page | 193 | fs/proc/array.c | if (!(page & PAGE_PRESENT)) |
page | 195 | fs/proc/array.c | page &= PAGE_MASK; |
page | 196 | fs/proc/array.c | page += ptr & ~PAGE_MASK; |
page | 197 | fs/proc/array.c | return page; |
page | 473 | fs/proc/array.c | char * page; |
page | 480 | fs/proc/array.c | if (!(page = (char*) __get_free_page(GFP_KERNEL))) |
page | 487 | fs/proc/array.c | length = get_loadavg(page); |
page | 490 | fs/proc/array.c | length = get_uptime(page); |
page | 493 | fs/proc/array.c | length = get_meminfo(page); |
page | 496 | fs/proc/array.c | length = get_version(page); |
page | 499 | fs/proc/array.c | length = get_env(pid, page); |
page | 502 | fs/proc/array.c | length = get_arg(pid, page); |
page | 505 | fs/proc/array.c | length = get_stat(pid, page); |
page | 508 | fs/proc/array.c | length = get_statm(pid, page); |
page | 512 | fs/proc/array.c | length = get_malloc(page); |
page | 516 | fs/proc/array.c | free_page((unsigned long) page); |
page | 519 | fs/proc/array.c | length = get_maps(pid, page); |
page | 522 | fs/proc/array.c | length = get_module_list(page); |
page | 525 | fs/proc/array.c | length = get_kstat(page); |
page | 528 | fs/proc/array.c | length = get_device_list(page); |
page | 531 | fs/proc/array.c | length = get_filesystem_list(page); |
page | 534 | fs/proc/array.c | length = get_ksyms_list(page); |
page | 537 | fs/proc/array.c | free_page((unsigned long) page); |
page | 541 | fs/proc/array.c | free_page((unsigned long) page); |
page | 547 | fs/proc/array.c | memcpy_tofs(buf, page + file->f_pos, count); |
page | 548 | fs/proc/array.c | free_page((unsigned long) page); |
page | 27 | fs/proc/mem.c | unsigned long pte, page; |
page | 52 | fs/proc/mem.c | page = *(unsigned long *) pte; |
page | 53 | fs/proc/mem.c | if (!(page & 1)) |
page | 55 | fs/proc/mem.c | page &= PAGE_MASK; |
page | 56 | fs/proc/mem.c | page += addr & ~PAGE_MASK; |
page | 60 | fs/proc/mem.c | memcpy_tofs(tmp,(void *) page,i); |
page | 75 | fs/proc/mem.c | unsigned long pte, page; |
page | 100 | fs/proc/mem.c | page = *(unsigned long *) pte; |
page | 101 | fs/proc/mem.c | if (!(page & PAGE_PRESENT)) |
page | 103 | fs/proc/mem.c | if (!(page & 2)) { |
page | 107 | fs/proc/mem.c | page &= PAGE_MASK; |
page | 108 | fs/proc/mem.c | page += addr & ~PAGE_MASK; |
page | 112 | fs/proc/mem.c | memcpy_fromfs((void *) page,tmp,i); |
page | 198 | fs/proc/net.c | char * page; |
page | 208 | fs/proc/net.c | if (!(page = (char*) __get_free_page(GFP_KERNEL))) |
page | 221 | fs/proc/net.c | length = unix_get_info(page,&start,file->f_pos,thistime); |
page | 225 | fs/proc/net.c | length = arp_get_info(page,&start,file->f_pos,thistime); |
page | 228 | fs/proc/net.c | length = rt_get_info(page,&start,file->f_pos,thistime); |
page | 231 | fs/proc/net.c | length = dev_get_info(page,&start,file->f_pos,thistime); |
page | 234 | fs/proc/net.c | length = raw_get_info(page,&start,file->f_pos,thistime); |
page | 237 | fs/proc/net.c | length = tcp_get_info(page,&start,file->f_pos,thistime); |
page | 240 | fs/proc/net.c | length = udp_get_info(page,&start,file->f_pos,thistime); |
page | 243 | fs/proc/net.c | length = snmp_get_info(page, &start, file->f_pos,thistime); |
page | 247 | fs/proc/net.c | length = rarp_get_info(page,&start,file->f_pos,thistime); |
page | 253 | fs/proc/net.c | length = ipx_rt_get_info(page,&start,file->f_pos,thistime); |
page | 256 | fs/proc/net.c | length = ipx_get_info(page,&start,file->f_pos,thistime); |
page | 261 | fs/proc/net.c | length = ax25_rt_get_info(page,&start,file->f_pos,thistime); |
page | 264 | fs/proc/net.c | length = ax25_get_info(page,&start,file->f_pos,thistime); |
page | 268 | fs/proc/net.c | length = nr_nodes_get_info(page,&start,file->f_pos,thistime); |
page | 271 | fs/proc/net.c | length = nr_neigh_get_info(page,&start,file->f_pos,thistime); |
page | 274 | fs/proc/net.c | length = nr_get_info(page,&start,file->f_pos,thistime); |
page | 280 | fs/proc/net.c | free_page((unsigned long) page); |
page | 302 | fs/proc/net.c | free_page((unsigned long) page); |
page | 515 | fs/super.c | unsigned long page; |
page | 534 | fs/super.c | if (!(page = __get_free_page(GFP_KERNEL))) { |
page | 537 | fs/super.c | memcpy_fromfs((void *) page,data,i); |
page | 538 | fs/super.c | *where = page; |
page | 566 | fs/super.c | unsigned long page = 0; |
page | 572 | fs/super.c | retval = copy_mount_options (data, &page); |
page | 577 | fs/super.c | (char *) page); |
page | 578 | fs/super.c | free_page(page); |
page | 581 | fs/super.c | retval = copy_mount_options (type, &page); |
page | 584 | fs/super.c | fstype = get_fs_type((char *) page); |
page | 585 | fs/super.c | free_page(page); |
page | 623 | fs/super.c | page = 0; |
page | 626 | fs/super.c | retval = copy_mount_options(data, &page); |
page | 632 | fs/super.c | retval = do_mount(dev,dir_name,t,flags,(void *) page); |
page | 633 | fs/super.c | free_page(page); |
page | 449 | ibcs/binfmt_coff.c | bprm->p += change_ldt (0, bprm->page); |
page | 411 | ibcs/binfmt_elf.c | bprm->p = copy_strings(1,&passed_p,bprm->page,bprm->p,2); |
page | 436 | ibcs/binfmt_elf.c | bprm->p += change_ldt(0, bprm->page); |
page | 18 | include/linux/binfmts.h | unsigned long page[MAX_ARG_PAGES]; |
page | 48 | include/linux/binfmts.h | extern unsigned long change_ldt(unsigned long text_size,unsigned long * page); |
page | 50 | include/linux/binfmts.h | extern unsigned long copy_strings(int argc,char ** argv,unsigned long *page, |
page | 59 | include/linux/mm.h | unsigned long page, int error_code); |
page | 61 | include/linux/mm.h | unsigned long page); |
page | 122 | include/linux/mm.h | unsigned long page; |
page | 124 | include/linux/mm.h | page = __get_free_page(priority); |
page | 125 | include/linux/mm.h | if (page) |
page | 128 | include/linux/mm.h | :"a" (0),"c" (1024),"D" (page) |
page | 130 | include/linux/mm.h | return page; |
page | 139 | include/linux/mm.h | extern unsigned long put_dirty_page(struct task_struct * tsk,unsigned long page, |
page | 161 | ipc/shm.c | ulong page; |
page | 180 | ipc/shm.c | if (!(page = shp->shm_pages[i])) |
page | 182 | ipc/shm.c | if (page & 1) { |
page | 183 | ipc/shm.c | free_page (page & PAGE_MASK); |
page | 186 | ipc/shm.c | swap_free (page); |
page | 636 | ipc/shm.c | unsigned long page; |
page | 657 | ipc/shm.c | if(!(page = get_free_page(GFP_KERNEL))) { |
page | 662 | ipc/shm.c | free_page (page); |
page | 666 | ipc/shm.c | read_swap_page (shp->shm_pages[idx], (char *) page); |
page | 668 | ipc/shm.c | free_page (page); |
page | 675 | ipc/shm.c | shp->shm_pages[idx] = page | (PAGE_SHARED | PAGE_DIRTY); |
page | 681 | ipc/shm.c | page = shp->shm_pages[idx]; |
page | 683 | ipc/shm.c | page &= ~PAGE_RW; |
page | 684 | ipc/shm.c | mem_map[MAP_NR(page)]++; |
page | 685 | ipc/shm.c | return page; |
page | 696 | ipc/shm.c | unsigned long page; |
page | 726 | ipc/shm.c | page = shp->shm_pages[idx]; |
page | 727 | ipc/shm.c | if (!(page & PAGE_PRESENT)) |
page | 766 | ipc/shm.c | mem_map[MAP_NR(page)]--; |
page | 771 | ipc/shm.c | if (mem_map[MAP_NR(page)] != 1) |
page | 773 | ipc/shm.c | page &= PAGE_MASK; |
page | 777 | ipc/shm.c | write_swap_page (swap_nr, (char *) page); |
page | 778 | ipc/shm.c | free_page (page); |
page | 87 | kernel/ptrace.c | unsigned long page; |
page | 90 | kernel/ptrace.c | page = *PAGE_DIR_OFFSET(vma->vm_task->tss.cr3, addr); |
page | 91 | kernel/ptrace.c | if (page & PAGE_PRESENT) { |
page | 92 | kernel/ptrace.c | page &= PAGE_MASK; |
page | 93 | kernel/ptrace.c | page += PAGE_PTR(addr); |
page | 94 | kernel/ptrace.c | page = *((unsigned long *) page); |
page | 96 | kernel/ptrace.c | if (!(page & PAGE_PRESENT)) { |
page | 101 | kernel/ptrace.c | if (page >= high_memory) |
page | 103 | kernel/ptrace.c | page &= PAGE_MASK; |
page | 104 | kernel/ptrace.c | page += addr & ~PAGE_MASK; |
page | 105 | kernel/ptrace.c | return *(unsigned long *) page; |
page | 120 | kernel/ptrace.c | unsigned long page, pte = 0; |
page | 124 | kernel/ptrace.c | page = *PAGE_DIR_OFFSET(vma->vm_task->tss.cr3, addr); |
page | 125 | kernel/ptrace.c | if (page & PAGE_PRESENT) { |
page | 126 | kernel/ptrace.c | page &= PAGE_MASK; |
page | 127 | kernel/ptrace.c | page += PAGE_PTR(addr); |
page | 128 | kernel/ptrace.c | pte = page; |
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 | 136 | kernel/ptrace.c | if (!(page & PAGE_COW)) |
page | 142 | kernel/ptrace.c | if (page >= high_memory) |
page | 146 | kernel/ptrace.c | page &= PAGE_MASK; |
page | 147 | kernel/ptrace.c | page += addr & ~PAGE_MASK; |
page | 148 | kernel/ptrace.c | *(unsigned long *) page = data; |
page | 168 | mm/kmalloc.c | struct page_descriptor *page; |
page | 196 | mm/kmalloc.c | if ((page = sizes[order].firstfree) && |
page | 197 | mm/kmalloc.c | (p = page->firstfree)) |
page | 201 | mm/kmalloc.c | page->firstfree = p->bh_next; |
page | 202 | mm/kmalloc.c | page->nfree--; |
page | 203 | mm/kmalloc.c | if (!page->nfree) |
page | 205 | mm/kmalloc.c | sizes[order].firstfree = page->next; |
page | 206 | mm/kmalloc.c | page->next = NULL; |
page | 227 | mm/kmalloc.c | page = (struct page_descriptor *) __get_free_pages (priority & GFP_LEVEL_MASK, sizes[order].gfporder); |
page | 228 | mm/kmalloc.c | if (!page) { |
page | 237 | mm/kmalloc.c | printk ("Got page %08x to use for %d byte mallocs....",(long)page,sz); |
page | 242 | mm/kmalloc.c | for (i=NBLOCKS(order),p=BH (page+1);i > 1;i--,p=p->bh_next) |
page | 251 | mm/kmalloc.c | page->order = order; |
page | 252 | mm/kmalloc.c | page->nfree = NBLOCKS(order); |
page | 253 | mm/kmalloc.c | page->firstfree = BH(page+1); |
page | 255 | mm/kmalloc.c | printk ("%d blocks per page\n",page->nfree); |
page | 264 | mm/kmalloc.c | page->next = sizes[order].firstfree; |
page | 265 | mm/kmalloc.c | sizes[order].firstfree = page; |
page | 289 | mm/kmalloc.c | struct page_descriptor *page,*pg2; |
page | 291 | mm/kmalloc.c | page = PAGE_DESC (p); |
page | 292 | mm/kmalloc.c | order = page->order; |
page | 295 | mm/kmalloc.c | (((long)(page->next)) & ~PAGE_MASK) || |
page | 299 | mm/kmalloc.c | p, page->next, page->order); |
page | 313 | mm/kmalloc.c | p->bh_next = page->firstfree; |
page | 314 | mm/kmalloc.c | page->firstfree = p; |
page | 315 | mm/kmalloc.c | page->nfree ++; |
page | 317 | mm/kmalloc.c | if (page->nfree == 1) |
page | 319 | mm/kmalloc.c | if (page->next) |
page | 321 | mm/kmalloc.c | printk ("Page %p already on freelist dazed and confused....\n", page); |
page | 325 | mm/kmalloc.c | page->next = sizes[order].firstfree; |
page | 326 | mm/kmalloc.c | sizes[order].firstfree = page; |
page | 331 | mm/kmalloc.c | if (page->nfree == NBLOCKS (page->order)) |
page | 334 | mm/kmalloc.c | printk ("Freeing page %08x.\n", (long)page); |
page | 336 | mm/kmalloc.c | if (sizes[order].firstfree == page) |
page | 338 | mm/kmalloc.c | sizes[order].firstfree = page->next; |
page | 343 | mm/kmalloc.c | (pg2 != NULL) && (pg2->next != page); |
page | 347 | mm/kmalloc.c | pg2->next = page->next; |
page | 349 | mm/kmalloc.c | printk ("Ooops. page %p doesn't show on freelist.\n", page); |
page | 352 | mm/kmalloc.c | free_pages ((long)page, sizes[order].gfporder); |
page | 292 | mm/memory.c | unsigned long page, page_dir; |
page | 322 | mm/memory.c | if ((page = *page_table) != 0) { |
page | 324 | mm/memory.c | if (1 & page) { |
page | 325 | mm/memory.c | if (!(mem_map[MAP_NR(page)] & MAP_PAGE_RESERVED)) |
page | 328 | mm/memory.c | free_page(PAGE_MASK & page); |
page | 330 | mm/memory.c | swap_free(page); |
page | 346 | mm/memory.c | unsigned long page; |
page | 382 | mm/memory.c | if ((page = *page_table) != 0) { |
page | 384 | mm/memory.c | if (page & PAGE_PRESENT) { |
page | 385 | mm/memory.c | if (!(mem_map[MAP_NR(page)] & MAP_PAGE_RESERVED)) |
page | 388 | mm/memory.c | free_page(PAGE_MASK & page); |
page | 390 | mm/memory.c | swap_free(page); |
page | 409 | mm/memory.c | unsigned long page; |
page | 444 | mm/memory.c | if ((page = *page_table) != 0) { |
page | 446 | mm/memory.c | if (PAGE_PRESENT & page) { |
page | 447 | mm/memory.c | if (!(mem_map[MAP_NR(page)] & MAP_PAGE_RESERVED)) |
page | 450 | mm/memory.c | free_page(PAGE_MASK & page); |
page | 452 | mm/memory.c | swap_free(page); |
page | 488 | mm/memory.c | unsigned long put_page(struct task_struct * tsk,unsigned long page, |
page | 495 | mm/memory.c | if (page >= high_memory) { |
page | 496 | mm/memory.c | printk("put_page: trying to put page %08lx at %08lx\n",page,address); |
page | 514 | mm/memory.c | *page_table = page | prot; |
page | 516 | mm/memory.c | return page; |
page | 525 | mm/memory.c | unsigned long put_dirty_page(struct task_struct * tsk, unsigned long page, unsigned long address) |
page | 529 | mm/memory.c | if (page >= high_memory) |
page | 530 | mm/memory.c | printk("put_dirty_page: trying to put page %08lx at %08lx\n",page,address); |
page | 531 | mm/memory.c | if (mem_map[MAP_NR(page)] != 1) |
page | 532 | mm/memory.c | printk("mem_map disagrees with %08lx at %08lx\n",page,address); |
page | 553 | mm/memory.c | *page_table = page | (PAGE_DIRTY | PAGE_PRIVATE); |
page | 555 | mm/memory.c | return page; |
page | 852 | mm/memory.c | unsigned long page; |
page | 862 | mm/memory.c | page = get_free_page(GFP_KERNEL); |
page | 865 | mm/memory.c | free_page(page); |
page | 872 | mm/memory.c | if (page) { |
page | 873 | mm/memory.c | *p = page | PAGE_TABLE; |
page | 884 | mm/memory.c | unsigned long page; |
page | 887 | mm/memory.c | page = vma->vm_ops->swapin(vma, entry); |
page | 889 | mm/memory.c | page = swap_in(entry); |
page | 891 | mm/memory.c | free_page(page); |
page | 894 | mm/memory.c | page = page | vma->vm_page_prot; |
page | 895 | mm/memory.c | if (mem_map[MAP_NR(page)] > 1 && (page & PAGE_COW)) |
page | 896 | mm/memory.c | page &= ~PAGE_RW; |
page | 899 | mm/memory.c | *pge = page; |
page | 906 | mm/memory.c | unsigned long page, entry, prot; |
page | 908 | mm/memory.c | page = get_empty_pgtable(vma->vm_task,address); |
page | 909 | mm/memory.c | if (!page) |
page | 911 | mm/memory.c | page &= PAGE_MASK; |
page | 912 | mm/memory.c | page += PAGE_PTR(address); |
page | 913 | mm/memory.c | entry = *(unsigned long *) page; |
page | 917 | mm/memory.c | do_swap_page(vma, address, (unsigned long *) page, entry); |
page | 928 | mm/memory.c | page = get_free_page(GFP_KERNEL); |
page | 929 | mm/memory.c | if (share_page(vma, address, error_code, page)) { |
page | 934 | mm/memory.c | if (!page) { |
page | 947 | mm/memory.c | page = vma->vm_ops->nopage(vma, address, page, (error_code & PAGE_RW) && (prot & PAGE_COW)); |
page | 949 | mm/memory.c | free_page(page); |
page | 958 | mm/memory.c | } else if ((prot & PAGE_COW) && mem_map[MAP_NR(page)] > 1) |
page | 960 | mm/memory.c | if (put_page(vma->vm_task, page, address, prot)) |
page | 962 | mm/memory.c | free_page(page); |
page | 975 | mm/memory.c | unsigned long page; |
page | 1046 | mm/memory.c | __asm__("movl %%cr3,%0" : "=r" (page)); |
page | 1048 | mm/memory.c | current->tss.cr3, page); |
page | 1049 | mm/memory.c | page = ((unsigned long *) page)[address >> 22]; |
page | 1050 | mm/memory.c | printk(KERN_ALERT "*pde = %08lx\n", page); |
page | 1051 | mm/memory.c | if (page & PAGE_PRESENT) { |
page | 1052 | mm/memory.c | page &= PAGE_MASK; |
page | 1054 | mm/memory.c | page = ((unsigned long *) page)[address >> PAGE_SHIFT]; |
page | 1055 | mm/memory.c | printk(KERN_ALERT "*pte = %08lx\n", page); |
page | 1284 | mm/memory.c | unsigned long page, int no_share) |
page | 1302 | mm/memory.c | return bread_page(page, inode->i_dev, nr, inode->i_sb->s_blocksize, no_share); |
page | 301 | mm/swap.c | unsigned long page; |
page | 303 | mm/swap.c | if (!(page = get_free_page(GFP_KERNEL))) { |
page | 307 | mm/swap.c | read_swap_page(entry, (char *) page); |
page | 308 | mm/swap.c | if (add_to_swap_cache(page, entry)) |
page | 309 | mm/swap.c | return page | PAGE_PRIVATE; |
page | 311 | mm/swap.c | return page | PAGE_DIRTY | PAGE_PRIVATE; |
page | 316 | mm/swap.c | unsigned long page, entry; |
page | 318 | mm/swap.c | page = *table_ptr; |
page | 319 | mm/swap.c | if (!(PAGE_PRESENT & page)) |
page | 321 | mm/swap.c | if (page >= high_memory) |
page | 323 | mm/swap.c | if (mem_map[MAP_NR(page)] & MAP_PAGE_RESERVED) |
page | 326 | mm/swap.c | if ((PAGE_DIRTY & page) && delete_from_swap_cache(page)) { |
page | 329 | mm/swap.c | if (PAGE_ACCESSED & page) { |
page | 333 | mm/swap.c | if (PAGE_DIRTY & page) { |
page | 334 | mm/swap.c | page &= PAGE_MASK; |
page | 335 | mm/swap.c | if (mem_map[MAP_NR(page)] != 1) |
page | 341 | mm/swap.c | write_swap_page(entry, (char *) page); |
page | 342 | mm/swap.c | free_page(page); |
page | 346 | mm/swap.c | if ((entry = find_in_swap_cache(page))) { |
page | 347 | mm/swap.c | if (mem_map[MAP_NR(page)] != 1) { |
page | 354 | mm/swap.c | free_page(page & PAGE_MASK); |
page | 357 | mm/swap.c | page &= PAGE_MASK; |
page | 360 | mm/swap.c | free_page(page); |
page | 361 | mm/swap.c | return 1 + mem_map[MAP_NR(page)]; |
page | 395 | mm/swap.c | int page; |
page | 460 | mm/swap.c | for(page = p->mm->swap_page; page < 1024; page++) { |
page | 461 | mm/swap.c | switch(try_to_swap_out(page + (unsigned long *) pg_table)) { |
page | 469 | mm/swap.c | p->mm->swap_page = page + 1; |
page | 755 | mm/swap.c | unsigned long page, *ppage; |
page | 772 | mm/swap.c | page = *ppage; |
page | 773 | mm/swap.c | if (!page) |
page | 775 | mm/swap.c | if (!(page & PAGE_PRESENT) || (page >= high_memory)) |
page | 777 | mm/swap.c | if (mem_map[MAP_NR(page)] & MAP_PAGE_RESERVED) |
page | 779 | mm/swap.c | ppage = (unsigned long *) (page & PAGE_MASK); |
page | 781 | mm/swap.c | page = *ppage; |
page | 782 | mm/swap.c | if (!page) |
page | 784 | mm/swap.c | if (page & PAGE_PRESENT) { |
page | 785 | mm/swap.c | if (!(page = in_swap_cache(page))) |
page | 787 | mm/swap.c | if (SWP_TYPE(page) != type) |
page | 793 | mm/swap.c | if (SWP_TYPE(page) != type) |
page | 800 | mm/swap.c | read_swap_page(page, (char *) tmp); |
page | 801 | mm/swap.c | if (*ppage == page) { |
page | 804 | mm/swap.c | swap_free(page); |
page | 50 | mm/vmalloc.c | unsigned long page, *pte; |
page | 52 | mm/vmalloc.c | if (!(PAGE_PRESENT & (page = swapper_pg_dir[dindex]))) |
page | 54 | mm/vmalloc.c | page &= PAGE_MASK; |
page | 55 | mm/vmalloc.c | pte = index + (unsigned long *) page; |
page | 63 | mm/vmalloc.c | pte = (unsigned long *) page; |
page | 68 | mm/vmalloc.c | mem_map[MAP_NR(page)] = 1; |
page | 69 | mm/vmalloc.c | free_page(page); |
page | 76 | mm/vmalloc.c | unsigned long page, *pte; |
page | 78 | mm/vmalloc.c | page = swapper_pg_dir[dindex]; |
page | 79 | mm/vmalloc.c | if (!page) { |
page | 80 | mm/vmalloc.c | page = get_free_page(GFP_KERNEL); |
page | 81 | mm/vmalloc.c | if (!page) |
page | 84 | mm/vmalloc.c | free_page(page); |
page | 85 | mm/vmalloc.c | page = swapper_pg_dir[dindex]; |
page | 87 | mm/vmalloc.c | mem_map[MAP_NR(page)] = MAP_PAGE_RESERVED; |
page | 88 | mm/vmalloc.c | set_pgdir(dindex, page | PAGE_SHARED); |
page | 91 | mm/vmalloc.c | page &= PAGE_MASK; |
page | 92 | mm/vmalloc.c | pte = index + (unsigned long *) page; |