tag | line | file | source code |
page | 319 | drivers/block/ll_rw_blk.c | void ll_rw_page(int rw, int dev, int page, char * buffer) |
page | 326 | drivers/block/ll_rw_blk.c | printk("Trying to read nonexistent block-device %04x (%d)\n",dev,page*8); |
page | 341 | drivers/block/ll_rw_blk.c | req->sector = page<<3; |
page | 713 | drivers/net/ewrk3.c | char csr, page; |
page | 732 | drivers/net/ewrk3.c | for (page=1;page<lp->mPage;page++) { /* Write the free page numbers */ |
page | 733 | drivers/net/ewrk3.c | outb(page, EWRK3_FMQ); /* to the Free Memory Queue */ |
page | 799 | drivers/net/ewrk3.c | unsigned char page; |
page | 801 | drivers/net/ewrk3.c | if ((page = inb(EWRK3_FMQ)) < lp->mPage) { |
page | 809 | drivers/net/ewrk3.c | outb(page, EWRK3_IOPR); |
page | 812 | drivers/net/ewrk3.c | outb(page, EWRK3_MPR); |
page | 814 | drivers/net/ewrk3.c | buf = (char *)((((short)page << 11) & 0x7800) + lp->shmem_base); |
page | 815 | drivers/net/ewrk3.c | outb((page >> 4), EWRK3_MPR); |
page | 817 | drivers/net/ewrk3.c | buf = (char *)((((short)page << 11) & 0xf800) + lp->shmem_base); |
page | 818 | drivers/net/ewrk3.c | outb((page >> 5), EWRK3_MPR); |
page | 842 | drivers/net/ewrk3.c | outb(page, EWRK3_TQ); /* Start sending pkt */ |
page | 851 | drivers/net/ewrk3.c | outb(page, EWRK3_TQ); /* Start sending pkt */ |
page | 858 | drivers/net/ewrk3.c | outb(page, EWRK3_TQ); /* Start sending pkt */ |
page | 867 | drivers/net/ewrk3.c | outb(page, EWRK3_FMQ); |
page | 872 | drivers/net/ewrk3.c | (unsigned char) page); |
page | 964 | drivers/net/ewrk3.c | unsigned char page, tmpPage = 0, tmpLock = 0, *buf; |
page | 968 | drivers/net/ewrk3.c | if ((page = inb(EWRK3_RQ)) < lp->mPage) {/* Get next entry's buffer page */ |
page | 987 | drivers/net/ewrk3.c | outb(page, EWRK3_IOPR); |
page | 990 | drivers/net/ewrk3.c | outb(page, EWRK3_MPR); |
page | 992 | drivers/net/ewrk3.c | buf = (char *)((((short)page << 11) & 0x7800) + lp->shmem_base); |
page | 993 | drivers/net/ewrk3.c | outb((page >> 4), EWRK3_MPR); |
page | 995 | drivers/net/ewrk3.c | buf = (char *)((((short)page << 11) & 0xf800) + lp->shmem_base); |
page | 996 | drivers/net/ewrk3.c | outb((page >> 5), EWRK3_MPR); |
page | 1081 | drivers/net/ewrk3.c | outb(page, EWRK3_FMQ); |
page | 1092 | drivers/net/ewrk3.c | printk("ewrk3_rx(): Illegal page number, page %d\n",page); |
page | 1679 | drivers/scsi/scsi.c | int page, sector, nbits, mask; |
page | 1688 | drivers/scsi/scsi.c | page = offset >> 13; |
page | 1699 | drivers/scsi/scsi.c | if(dma_malloc_freelist[page] & (mask << sector) != (mask<<sector)) |
page | 1703 | drivers/scsi/scsi.c | dma_malloc_freelist[page] &= ~(mask << sector); |
page | 1592 | drivers/scsi/seagate.c | unsigned char buf[256 + sizeof(int) * 2], cmd[6], *data, *page; |
page | 1630 | drivers/scsi/seagate.c | page = data + 4 + data[3]; |
page | 1631 | drivers/scsi/seagate.c | heads = (int) page[5]; |
page | 1632 | drivers/scsi/seagate.c | cylinders = (page[2] << 16) | (page[3] << 8) | page[4]; |
page | 1638 | drivers/scsi/seagate.c | page = data + 4 + data[3]; |
page | 1639 | drivers/scsi/seagate.c | sectors = (page[10] << 8) | page[11]; |
page | 477 | fs/binfmt_elf.c | bprm->p = copy_strings(1,&passed_p,bprm->page,bprm->p,2); |
page | 505 | fs/binfmt_elf.c | bprm->p += change_ldt(0, bprm->page); |
page | 932 | fs/buffer.c | static struct buffer_head * create_buffers(unsigned long page, unsigned long size) |
page | 945 | fs/buffer.c | bh->b_data = (char *) (page+offset); |
page | 986 | fs/buffer.c | unsigned long page; |
page | 991 | fs/buffer.c | page = (unsigned long) first->b_data; |
page | 992 | fs/buffer.c | if (page & ~PAGE_MASK) { |
page | 996 | fs/buffer.c | mem_map[MAP_NR(page)]++; |
page | 1007 | fs/buffer.c | if (page+offset != (unsigned long) first->b_data) |
page | 1015 | fs/buffer.c | return page; |
page | 1019 | fs/buffer.c | free_page(page); |
page | 1150 | fs/buffer.c | unsigned long page; |
page | 1162 | fs/buffer.c | if (!(page = __get_free_page(pri))) |
page | 1164 | fs/buffer.c | bh = create_buffers(page, size); |
page | 1166 | fs/buffer.c | free_page(page); |
page | 1192 | fs/buffer.c | buffer_pages[MAP_NR(page)] = bh; |
page | 1205 | fs/buffer.c | unsigned long page; |
page | 1210 | fs/buffer.c | page = (unsigned long) bh->b_data; |
page | 1211 | fs/buffer.c | page &= PAGE_MASK; |
page | 1236 | fs/buffer.c | buffer_pages[MAP_NR(page)] = NULL; |
page | 1237 | fs/buffer.c | free_page(page); |
page | 1238 | fs/buffer.c | return !mem_map[MAP_NR(page)]; |
page | 1420 | fs/buffer.c | unsigned long page; |
page | 1424 | fs/buffer.c | page = (unsigned long) bh->b_data; |
page | 1425 | fs/buffer.c | page &= PAGE_MASK; |
page | 1426 | fs/buffer.c | if(mem_map[MAP_NR(page)] != 1) return 0; |
page | 1502 | fs/buffer.c | unsigned long page; |
page | 1505 | fs/buffer.c | page = get_free_page(GFP_NOBUFFER); |
page | 1506 | fs/buffer.c | if(!page) return 0; |
page | 1508 | fs/buffer.c | bh = create_buffers(page, size); |
page | 1510 | fs/buffer.c | free_page(page); |
page | 1540 | fs/buffer.c | buffer_pages[MAP_NR(page)] = bh; |
page | 1550 | 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 | 408 | fs/exec.c | unsigned long copy_strings(int argc,char ** argv,unsigned long *page, |
page | 442 | fs/exec.c | if (!(pag = (char *) page[p/PAGE_SIZE]) && |
page | 443 | fs/exec.c | !(pag = (char *) page[p/PAGE_SIZE] = |
page | 458 | fs/exec.c | unsigned long change_ldt(unsigned long text_size,unsigned long * page) |
page | 470 | fs/exec.c | if (page[i]) { |
page | 472 | fs/exec.c | put_dirty_page(current,page[i],data_base); |
page | 609 | fs/exec.c | bprm.page[i] = 0; |
page | 703 | fs/exec.c | bprm.p = copy_strings(bprm.envc, envp, bprm.page, bprm.p, 0); |
page | 704 | fs/exec.c | bprm.p = copy_strings(--bprm.argc, argv+1, bprm.page, bprm.p, 0); |
page | 714 | fs/exec.c | bprm.p = copy_strings(1, &bprm.filename, bprm.page, bprm.p, 2); |
page | 717 | fs/exec.c | bprm.p = copy_strings(1, &i_arg, bprm.page, bprm.p, 2); |
page | 720 | fs/exec.c | bprm.p = copy_strings(1, &i_name, bprm.page, bprm.p, 2); |
page | 737 | fs/exec.c | bprm.p = copy_strings(bprm.envc,envp,bprm.page,bprm.p,0); |
page | 738 | fs/exec.c | bprm.p = copy_strings(bprm.argc,argv,bprm.page,bprm.p,0); |
page | 763 | fs/exec.c | free_page(bprm.page[i]); |
page | 899 | 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 | 394 | fs/inode.c | unsigned long page = (unsigned long) PIPE_BASE(*inode); |
page | 396 | fs/inode.c | free_page(page); |
page | 28 | fs/msdos/mmap.c | unsigned long page, |
page | 56 | fs/msdos/mmap.c | cur_read = msdos_file_read (inode,&filp,(char*)page |
page | 66 | fs/msdos/mmap.c | memset ((char*)page+PAGE_SIZE-clear,0,clear); |
page | 68 | fs/msdos/mmap.c | return page; |
page | 61 | fs/namei.c | unsigned long page; |
page | 75 | fs/namei.c | if(!(page = __get_free_page(GFP_KERNEL))) |
page | 77 | fs/namei.c | *result = tmp = (char *) page; |
page | 86 | 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, 0); |
page | 71 | fs/nfs/mmap.c | tmp = page + PAGE_SIZE; |
page | 75 | fs/nfs/mmap.c | return page; |
page | 193 | fs/proc/array.c | unsigned long page; |
page | 197 | fs/proc/array.c | page = *PAGE_DIR_OFFSET((*p)->tss.cr3,ptr); |
page | 198 | fs/proc/array.c | if (!(page & PAGE_PRESENT)) |
page | 200 | fs/proc/array.c | page &= PAGE_MASK; |
page | 201 | fs/proc/array.c | page += PAGE_PTR(ptr); |
page | 202 | fs/proc/array.c | page = *(unsigned long *) page; |
page | 203 | fs/proc/array.c | if (!(page & PAGE_PRESENT)) |
page | 205 | fs/proc/array.c | page &= PAGE_MASK; |
page | 206 | fs/proc/array.c | page += ptr & ~PAGE_MASK; |
page | 207 | fs/proc/array.c | return page; |
page | 468 | fs/proc/array.c | static int get_root_array(char * page, int type) |
page | 472 | fs/proc/array.c | return get_loadavg(page); |
page | 475 | fs/proc/array.c | return get_uptime(page); |
page | 478 | fs/proc/array.c | return get_meminfo(page); |
page | 481 | fs/proc/array.c | return get_version(page); |
page | 485 | fs/proc/array.c | return get_malloc(page); |
page | 489 | fs/proc/array.c | return get_module_list(page); |
page | 492 | fs/proc/array.c | return get_kstat(page); |
page | 495 | fs/proc/array.c | return get_device_list(page); |
page | 498 | fs/proc/array.c | return get_irq_list(page); |
page | 501 | fs/proc/array.c | return get_filesystem_list(page); |
page | 504 | fs/proc/array.c | return get_ksyms_list(page); |
page | 507 | fs/proc/array.c | return get_dma_list(page); |
page | 512 | fs/proc/array.c | static int get_process_array(char * page, int pid, int type) |
page | 516 | fs/proc/array.c | return get_env(pid, page); |
page | 518 | fs/proc/array.c | return get_arg(pid, page); |
page | 520 | fs/proc/array.c | return get_stat(pid, page); |
page | 522 | fs/proc/array.c | return get_statm(pid, page); |
page | 524 | fs/proc/array.c | return get_maps(pid, page); |
page | 530 | fs/proc/array.c | static inline int fill_array(char * page, int pid, int type) |
page | 533 | fs/proc/array.c | return get_process_array(page, pid, type); |
page | 534 | fs/proc/array.c | return get_root_array(page, type); |
page | 539 | fs/proc/array.c | unsigned long page; |
page | 546 | fs/proc/array.c | if (!(page = __get_free_page(GFP_KERNEL))) |
page | 551 | fs/proc/array.c | length = fill_array((char *) page, pid, type); |
page | 553 | fs/proc/array.c | free_page(page); |
page | 557 | fs/proc/array.c | free_page(page); |
page | 563 | fs/proc/array.c | memcpy_tofs(buf, (char *) page + file->f_pos, count); |
page | 564 | fs/proc/array.c | free_page(page); |
page | 29 | fs/proc/mem.c | unsigned long pte, page; |
page | 54 | fs/proc/mem.c | page = *(unsigned long *) pte; |
page | 55 | fs/proc/mem.c | if (!(page & 1)) |
page | 57 | fs/proc/mem.c | page &= PAGE_MASK; |
page | 58 | fs/proc/mem.c | page += addr & ~PAGE_MASK; |
page | 62 | fs/proc/mem.c | memcpy_tofs(tmp,(void *) page,i); |
page | 77 | fs/proc/mem.c | unsigned long pte, page; |
page | 102 | fs/proc/mem.c | page = *(unsigned long *) pte; |
page | 103 | fs/proc/mem.c | if (!(page & PAGE_PRESENT)) |
page | 105 | fs/proc/mem.c | if (!(page & 2)) { |
page | 109 | fs/proc/mem.c | page &= PAGE_MASK; |
page | 110 | fs/proc/mem.c | page += addr & ~PAGE_MASK; |
page | 114 | fs/proc/mem.c | memcpy_fromfs((void *) page,tmp,i); |
page | 193 | fs/proc/net.c | char * page; |
page | 203 | fs/proc/net.c | if (!(page = (char*) __get_free_page(GFP_KERNEL))) |
page | 216 | fs/proc/net.c | length = unix_get_info(page,&start,file->f_pos,thistime); |
page | 220 | fs/proc/net.c | length = arp_get_info(page,&start,file->f_pos,thistime); |
page | 223 | fs/proc/net.c | length = rt_get_info(page,&start,file->f_pos,thistime); |
page | 226 | fs/proc/net.c | length = dev_get_info(page,&start,file->f_pos,thistime); |
page | 229 | fs/proc/net.c | length = raw_get_info(page,&start,file->f_pos,thistime); |
page | 232 | fs/proc/net.c | length = tcp_get_info(page,&start,file->f_pos,thistime); |
page | 235 | fs/proc/net.c | length = udp_get_info(page,&start,file->f_pos,thistime); |
page | 238 | fs/proc/net.c | length = snmp_get_info(page, &start, file->f_pos,thistime); |
page | 242 | fs/proc/net.c | length = rarp_get_info(page,&start,file->f_pos,thistime); |
page | 248 | fs/proc/net.c | length = ipx_rt_get_info(page,&start,file->f_pos,thistime); |
page | 251 | fs/proc/net.c | length = ipx_get_info(page,&start,file->f_pos,thistime); |
page | 256 | fs/proc/net.c | length = ax25_rt_get_info(page,&start,file->f_pos,thistime); |
page | 259 | fs/proc/net.c | length = ax25_get_info(page,&start,file->f_pos,thistime); |
page | 263 | fs/proc/net.c | length = nr_nodes_get_info(page,&start,file->f_pos,thistime); |
page | 266 | fs/proc/net.c | length = nr_neigh_get_info(page,&start,file->f_pos,thistime); |
page | 269 | fs/proc/net.c | length = nr_get_info(page,&start,file->f_pos,thistime); |
page | 275 | fs/proc/net.c | free_page((unsigned long) page); |
page | 297 | fs/proc/net.c | free_page((unsigned long) page); |
page | 509 | fs/super.c | unsigned long page; |
page | 528 | fs/super.c | if (!(page = __get_free_page(GFP_KERNEL))) { |
page | 531 | fs/super.c | memcpy_fromfs((void *) page,data,i); |
page | 532 | fs/super.c | *where = page; |
page | 560 | fs/super.c | unsigned long page = 0; |
page | 566 | fs/super.c | retval = copy_mount_options (data, &page); |
page | 571 | fs/super.c | (char *) page); |
page | 572 | fs/super.c | free_page(page); |
page | 575 | fs/super.c | retval = copy_mount_options (type, &page); |
page | 578 | fs/super.c | fstype = get_fs_type((char *) page); |
page | 579 | fs/super.c | free_page(page); |
page | 617 | fs/super.c | page = 0; |
page | 620 | fs/super.c | retval = copy_mount_options(data, &page); |
page | 626 | fs/super.c | retval = do_mount(dev,dir_name,t,flags,(void *) page); |
page | 627 | fs/super.c | free_page(page); |
page | 34 | fs/sysv/mmap.c | unsigned long address, unsigned long page, int no_share) |
page | 48 | fs/sysv/mmap.c | count = sysv_file_read (area->vm_inode, &filp, (char *)page, remaining); |
page | 55 | fs/sysv/mmap.c | memset((char *)page + count, 0, remaining); |
page | 56 | fs/sysv/mmap.c | return page; |
page | 449 | ibcs/binfmt_coff.c | bprm->p += change_ldt (0, bprm->page); |
page | 412 | ibcs/binfmt_elf.c | bprm->p = copy_strings(1,&passed_p,bprm->page,bprm->p,2); |
page | 437 | 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 | 75 | include/linux/mm.h | unsigned long page, int error_code); |
page | 77 | include/linux/mm.h | unsigned long page); |
page | 140 | include/linux/mm.h | unsigned long page; |
page | 142 | include/linux/mm.h | page = __get_free_page(priority); |
page | 143 | include/linux/mm.h | if (page) |
page | 146 | include/linux/mm.h | :"a" (0),"c" (1024),"D" (page) |
page | 148 | include/linux/mm.h | return page; |
page | 157 | include/linux/mm.h | extern unsigned long put_dirty_page(struct task_struct * tsk,unsigned long page, |
page | 164 | ipc/shm.c | ulong page; |
page | 183 | ipc/shm.c | if (!(page = shp->shm_pages[i])) |
page | 185 | ipc/shm.c | if (page & PAGE_PRESENT) { |
page | 186 | ipc/shm.c | free_page (page & PAGE_MASK); |
page | 189 | ipc/shm.c | swap_free (page); |
page | 616 | ipc/shm.c | unsigned long page; |
page | 637 | ipc/shm.c | if(!(page = get_free_page(GFP_KERNEL))) { |
page | 642 | ipc/shm.c | free_page (page); |
page | 646 | ipc/shm.c | read_swap_page (shp->shm_pages[idx], (char *) page); |
page | 648 | ipc/shm.c | free_page (page); |
page | 655 | ipc/shm.c | shp->shm_pages[idx] = page | (PAGE_SHARED | PAGE_DIRTY); |
page | 661 | ipc/shm.c | page = shp->shm_pages[idx]; |
page | 663 | ipc/shm.c | page &= ~PAGE_RW; |
page | 664 | ipc/shm.c | mem_map[MAP_NR(page)]++; |
page | 665 | ipc/shm.c | return page; |
page | 676 | ipc/shm.c | unsigned long page; |
page | 706 | ipc/shm.c | page = shp->shm_pages[idx]; |
page | 707 | ipc/shm.c | if (!(page & PAGE_PRESENT)) |
page | 744 | ipc/shm.c | mem_map[MAP_NR(page)]--; |
page | 749 | ipc/shm.c | if (mem_map[MAP_NR(page)] != 1) |
page | 751 | ipc/shm.c | page &= PAGE_MASK; |
page | 755 | ipc/shm.c | write_swap_page (swap_nr, (char *) page); |
page | 756 | 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 | 290 | mm/memory.c | unsigned long page, page_dir; |
page | 320 | mm/memory.c | if ((page = *page_table) != 0) { |
page | 322 | mm/memory.c | if (PAGE_PRESENT & page) { |
page | 323 | mm/memory.c | if (!(mem_map[MAP_NR(page)] & MAP_PAGE_RESERVED)) |
page | 326 | mm/memory.c | free_page(PAGE_MASK & page); |
page | 328 | mm/memory.c | swap_free(page); |
page | 344 | mm/memory.c | unsigned long page; |
page | 380 | mm/memory.c | if ((page = *page_table) != 0) { |
page | 382 | mm/memory.c | if (page & PAGE_PRESENT) { |
page | 383 | mm/memory.c | if (!(mem_map[MAP_NR(page)] & MAP_PAGE_RESERVED)) |
page | 386 | mm/memory.c | free_page(PAGE_MASK & page); |
page | 388 | mm/memory.c | swap_free(page); |
page | 407 | mm/memory.c | unsigned long page; |
page | 442 | mm/memory.c | if ((page = *page_table) != 0) { |
page | 444 | mm/memory.c | if (PAGE_PRESENT & page) { |
page | 445 | mm/memory.c | if (!(mem_map[MAP_NR(page)] & MAP_PAGE_RESERVED)) |
page | 448 | mm/memory.c | free_page(PAGE_MASK & page); |
page | 450 | mm/memory.c | swap_free(page); |
page | 486 | mm/memory.c | unsigned long put_page(struct task_struct * tsk,unsigned long page, |
page | 493 | mm/memory.c | if (page >= high_memory) { |
page | 494 | mm/memory.c | printk("put_page: trying to put page %08lx at %08lx\n",page,address); |
page | 512 | mm/memory.c | *page_table = page | prot; |
page | 514 | mm/memory.c | return page; |
page | 523 | mm/memory.c | unsigned long put_dirty_page(struct task_struct * tsk, unsigned long page, unsigned long address) |
page | 527 | mm/memory.c | if (page >= high_memory) |
page | 528 | mm/memory.c | printk("put_dirty_page: trying to put page %08lx at %08lx\n",page,address); |
page | 529 | mm/memory.c | if (mem_map[MAP_NR(page)] != 1) |
page | 530 | mm/memory.c | printk("mem_map disagrees with %08lx at %08lx\n",page,address); |
page | 551 | mm/memory.c | *page_table = page | (PAGE_DIRTY | PAGE_PRIVATE); |
page | 553 | mm/memory.c | return page; |
page | 860 | mm/memory.c | unsigned long page; |
page | 870 | mm/memory.c | page = get_free_page(GFP_KERNEL); |
page | 873 | mm/memory.c | free_page(page); |
page | 880 | mm/memory.c | if (page) { |
page | 881 | mm/memory.c | *p = page | PAGE_TABLE; |
page | 892 | mm/memory.c | unsigned long page; |
page | 895 | mm/memory.c | page = vma->vm_ops->swapin(vma, entry); |
page | 897 | mm/memory.c | page = swap_in(entry); |
page | 899 | mm/memory.c | free_page(page); |
page | 902 | mm/memory.c | page = page | vma->vm_page_prot; |
page | 903 | mm/memory.c | if (mem_map[MAP_NR(page)] > 1 && (page & PAGE_COW)) |
page | 904 | mm/memory.c | page &= ~PAGE_RW; |
page | 907 | mm/memory.c | *pge = page; |
page | 914 | mm/memory.c | unsigned long page, entry, prot; |
page | 916 | mm/memory.c | page = get_empty_pgtable(vma->vm_task,address); |
page | 917 | mm/memory.c | if (!page) |
page | 919 | mm/memory.c | page &= PAGE_MASK; |
page | 920 | mm/memory.c | page += PAGE_PTR(address); |
page | 921 | mm/memory.c | entry = *(unsigned long *) page; |
page | 925 | mm/memory.c | do_swap_page(vma, address, (unsigned long *) page, entry); |
page | 936 | mm/memory.c | page = get_free_page(GFP_KERNEL); |
page | 937 | mm/memory.c | if (share_page(vma, address, error_code, page)) { |
page | 942 | mm/memory.c | if (!page) { |
page | 955 | mm/memory.c | page = vma->vm_ops->nopage(vma, address, page, (error_code & PAGE_RW) && (prot & PAGE_COW)); |
page | 957 | mm/memory.c | free_page(page); |
page | 966 | mm/memory.c | } else if ((prot & PAGE_COW) && mem_map[MAP_NR(page)] > 1) |
page | 968 | mm/memory.c | if (put_page(vma->vm_task, page, address, prot)) |
page | 970 | mm/memory.c | free_page(page); |
page | 983 | mm/memory.c | unsigned long page; |
page | 1055 | mm/memory.c | __asm__("movl %%cr3,%0" : "=r" (page)); |
page | 1057 | mm/memory.c | current->tss.cr3, page); |
page | 1058 | mm/memory.c | page = ((unsigned long *) page)[address >> 22]; |
page | 1059 | mm/memory.c | printk(KERN_ALERT "*pde = %08lx\n", page); |
page | 1060 | mm/memory.c | if (page & PAGE_PRESENT) { |
page | 1061 | mm/memory.c | page &= PAGE_MASK; |
page | 1063 | mm/memory.c | page = ((unsigned long *) page)[address >> PAGE_SHIFT]; |
page | 1064 | mm/memory.c | printk(KERN_ALERT "*pte = %08lx\n", page); |
page | 1293 | mm/memory.c | unsigned long page, int no_share) |
page | 1311 | mm/memory.c | return bread_page(page, inode->i_dev, nr, inode->i_sb->s_blocksize, no_share); |
page | 24 | mm/mprotect.c | unsigned long page, offset; |
page | 31 | mm/mprotect.c | page = *dir; |
page | 33 | mm/mprotect.c | if (!(page & PAGE_PRESENT)) { |
page | 38 | mm/mprotect.c | page_table = offset + (unsigned long *) (page & PAGE_MASK); |
page | 44 | mm/mprotect.c | page = *page_table; |
page | 45 | mm/mprotect.c | if (page & PAGE_PRESENT) |
page | 46 | mm/mprotect.c | *page_table = (page & CHG_MASK) | prot; |
page | 277 | mm/swap.c | unsigned long page; |
page | 279 | mm/swap.c | if (!(page = get_free_page(GFP_KERNEL))) { |
page | 283 | mm/swap.c | read_swap_page(entry, (char *) page); |
page | 284 | mm/swap.c | if (add_to_swap_cache(page, entry)) |
page | 285 | mm/swap.c | return page | PAGE_PRESENT; |
page | 287 | mm/swap.c | return page | PAGE_DIRTY | PAGE_PRESENT; |
page | 292 | mm/swap.c | unsigned long page, entry; |
page | 294 | mm/swap.c | page = *table_ptr; |
page | 295 | mm/swap.c | if (!(PAGE_PRESENT & page)) |
page | 297 | mm/swap.c | if (page >= high_memory) |
page | 299 | mm/swap.c | if (mem_map[MAP_NR(page)] & MAP_PAGE_RESERVED) |
page | 302 | mm/swap.c | if ((PAGE_DIRTY & page) && delete_from_swap_cache(page)) { |
page | 306 | mm/swap.c | if (PAGE_ACCESSED & page) { |
page | 310 | mm/swap.c | if (PAGE_DIRTY & page) { |
page | 311 | mm/swap.c | page &= PAGE_MASK; |
page | 312 | mm/swap.c | if (mem_map[MAP_NR(page)] != 1) |
page | 318 | mm/swap.c | write_swap_page(entry, (char *) page); |
page | 319 | mm/swap.c | free_page(page); |
page | 322 | mm/swap.c | if ((entry = find_in_swap_cache(page))) { |
page | 323 | mm/swap.c | if (mem_map[MAP_NR(page)] != 1) { |
page | 330 | mm/swap.c | free_page(page & PAGE_MASK); |
page | 333 | mm/swap.c | page &= PAGE_MASK; |
page | 336 | mm/swap.c | free_page(page); |
page | 337 | mm/swap.c | return 1 + mem_map[MAP_NR(page)]; |
page | 709 | mm/swap.c | unsigned long page, *ppage; |
page | 726 | mm/swap.c | page = *ppage; |
page | 727 | mm/swap.c | if (!page) |
page | 729 | mm/swap.c | if (!(page & PAGE_PRESENT) || (page >= high_memory)) |
page | 731 | mm/swap.c | if (mem_map[MAP_NR(page)] & MAP_PAGE_RESERVED) |
page | 733 | mm/swap.c | ppage = (unsigned long *) (page & PAGE_MASK); |
page | 735 | mm/swap.c | page = *ppage; |
page | 736 | mm/swap.c | if (!page) |
page | 738 | mm/swap.c | if (page & PAGE_PRESENT) { |
page | 739 | mm/swap.c | if (!(page = in_swap_cache(page))) |
page | 741 | mm/swap.c | if (SWP_TYPE(page) != type) |
page | 747 | mm/swap.c | if (SWP_TYPE(page) != type) |
page | 754 | mm/swap.c | read_swap_page(page, (char *) tmp); |
page | 755 | mm/swap.c | if (*ppage == page) { |
page | 758 | 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; |