tag | line | file | source code |
page | 301 | drivers/block/ll_rw_blk.c | void ll_rw_page(int rw, int dev, int page, char * buffer) |
page | 307 | drivers/block/ll_rw_blk.c | printk("Trying to read nonexistent block-device %04x (%d)\n",dev,page*8); |
page | 322 | drivers/block/ll_rw_blk.c | req->sector = page<<3; |
page | 1516 | drivers/scsi/scsi.c | int page, sector, nbits, mask; |
page | 1525 | drivers/scsi/scsi.c | page = offset >> 13; |
page | 1536 | drivers/scsi/scsi.c | if(dma_malloc_freelist[page] & (mask << sector) != (mask<<sector)) |
page | 1540 | drivers/scsi/scsi.c | dma_malloc_freelist[page] &= ~(mask << sector); |
page | 1604 | drivers/scsi/seagate.c | unsigned char buf[256 + sizeof(int) * 2], cmd[6], *data, *page; |
page | 1646 | drivers/scsi/seagate.c | page = data + 4 + data[3]; |
page | 1647 | drivers/scsi/seagate.c | heads = (int) page[5]; |
page | 1648 | drivers/scsi/seagate.c | cylinders = (page[2] << 16) | (page[3] << 8) | page[4]; |
page | 1654 | drivers/scsi/seagate.c | page = data + 4 + data[3]; |
page | 1655 | drivers/scsi/seagate.c | sectors = (page[10] << 8) | page[11]; |
page | 180 | fs/binfmt_elf.c | bprm->p = copy_strings(1,&passed_p,bprm->page,bprm->p,2); |
page | 204 | fs/binfmt_elf.c | bprm->p += change_ldt(0, bprm->page); |
page | 652 | fs/buffer.c | static struct buffer_head * create_buffers(unsigned long page, unsigned long size) |
page | 665 | fs/buffer.c | bh->b_data = (char *) (page+offset); |
page | 705 | fs/buffer.c | unsigned long page; |
page | 710 | fs/buffer.c | page = (unsigned long) first->b_data; |
page | 711 | fs/buffer.c | if (page & ~PAGE_MASK) { |
page | 715 | fs/buffer.c | mem_map[MAP_NR(page)]++; |
page | 726 | fs/buffer.c | if (page+offset != (unsigned long) first->b_data) |
page | 734 | fs/buffer.c | return page; |
page | 738 | fs/buffer.c | free_page(page); |
page | 870 | fs/buffer.c | unsigned long page; |
page | 877 | fs/buffer.c | if(!(page = __get_free_page(pri))) |
page | 879 | fs/buffer.c | bh = create_buffers(page, size); |
page | 881 | fs/buffer.c | free_page(page); |
page | 913 | fs/buffer.c | unsigned long page; |
page | 917 | fs/buffer.c | page = (unsigned long) bh->b_data; |
page | 918 | fs/buffer.c | page &= PAGE_MASK; |
page | 938 | fs/buffer.c | free_page(page); |
page | 939 | fs/buffer.c | return !mem_map[MAP_NR(page)]; |
page | 339 | fs/exec.c | unsigned long copy_strings(int argc,char ** argv,unsigned long *page, |
page | 373 | fs/exec.c | if (!(pag = (char *) page[p/PAGE_SIZE]) && |
page | 374 | fs/exec.c | !(pag = (char *) page[p/PAGE_SIZE] = |
page | 389 | fs/exec.c | unsigned long change_ldt(unsigned long text_size,unsigned long * page) |
page | 401 | fs/exec.c | if (page[i]) { |
page | 403 | fs/exec.c | put_dirty_page(current,page[i],data_base); |
page | 546 | fs/exec.c | bprm.page[i] = 0; |
page | 638 | fs/exec.c | bprm.p = copy_strings(bprm.envc, envp, bprm.page, bprm.p, 0); |
page | 639 | fs/exec.c | bprm.p = copy_strings(--bprm.argc, argv+1, bprm.page, bprm.p, 0); |
page | 649 | fs/exec.c | bprm.p = copy_strings(1, &bprm.filename, bprm.page, bprm.p, 2); |
page | 652 | fs/exec.c | bprm.p = copy_strings(1, &i_arg, bprm.page, bprm.p, 2); |
page | 655 | fs/exec.c | bprm.p = copy_strings(1, &i_name, bprm.page, bprm.p, 2); |
page | 672 | fs/exec.c | bprm.p = copy_strings(bprm.envc,envp,bprm.page,bprm.p,0); |
page | 673 | fs/exec.c | bprm.p = copy_strings(bprm.argc,argv,bprm.page,bprm.p,0); |
page | 697 | fs/exec.c | free_page(bprm.page[i]); |
page | 829 | 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 | 320 | fs/inode.c | unsigned long page = (unsigned long) PIPE_BASE(*inode); |
page | 322 | 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 | extern unsigned long put_page(struct task_struct * tsk,unsigned long page, |
page | 92 | fs/nfs/mmap.c | unsigned long page; |
page | 102 | fs/nfs/mmap.c | page = get_free_page(GFP_KERNEL); |
page | 103 | fs/nfs/mmap.c | if (share_page(area, area->vm_task, inode, address, error_code, page)) { |
page | 109 | fs/nfs/mmap.c | if (!page) { |
page | 129 | fs/nfs/mmap.c | pos, hunk, (char *) (page + i), &fattr); |
page | 144 | fs/nfs/mmap.c | if (share_page(area, area->vm_task, inode, address, error_code, page)) |
page | 148 | fs/nfs/mmap.c | tmp = page + PAGE_SIZE; |
page | 152 | fs/nfs/mmap.c | if (put_page(area->vm_task,page,address,area->vm_page_prot)) |
page | 154 | fs/nfs/mmap.c | free_page(page); |
page | 137 | fs/proc/array.c | unsigned long page; |
page | 141 | fs/proc/array.c | page = *PAGE_DIR_OFFSET((*p)->tss.cr3,ptr); |
page | 142 | fs/proc/array.c | if (!(page & 1)) |
page | 144 | fs/proc/array.c | page &= PAGE_MASK; |
page | 145 | fs/proc/array.c | page += PAGE_PTR(ptr); |
page | 146 | fs/proc/array.c | page = *(unsigned long *) page; |
page | 147 | fs/proc/array.c | if (!(page & 1)) |
page | 149 | fs/proc/array.c | page &= PAGE_MASK; |
page | 150 | fs/proc/array.c | page += ptr & ~PAGE_MASK; |
page | 151 | fs/proc/array.c | return page; |
page | 420 | fs/proc/array.c | char * page; |
page | 427 | fs/proc/array.c | if (!(page = (char*) __get_free_page(GFP_KERNEL))) |
page | 434 | fs/proc/array.c | length = get_loadavg(page); |
page | 437 | fs/proc/array.c | length = get_uptime(page); |
page | 440 | fs/proc/array.c | length = get_meminfo(page); |
page | 443 | fs/proc/array.c | length = get_version(page); |
page | 446 | fs/proc/array.c | length = get_env(pid, page); |
page | 449 | fs/proc/array.c | length = get_arg(pid, page); |
page | 452 | fs/proc/array.c | length = get_stat(pid, page); |
page | 455 | fs/proc/array.c | length = get_statm(pid, page); |
page | 459 | fs/proc/array.c | length = get_malloc(page); |
page | 463 | fs/proc/array.c | free_page((unsigned long) page); |
page | 466 | fs/proc/array.c | length = get_maps(pid, page); |
page | 469 | fs/proc/array.c | length = get_module_list(page); |
page | 472 | fs/proc/array.c | free_page((unsigned long) page); |
page | 476 | fs/proc/array.c | free_page((unsigned long) page); |
page | 482 | fs/proc/array.c | memcpy_tofs(buf, page + file->f_pos, count); |
page | 483 | 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 | 160 | fs/proc/net.c | char * page; |
page | 167 | fs/proc/net.c | if (!(page = (char*) __get_free_page(GFP_KERNEL))) |
page | 173 | fs/proc/net.c | length = unix_get_info(page); |
page | 176 | fs/proc/net.c | length = arp_get_info(page); |
page | 179 | fs/proc/net.c | length = rt_get_info(page); |
page | 182 | fs/proc/net.c | length = dev_get_info(page); |
page | 185 | fs/proc/net.c | length = raw_get_info(page); |
page | 188 | fs/proc/net.c | length = tcp_get_info(page); |
page | 191 | fs/proc/net.c | length = udp_get_info(page); |
page | 195 | fs/proc/net.c | free_page((unsigned long) page); |
page | 199 | fs/proc/net.c | free_page((unsigned long) page); |
page | 205 | fs/proc/net.c | memcpy_tofs(buf, page + file->f_pos, count); |
page | 206 | fs/proc/net.c | free_page((unsigned long) page); |
page | 406 | fs/super.c | unsigned long page = 0; |
page | 473 | fs/super.c | if (!(page = __get_free_page(GFP_KERNEL))) { |
page | 477 | fs/super.c | memcpy_fromfs((void *) page,data,i); |
page | 480 | fs/super.c | retval = do_mount(dev,dir_name,t,flags,(void *) page); |
page | 481 | fs/super.c | free_page(page); |
page | 18 | include/linux/binfmts.h | unsigned long page[MAX_ARG_PAGES]; |
page | 43 | include/linux/binfmts.h | extern unsigned long change_ldt(unsigned long text_size,unsigned long * page); |
page | 45 | include/linux/binfmts.h | extern unsigned long copy_strings(int argc,char ** argv,unsigned long *page, |
page | 77 | include/linux/mm.h | unsigned long page; |
page | 79 | include/linux/mm.h | page = __get_free_page(priority); |
page | 80 | include/linux/mm.h | if (page) |
page | 83 | include/linux/mm.h | :"a" (0),"c" (1024),"D" (page) |
page | 85 | include/linux/mm.h | return page; |
page | 91 | include/linux/mm.h | extern unsigned long put_dirty_page(struct task_struct * tsk,unsigned long page, |
page | 159 | ipc/shm.c | ulong page; |
page | 179 | ipc/shm.c | if (!(page = shp->shm_pages[i])) |
page | 181 | ipc/shm.c | if (page & 1) { |
page | 182 | ipc/shm.c | free_page (page & PAGE_MASK); |
page | 185 | ipc/shm.c | swap_free (page); |
page | 578 | ipc/shm.c | unsigned long page; |
page | 600 | ipc/shm.c | if(!(page = get_free_page(GFP_KERNEL))) { |
page | 606 | ipc/shm.c | free_page (page); |
page | 610 | ipc/shm.c | read_swap_page (shp->shm_pages[idx], (char *) page); |
page | 612 | ipc/shm.c | free_page (page); |
page | 619 | ipc/shm.c | shp->shm_pages[idx] = page | (PAGE_SHARED | PAGE_DIRTY); |
page | 625 | ipc/shm.c | page = shp->shm_pages[idx]; |
page | 627 | ipc/shm.c | page &= ~2; |
page | 628 | ipc/shm.c | mem_map[MAP_NR(page)]++; |
page | 629 | ipc/shm.c | *ptent = page; |
page | 641 | ipc/shm.c | unsigned long page; |
page | 671 | ipc/shm.c | page = shp->shm_pages[idx]; |
page | 672 | ipc/shm.c | if (!(page & PAGE_PRESENT)) |
page | 711 | ipc/shm.c | mem_map[MAP_NR(page)]--; |
page | 716 | ipc/shm.c | if (mem_map[MAP_NR(page)] != 1) |
page | 718 | ipc/shm.c | page &= PAGE_MASK; |
page | 722 | ipc/shm.c | write_swap_page (swap_nr, (char *) page); |
page | 723 | ipc/shm.c | free_page (page); |
page | 91 | kernel/ptrace.c | unsigned long page; |
page | 94 | kernel/ptrace.c | page = *PAGE_DIR_OFFSET(tsk->tss.cr3,addr); |
page | 95 | kernel/ptrace.c | if (page & PAGE_PRESENT) { |
page | 96 | kernel/ptrace.c | page &= PAGE_MASK; |
page | 97 | kernel/ptrace.c | page += PAGE_PTR(addr); |
page | 98 | kernel/ptrace.c | page = *((unsigned long *) page); |
page | 100 | kernel/ptrace.c | if (!(page & PAGE_PRESENT)) { |
page | 104 | kernel/ptrace.c | page &= PAGE_MASK; |
page | 105 | kernel/ptrace.c | page += addr & ~PAGE_MASK; |
page | 106 | kernel/ptrace.c | return *(unsigned long *) page; |
page | 121 | kernel/ptrace.c | unsigned long page, pte = 0; |
page | 125 | kernel/ptrace.c | page = *PAGE_DIR_OFFSET(tsk->tss.cr3,addr); |
page | 126 | kernel/ptrace.c | if (page & PAGE_PRESENT) { |
page | 127 | kernel/ptrace.c | page &= PAGE_MASK; |
page | 128 | kernel/ptrace.c | page += PAGE_PTR(addr); |
page | 129 | kernel/ptrace.c | pte = page; |
page | 130 | kernel/ptrace.c | page = *((unsigned long *) page); |
page | 132 | kernel/ptrace.c | if (!(page & PAGE_PRESENT)) { |
page | 136 | kernel/ptrace.c | if (!(page & PAGE_RW)) { |
page | 137 | kernel/ptrace.c | if(!(page & PAGE_COW)) |
page | 144 | kernel/ptrace.c | page &= PAGE_MASK; |
page | 145 | kernel/ptrace.c | page += addr & ~PAGE_MASK; |
page | 146 | kernel/ptrace.c | *(unsigned long *) page = data; |
page | 72 | lib/malloc.c | void *page; |
page | 144 | lib/malloc.c | static inline void init_bucket_desc(unsigned long page) |
page | 149 | lib/malloc.c | bdesc = (struct bucket_desc *) page; |
page | 158 | lib/malloc.c | free_bucket_desc = (struct bucket_desc *) page; |
page | 176 | lib/malloc.c | unsigned long page; |
page | 216 | lib/malloc.c | if(!(page=__get_free_page(priority))) |
page | 218 | lib/malloc.c | init_bucket_desc(page); |
page | 225 | lib/malloc.c | if(!(page=__get_free_page(priority))) { |
page | 238 | lib/malloc.c | bdesc->page = bdesc->freeptr = (void *) page; |
page | 245 | lib/malloc.c | hd = (struct hdr_start *) page; |
page | 246 | lib/malloc.c | he = (struct hdr_end *)(page+(bdir->size-sizeof(struct hdr_end))); |
page | 255 | lib/malloc.c | *((void **) (hd+1)) = (i==1) ? NULL : (void *)(page + bdir->size); |
page | 257 | lib/malloc.c | *((void **) page) = (i==1) ? NULL : (void *)(page + bdir->size); |
page | 259 | lib/malloc.c | page += bdir->size; |
page | 386 | lib/malloc.c | void *page; |
page | 423 | lib/malloc.c | page = (void *) ((unsigned long) obj & PAGE_MASK); |
page | 438 | lib/malloc.c | if (bdesc->page == page) |
page | 499 | lib/malloc.c | free_page((unsigned long) bdesc->page); |
page | 511 | lib/malloc.c | void *page; |
page | 519 | lib/malloc.c | page = bdesc->page; |
page | 522 | lib/malloc.c | hd = (struct hdr_start *)page; |
page | 530 | lib/malloc.c | (long)(page+sizeof(struct hdr_start)),hd->size,hd->file,hd->line,hd->ok_file,hd->ok_line); |
page | 532 | lib/malloc.c | page += bdir->size; |
page | 153 | mm/kmalloc.c | struct page_descriptor *page; |
page | 179 | mm/kmalloc.c | if ((page = sizes[order].firstfree) && |
page | 180 | mm/kmalloc.c | (p = page->firstfree)) |
page | 184 | mm/kmalloc.c | page->firstfree = p->bh_next; |
page | 185 | mm/kmalloc.c | page->nfree--; |
page | 186 | mm/kmalloc.c | if (!page->nfree) |
page | 188 | mm/kmalloc.c | sizes[order].firstfree = page->next; |
page | 189 | mm/kmalloc.c | page->next = NULL; |
page | 210 | mm/kmalloc.c | page = (struct page_descriptor *) __get_free_page (priority & GFP_LEVEL_MASK); |
page | 211 | mm/kmalloc.c | if (!page) |
page | 217 | mm/kmalloc.c | printk ("Got page %08x to use for %d byte mallocs....",(long)page,sz); |
page | 222 | mm/kmalloc.c | for (i=NBLOCKS(order),p=BH (page+1);i > 1;i--,p=p->bh_next) |
page | 231 | mm/kmalloc.c | page->order = order; |
page | 232 | mm/kmalloc.c | page->nfree = NBLOCKS(order); |
page | 233 | mm/kmalloc.c | page->firstfree = BH(page+1); |
page | 235 | mm/kmalloc.c | printk ("%d blocks per page\n",page->nfree); |
page | 244 | mm/kmalloc.c | page->next = sizes[order].firstfree; |
page | 245 | mm/kmalloc.c | sizes[order].firstfree = page; |
page | 269 | mm/kmalloc.c | struct page_descriptor *page,*pg2; |
page | 271 | mm/kmalloc.c | page = PAGE_DESC (p); |
page | 272 | mm/kmalloc.c | order = page->order; |
page | 275 | mm/kmalloc.c | (((long)(page->next)) & ~PAGE_MASK) || |
page | 279 | mm/kmalloc.c | p, page->next, page->order); |
page | 294 | mm/kmalloc.c | p->bh_next = page->firstfree; |
page | 295 | mm/kmalloc.c | page->firstfree = p; |
page | 296 | mm/kmalloc.c | page->nfree ++; |
page | 298 | mm/kmalloc.c | if (page->nfree == 1) |
page | 300 | mm/kmalloc.c | if (page->next) |
page | 302 | mm/kmalloc.c | printk ("Page %p already on freelist dazed and confused....\n", page); |
page | 306 | mm/kmalloc.c | page->next = sizes[order].firstfree; |
page | 307 | mm/kmalloc.c | sizes[order].firstfree = page; |
page | 312 | mm/kmalloc.c | if (page->nfree == NBLOCKS (page->order)) |
page | 315 | mm/kmalloc.c | printk ("Freeing page %08x.\n", (long)page); |
page | 317 | mm/kmalloc.c | if (sizes[order].firstfree == page) |
page | 319 | mm/kmalloc.c | sizes[order].firstfree = page->next; |
page | 324 | mm/kmalloc.c | (pg2 != NULL) && (pg2->next != page); |
page | 328 | mm/kmalloc.c | pg2->next = page->next; |
page | 330 | mm/kmalloc.c | printk ("Ooops. page %p doesn't show on freelist.\n", page); |
page | 332 | mm/kmalloc.c | free_page ((long)page); |
page | 274 | mm/memory.c | unsigned long page, page_dir; |
page | 304 | mm/memory.c | if ((page = *page_table) != 0) { |
page | 306 | mm/memory.c | if (1 & page) { |
page | 307 | mm/memory.c | if (!(mem_map[MAP_NR(page)] |
page | 310 | mm/memory.c | free_page(PAGE_MASK & page); |
page | 312 | mm/memory.c | swap_free(page); |
page | 328 | mm/memory.c | unsigned long page; |
page | 364 | mm/memory.c | if ((page = *page_table) != 0) { |
page | 366 | mm/memory.c | if (page & PAGE_PRESENT) { |
page | 367 | mm/memory.c | if (!(mem_map[MAP_NR(page)] |
page | 370 | mm/memory.c | free_page(PAGE_MASK & page); |
page | 372 | mm/memory.c | swap_free(page); |
page | 391 | mm/memory.c | unsigned long page; |
page | 426 | mm/memory.c | if ((page = *page_table) != 0) { |
page | 428 | mm/memory.c | if (PAGE_PRESENT & page) { |
page | 429 | mm/memory.c | if (!(mem_map[MAP_NR(page)] |
page | 432 | mm/memory.c | free_page(PAGE_MASK & page); |
page | 434 | mm/memory.c | swap_free(page); |
page | 470 | mm/memory.c | unsigned long put_page(struct task_struct * tsk,unsigned long page, |
page | 477 | mm/memory.c | if (page >= high_memory) { |
page | 478 | mm/memory.c | printk("put_page: trying to put page %08lx at %08lx\n",page,address); |
page | 496 | mm/memory.c | *page_table = page | prot; |
page | 498 | mm/memory.c | return page; |
page | 507 | mm/memory.c | unsigned long put_dirty_page(struct task_struct * tsk, unsigned long page, unsigned long address) |
page | 511 | mm/memory.c | if (page >= high_memory) |
page | 512 | mm/memory.c | printk("put_dirty_page: trying to put page %08lx at %08lx\n",page,address); |
page | 513 | mm/memory.c | if (mem_map[MAP_NR(page)] != 1) |
page | 514 | mm/memory.c | printk("mem_map disagrees with %08lx at %08lx\n",page,address); |
page | 535 | mm/memory.c | *page_table = page | (PAGE_DIRTY | PAGE_PRIVATE); |
page | 537 | mm/memory.c | return page; |
page | 619 | mm/memory.c | unsigned long page; |
page | 623 | mm/memory.c | page = *pg_table; |
page | 624 | mm/memory.c | if (!page) |
page | 626 | mm/memory.c | if ((page & PAGE_PRESENT) && page < high_memory) { |
page | 627 | mm/memory.c | pg_table = (unsigned long *) ((page & PAGE_MASK) + PAGE_PTR(address)); |
page | 628 | mm/memory.c | page = *pg_table; |
page | 629 | mm/memory.c | if (!(page & PAGE_PRESENT)) |
page | 631 | mm/memory.c | if (page & PAGE_RW) |
page | 633 | mm/memory.c | if (!(page & PAGE_COW)) { |
page | 640 | mm/memory.c | if (mem_map[MAP_NR(page)] == 1) { |
page | 648 | mm/memory.c | printk("bad page directory entry %08lx\n",page); |
page | 802 | mm/memory.c | unsigned long page; |
page | 812 | mm/memory.c | page = get_free_page(GFP_KERNEL); |
page | 815 | mm/memory.c | free_page(page); |
page | 822 | mm/memory.c | if (page) { |
page | 823 | mm/memory.c | *p = page | PAGE_TABLE; |
page | 835 | mm/memory.c | unsigned long page; |
page | 838 | mm/memory.c | page = get_empty_pgtable(tsk,address); |
page | 839 | mm/memory.c | if (!page) |
page | 841 | mm/memory.c | page &= PAGE_MASK; |
page | 842 | mm/memory.c | page += PAGE_PTR(address); |
page | 843 | mm/memory.c | tmp = *(unsigned long *) page; |
page | 849 | mm/memory.c | swap_in((unsigned long *) page); |
page | 1154 | mm/memory.c | unsigned long page; |
page | 1163 | mm/memory.c | page = get_free_page(GFP_KERNEL); |
page | 1164 | mm/memory.c | if (share_page(area, area->vm_task, inode, address, error_code, page)) { |
page | 1170 | mm/memory.c | if (!page) { |
page | 1179 | mm/memory.c | page = bread_page(page, inode->i_dev, nr, inode->i_sb->s_blocksize, prot); |
page | 1182 | mm/memory.c | if (share_page(area, area->vm_task, inode, address, error_code, page)) |
page | 1185 | mm/memory.c | if (put_page(area->vm_task,page,address,prot)) |
page | 1187 | mm/memory.c | free_page(page); |
page | 195 | mm/swap.c | unsigned long page; |
page | 210 | mm/swap.c | if (!(page = get_free_page(GFP_KERNEL))) { |
page | 212 | mm/swap.c | page = BAD_PAGE; |
page | 214 | mm/swap.c | read_swap_page(entry, (char *) page); |
page | 216 | mm/swap.c | free_page(page); |
page | 219 | mm/swap.c | *table_ptr = page | (PAGE_DIRTY | PAGE_PRIVATE); |
page | 226 | mm/swap.c | unsigned long page; |
page | 229 | mm/swap.c | page = *table_ptr; |
page | 230 | mm/swap.c | if (!(PAGE_PRESENT & page)) |
page | 232 | mm/swap.c | if (page >= high_memory) |
page | 234 | mm/swap.c | if (mem_map[MAP_NR(page)] & MAP_PAGE_RESERVED) |
page | 236 | mm/swap.c | if (PAGE_ACCESSED & page) { |
page | 241 | mm/swap.c | if (last_free_pages[i] == (page & PAGE_MASK)) |
page | 243 | mm/swap.c | if (PAGE_DIRTY & page) { |
page | 244 | mm/swap.c | page &= PAGE_MASK; |
page | 245 | mm/swap.c | if (mem_map[MAP_NR(page)] != 1) |
page | 251 | mm/swap.c | write_swap_page(entry, (char *) page); |
page | 252 | mm/swap.c | free_page(page); |
page | 255 | mm/swap.c | page &= PAGE_MASK; |
page | 258 | mm/swap.c | free_page(page); |
page | 259 | mm/swap.c | return 1 + mem_map[MAP_NR(page)]; |
page | 304 | mm/swap.c | int page; |
page | 369 | mm/swap.c | for(page = p->swap_page; page < 1024; page++) { |
page | 370 | mm/swap.c | switch(try_to_swap_out(page + (unsigned long *) pg_table)) { |
page | 378 | mm/swap.c | p->swap_page = page + 1; |
page | 611 | mm/swap.c | unsigned long page, *ppage; |
page | 627 | mm/swap.c | page = *ppage; |
page | 628 | mm/swap.c | if (!page) |
page | 630 | mm/swap.c | if (!(page & PAGE_PRESENT) || (page >= high_memory)) |
page | 632 | mm/swap.c | if (mem_map[MAP_NR(page)] & MAP_PAGE_RESERVED) |
page | 634 | mm/swap.c | ppage = (unsigned long *) (page & PAGE_MASK); |
page | 636 | mm/swap.c | page = *ppage; |
page | 637 | mm/swap.c | if (!page) |
page | 639 | mm/swap.c | if (page & PAGE_PRESENT) |
page | 641 | mm/swap.c | if (SWP_TYPE(page) != type) |
page | 648 | mm/swap.c | read_swap_page(page, (char *) tmp); |
page | 649 | mm/swap.c | if (*ppage == page) { |
page | 652 | 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)] &= ~MAP_PAGE_RESERVED; |
page | 69 | mm/vmalloc.c | free_page(page); |
page | 75 | mm/vmalloc.c | unsigned long page, *pte; |
page | 77 | mm/vmalloc.c | page = swapper_pg_dir[dindex]; |
page | 78 | mm/vmalloc.c | if (!page) { |
page | 79 | mm/vmalloc.c | page = get_free_page(GFP_KERNEL); |
page | 80 | mm/vmalloc.c | if (!page) |
page | 83 | mm/vmalloc.c | free_page(page); |
page | 84 | mm/vmalloc.c | page = swapper_pg_dir[dindex]; |
page | 86 | mm/vmalloc.c | mem_map[MAP_NR(page)] |= MAP_PAGE_RESERVED; |
page | 87 | mm/vmalloc.c | set_pgdir(dindex, page | PAGE_SHARED); |
page | 90 | mm/vmalloc.c | page &= PAGE_MASK; |
page | 91 | mm/vmalloc.c | pte = index + (unsigned long *) page; |