tag | line | file | source code |
page | 449 | arch/i386/ibcs/binfmt_coff.c | bprm->p += change_ldt (0, bprm->page); |
page | 411 | arch/i386/ibcs/binfmt_elf.c | bprm->p = copy_strings(1,&passed_p,bprm->page,bprm->p,2); |
page | 436 | arch/i386/ibcs/binfmt_elf.c | bprm->p += change_ldt(0, bprm->page); |
page | 92 | arch/i386/kernel/ptrace.c | unsigned long page; |
page | 120 | arch/i386/kernel/ptrace.c | page = pte_page(*pgtable); |
page | 122 | arch/i386/kernel/ptrace.c | if (page >= high_memory) |
page | 124 | arch/i386/kernel/ptrace.c | page += addr & ~PAGE_MASK; |
page | 125 | arch/i386/kernel/ptrace.c | return *(unsigned long *) page; |
page | 143 | arch/i386/kernel/ptrace.c | unsigned long page; |
page | 171 | arch/i386/kernel/ptrace.c | page = pte_page(*pgtable); |
page | 177 | arch/i386/kernel/ptrace.c | if (page < high_memory) { |
page | 178 | arch/i386/kernel/ptrace.c | page += addr & ~PAGE_MASK; |
page | 179 | arch/i386/kernel/ptrace.c | *(unsigned long *) page = data; |
page | 183 | arch/i386/kernel/ptrace.c | *pgtable = pte_mkdirty(mk_pte(page, vma->vm_page_prot)); |
page | 39 | arch/i386/mm/fault.c | unsigned long page; |
page | 122 | arch/i386/mm/fault.c | __asm__("movl %%cr3,%0" : "=r" (page)); |
page | 124 | arch/i386/mm/fault.c | current->tss.cr3, page); |
page | 125 | arch/i386/mm/fault.c | page = ((unsigned long *) page)[address >> 22]; |
page | 126 | arch/i386/mm/fault.c | printk(KERN_ALERT "*pde = %08lx\n", page); |
page | 127 | arch/i386/mm/fault.c | if (page & 1) { |
page | 128 | arch/i386/mm/fault.c | page &= PAGE_MASK; |
page | 130 | arch/i386/mm/fault.c | page = ((unsigned long *) page)[address >> PAGE_SHIFT]; |
page | 131 | arch/i386/mm/fault.c | printk(KERN_ALERT "*pte = %08lx\n", page); |
page | 89 | arch/mips/kernel/ptrace.c | unsigned long page; |
page | 107 | arch/mips/kernel/ptrace.c | page = pte_page(*pgtable); |
page | 109 | arch/mips/kernel/ptrace.c | if (page >= high_memory) |
page | 111 | arch/mips/kernel/ptrace.c | page += addr & ~PAGE_MASK; |
page | 112 | arch/mips/kernel/ptrace.c | return *(unsigned long *) page; |
page | 129 | arch/mips/kernel/ptrace.c | unsigned long page; |
page | 147 | arch/mips/kernel/ptrace.c | page = pte_page(*pgtable); |
page | 153 | arch/mips/kernel/ptrace.c | if (page < high_memory) { |
page | 154 | arch/mips/kernel/ptrace.c | page += addr & ~PAGE_MASK; |
page | 155 | arch/mips/kernel/ptrace.c | *(unsigned long *) page = data; |
page | 159 | arch/mips/kernel/ptrace.c | *pgtable = pte_mkdirty(mk_pte(page, vma->vm_page_prot)); |
page | 41 | arch/mips/mm/fault.c | unsigned long page; |
page | 110 | arch/mips/mm/fault.c | page = current->tss.pg_dir; |
page | 111 | arch/mips/mm/fault.c | printk(KERN_ALERT "current->tss.pg_dir = %08lx\n", page); |
page | 112 | arch/mips/mm/fault.c | page = ((unsigned long *) page)[address >> PGDIR_SHIFT]; |
page | 113 | arch/mips/mm/fault.c | printk(KERN_ALERT "*pde = %08lx\n", page); |
page | 114 | arch/mips/mm/fault.c | if (page & 1) { |
page | 115 | arch/mips/mm/fault.c | page &= PAGE_MASK; |
page | 117 | arch/mips/mm/fault.c | page = ((unsigned long *) page)[address >> PAGE_SHIFT]; |
page | 118 | arch/mips/mm/fault.c | printk(KERN_ALERT "*pte = %08lx\n", page); |
page | 409 | drivers/block/ll_rw_blk.c | void ll_rw_page(int rw, int dev, int page, char * buffer) |
page | 416 | drivers/block/ll_rw_blk.c | printk("Trying to read nonexistent block-device %04x (%d)\n",dev,page*8); |
page | 429 | drivers/block/ll_rw_blk.c | req->sector = page<<3; |
page | 728 | drivers/net/ewrk3.c | char csr, page; |
page | 747 | drivers/net/ewrk3.c | for (page=1;page<lp->mPage;page++) { /* Write the free page numbers */ |
page | 748 | drivers/net/ewrk3.c | outb(page, EWRK3_FMQ); /* to the Free Memory Queue */ |
page | 814 | drivers/net/ewrk3.c | unsigned char page; |
page | 816 | drivers/net/ewrk3.c | if ((page = inb(EWRK3_FMQ)) < lp->mPage) { |
page | 824 | drivers/net/ewrk3.c | outb(page, EWRK3_IOPR); |
page | 827 | drivers/net/ewrk3.c | outb(page, EWRK3_MPR); |
page | 829 | drivers/net/ewrk3.c | buf = (char *)((((short)page << 11) & 0x7800) + lp->shmem_base); |
page | 830 | drivers/net/ewrk3.c | outb((page >> 4), EWRK3_MPR); |
page | 832 | drivers/net/ewrk3.c | buf = (char *)((((short)page << 11) & 0xf800) + lp->shmem_base); |
page | 833 | drivers/net/ewrk3.c | outb((page >> 5), EWRK3_MPR); |
page | 857 | drivers/net/ewrk3.c | outb(page, EWRK3_TQ); /* Start sending pkt */ |
page | 866 | drivers/net/ewrk3.c | outb(page, EWRK3_TQ); /* Start sending pkt */ |
page | 873 | drivers/net/ewrk3.c | outb(page, EWRK3_TQ); /* Start sending pkt */ |
page | 882 | drivers/net/ewrk3.c | outb(page, EWRK3_FMQ); |
page | 887 | drivers/net/ewrk3.c | (unsigned char) page); |
page | 978 | drivers/net/ewrk3.c | unsigned char page, tmpPage = 0, tmpLock = 0, *buf; |
page | 982 | drivers/net/ewrk3.c | if ((page = inb(EWRK3_RQ)) < lp->mPage) {/* Get next entry's buffer page */ |
page | 1001 | drivers/net/ewrk3.c | outb(page, EWRK3_IOPR); |
page | 1004 | drivers/net/ewrk3.c | outb(page, EWRK3_MPR); |
page | 1006 | drivers/net/ewrk3.c | buf = (char *)((((short)page << 11) & 0x7800) + lp->shmem_base); |
page | 1007 | drivers/net/ewrk3.c | outb((page >> 4), EWRK3_MPR); |
page | 1009 | drivers/net/ewrk3.c | buf = (char *)((((short)page << 11) & 0xf800) + lp->shmem_base); |
page | 1010 | drivers/net/ewrk3.c | outb((page >> 5), EWRK3_MPR); |
page | 1095 | drivers/net/ewrk3.c | outb(page, EWRK3_FMQ); |
page | 1106 | drivers/net/ewrk3.c | printk("ewrk3_rx(): Illegal page number, page %d\n",page); |
page | 1875 | drivers/scsi/scsi.c | int page, sector, nbits, mask; |
page | 1884 | drivers/scsi/scsi.c | for (page = 0; page < (dma_sectors >> 3); page++) |
page | 1885 | drivers/scsi/scsi.c | if ((unsigned long) obj >= (unsigned long) dma_malloc_pages[page] && |
page | 1886 | drivers/scsi/scsi.c | (unsigned long) obj < (unsigned long) dma_malloc_pages[page] + (1 << MALLOC_PAGEBITS)) |
page | 1888 | drivers/scsi/scsi.c | offset = ((unsigned long) obj) - ((unsigned long)dma_malloc_pages[page]); |
page | 1892 | drivers/scsi/scsi.c | if (page == (dma_sectors >> 3)) panic("Bad offset"); |
page | 1904 | drivers/scsi/scsi.c | if(dma_malloc_freelist[page] & (mask << sector) != (mask<<sector)) |
page | 1908 | 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 | 465 | fs/binfmt_elf.c | bprm->p = copy_strings(1,&passed_p,bprm->page,bprm->p,2); |
page | 491 | fs/binfmt_elf.c | bprm->p += setup_arg_pages(0, bprm->page); |
page | 933 | fs/buffer.c | static struct buffer_head * create_buffers(unsigned long page, unsigned long size) |
page | 946 | fs/buffer.c | bh->b_data = (char *) (page+offset); |
page | 1003 | fs/buffer.c | unsigned long page; |
page | 1011 | fs/buffer.c | page = (unsigned long) first->b_data; |
page | 1012 | fs/buffer.c | if (page & ~PAGE_MASK) |
page | 1022 | fs/buffer.c | if (page+offset != (unsigned long) first->b_data) |
page | 1027 | fs/buffer.c | mem_map[MAP_NR(page)]++; |
page | 1033 | fs/buffer.c | return page; |
page | 1167 | fs/buffer.c | unsigned long page; |
page | 1179 | fs/buffer.c | if (!(page = __get_free_page(pri))) |
page | 1181 | fs/buffer.c | bh = create_buffers(page, size); |
page | 1183 | fs/buffer.c | free_page(page); |
page | 1209 | fs/buffer.c | buffer_pages[MAP_NR(page)] = bh; |
page | 1225 | fs/buffer.c | unsigned long page; |
page | 1230 | fs/buffer.c | page = (unsigned long) bh->b_data; |
page | 1231 | fs/buffer.c | page &= PAGE_MASK; |
page | 1256 | fs/buffer.c | buffer_pages[MAP_NR(page)] = NULL; |
page | 1257 | fs/buffer.c | free_page(page); |
page | 1258 | fs/buffer.c | return !mem_map[MAP_NR(page)]; |
page | 1445 | fs/buffer.c | unsigned long page; |
page | 1449 | fs/buffer.c | page = (unsigned long) bh->b_data; |
page | 1450 | fs/buffer.c | page &= PAGE_MASK; |
page | 1451 | fs/buffer.c | if(mem_map[MAP_NR(page)] != 1) return 0; |
page | 1527 | fs/buffer.c | unsigned long page; |
page | 1530 | fs/buffer.c | page = get_free_page(GFP_NOBUFFER); |
page | 1531 | fs/buffer.c | if(!page) return 0; |
page | 1533 | fs/buffer.c | bh = create_buffers(page, size); |
page | 1535 | fs/buffer.c | free_page(page); |
page | 1565 | fs/buffer.c | buffer_pages[MAP_NR(page)] = bh; |
page | 1575 | 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 | 387 | fs/exec.c | unsigned long copy_strings(int argc,char ** argv,unsigned long *page, |
page | 421 | fs/exec.c | if (!(pag = (char *) page[p/PAGE_SIZE]) && |
page | 422 | fs/exec.c | !(pag = (char *) page[p/PAGE_SIZE] = |
page | 437 | fs/exec.c | unsigned long setup_arg_pages(unsigned long text_size,unsigned long * page) |
page | 449 | fs/exec.c | if (page[i]) { |
page | 451 | fs/exec.c | put_dirty_page(current,page[i],data_base); |
page | 562 | fs/exec.c | bprm.page[i] = 0; |
page | 657 | fs/exec.c | bprm.p = copy_strings(bprm.envc, envp, bprm.page, bprm.p, 0); |
page | 658 | fs/exec.c | bprm.p = copy_strings(--bprm.argc, argv+1, bprm.page, bprm.p, 0); |
page | 668 | fs/exec.c | bprm.p = copy_strings(1, &bprm.filename, bprm.page, bprm.p, 2); |
page | 671 | fs/exec.c | bprm.p = copy_strings(1, &i_arg, bprm.page, bprm.p, 2); |
page | 674 | fs/exec.c | bprm.p = copy_strings(1, &i_name, bprm.page, bprm.p, 2); |
page | 691 | fs/exec.c | bprm.p = copy_strings(bprm.envc,envp,bprm.page,bprm.p,0); |
page | 692 | fs/exec.c | bprm.p = copy_strings(bprm.argc,argv,bprm.page,bprm.p,0); |
page | 717 | fs/exec.c | free_page(bprm.page[i]); |
page | 837 | fs/exec.c | p += setup_arg_pages(ex.a_text,bprm->page); |
page | 16 | fs/fifo.c | unsigned long page; |
page | 103 | fs/fifo.c | page = __get_free_page(GFP_KERNEL); |
page | 105 | fs/fifo.c | free_page(page); |
page | 108 | fs/fifo.c | if (!page) |
page | 112 | 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 | 32 | fs/msdos/mmap.c | unsigned long page, |
page | 61 | fs/msdos/mmap.c | cur_read = msdos_file_read (inode,&filp,(char*)page |
page | 71 | fs/msdos/mmap.c | memset ((char*)page+PAGE_SIZE-clear,0,clear); |
page | 73 | fs/msdos/mmap.c | return page; |
page | 57 | fs/namei.c | unsigned long page; |
page | 71 | fs/namei.c | if(!(page = __get_free_page(GFP_KERNEL))) |
page | 73 | fs/namei.c | *result = tmp = (char *) page; |
page | 82 | fs/namei.c | free_page(page); |
page | 34 | fs/nfs/mmap.c | unsigned long address, unsigned long page, int no_share) |
page | 61 | fs/nfs/mmap.c | pos, hunk, (char *) (page + i), &fattr, 0); |
page | 75 | fs/nfs/mmap.c | tmp = page + PAGE_SIZE; |
page | 79 | fs/nfs/mmap.c | return page; |
page | 545 | fs/proc/array.c | pte_t page = *pte; |
page | 549 | fs/proc/array.c | if (pte_none(page)) |
page | 552 | fs/proc/array.c | if (!pte_present(page)) |
page | 555 | fs/proc/array.c | if (pte_dirty(page)) |
page | 557 | fs/proc/array.c | if (pte_page(page) >= high_memory) |
page | 559 | fs/proc/array.c | if (mem_map[MAP_NR(pte_page(page))] > 1) |
page | 757 | fs/proc/array.c | static int get_root_array(char * page, int type) |
page | 761 | fs/proc/array.c | return get_loadavg(page); |
page | 764 | fs/proc/array.c | return get_uptime(page); |
page | 767 | fs/proc/array.c | return get_meminfo(page); |
page | 771 | fs/proc/array.c | return get_pci_list(page); |
page | 775 | fs/proc/array.c | return get_cpuinfo(page); |
page | 778 | fs/proc/array.c | return get_version(page); |
page | 782 | fs/proc/array.c | return get_malloc(page); |
page | 786 | fs/proc/array.c | return get_module_list(page); |
page | 789 | fs/proc/array.c | return get_kstat(page); |
page | 792 | fs/proc/array.c | return get_device_list(page); |
page | 795 | fs/proc/array.c | return get_irq_list(page); |
page | 798 | fs/proc/array.c | return get_filesystem_list(page); |
page | 801 | fs/proc/array.c | return get_ksyms_list(page); |
page | 804 | fs/proc/array.c | return get_dma_list(page); |
page | 807 | fs/proc/array.c | return get_ioport_list(page); |
page | 812 | fs/proc/array.c | static int get_process_array(char * page, int pid, int type) |
page | 816 | fs/proc/array.c | return get_env(pid, page); |
page | 818 | fs/proc/array.c | return get_arg(pid, page); |
page | 820 | fs/proc/array.c | return get_stat(pid, page); |
page | 822 | fs/proc/array.c | return get_statm(pid, page); |
page | 828 | fs/proc/array.c | static inline int fill_array(char * page, int pid, int type) |
page | 831 | fs/proc/array.c | return get_process_array(page, pid, type); |
page | 832 | fs/proc/array.c | return get_root_array(page, type); |
page | 837 | fs/proc/array.c | unsigned long page; |
page | 844 | fs/proc/array.c | if (!(page = __get_free_page(GFP_KERNEL))) |
page | 849 | fs/proc/array.c | length = fill_array((char *) page, pid, type); |
page | 851 | fs/proc/array.c | free_page(page); |
page | 855 | fs/proc/array.c | free_page(page); |
page | 861 | fs/proc/array.c | memcpy_tofs(buf, (char *) page + file->f_pos, count); |
page | 862 | fs/proc/array.c | free_page(page); |
page | 32 | fs/proc/mem.c | char * page; |
page | 74 | fs/proc/mem.c | page = (char *) pte_page(pte) + (addr & ~PAGE_MASK); |
page | 78 | fs/proc/mem.c | memcpy_tofs(tmp, page, i); |
page | 94 | fs/proc/mem.c | char * page; |
page | 138 | fs/proc/mem.c | page = (char *) pte_page(pte) + (addr & ~PAGE_MASK); |
page | 142 | fs/proc/mem.c | memcpy_fromfs(page, tmp, i); |
page | 241 | fs/proc/net.c | char * page; |
page | 251 | fs/proc/net.c | if (!(page = (char*) __get_free_page(GFP_KERNEL))) |
page | 264 | fs/proc/net.c | length = unix_get_info(page,&start,file->f_pos,thistime); |
page | 268 | fs/proc/net.c | length = afinet_get_info(page,&start,file->f_pos,thistime); |
page | 271 | fs/proc/net.c | length = arp_get_info(page,&start,file->f_pos,thistime); |
page | 274 | fs/proc/net.c | length = rt_get_info(page,&start,file->f_pos,thistime); |
page | 277 | fs/proc/net.c | length = dev_get_info(page,&start,file->f_pos,thistime); |
page | 280 | fs/proc/net.c | length = raw_get_info(page,&start,file->f_pos,thistime); |
page | 283 | fs/proc/net.c | length = tcp_get_info(page,&start,file->f_pos,thistime); |
page | 286 | fs/proc/net.c | length = udp_get_info(page,&start,file->f_pos,thistime); |
page | 289 | fs/proc/net.c | length = snmp_get_info(page, &start, file->f_pos,thistime); |
page | 293 | fs/proc/net.c | length = ip_mc_procinfo(page, &start, file->f_pos,thistime); |
page | 298 | fs/proc/net.c | length = ip_fw_fwd_procinfo(page, &start, file->f_pos, |
page | 302 | fs/proc/net.c | length = ip_fw_blk_procinfo(page, &start, file->f_pos, |
page | 308 | fs/proc/net.c | length = ip_acct_procinfo(page, &start, file->f_pos, |
page | 314 | fs/proc/net.c | length = ip_msqhst_procinfo(page, &start, file->f_pos,thistime); |
page | 319 | fs/proc/net.c | length = rarp_get_info(page,&start,file->f_pos,thistime); |
page | 324 | fs/proc/net.c | length = wavelan_get_info(page, &start, file->f_pos, thistime); |
page | 330 | fs/proc/net.c | length = ipx_get_interface_info(page, &start, file->f_pos, thistime); |
page | 333 | fs/proc/net.c | length = ipx_rt_get_info(page,&start,file->f_pos,thistime); |
page | 336 | fs/proc/net.c | length = ipx_get_info(page,&start,file->f_pos,thistime); |
page | 341 | fs/proc/net.c | length = atalk_get_info(page, &start, file->f_pos, thistime); |
page | 344 | fs/proc/net.c | length = atalk_rt_get_info(page, &start, file->f_pos, thistime); |
page | 347 | fs/proc/net.c | length = atalk_if_get_info(page, &start, file->f_pos, thistime); |
page | 352 | fs/proc/net.c | length = ax25_rt_get_info(page,&start,file->f_pos,thistime); |
page | 355 | fs/proc/net.c | length = ax25_get_info(page,&start,file->f_pos,thistime); |
page | 359 | fs/proc/net.c | length = nr_nodes_get_info(page,&start,file->f_pos,thistime); |
page | 362 | fs/proc/net.c | length = nr_neigh_get_info(page,&start,file->f_pos,thistime); |
page | 365 | fs/proc/net.c | length = nr_get_info(page,&start,file->f_pos,thistime); |
page | 371 | fs/proc/net.c | free_page((unsigned long) page); |
page | 393 | fs/proc/net.c | free_page((unsigned long) page); |
page | 514 | fs/super.c | unsigned long page; |
page | 527 | fs/super.c | if (!(page = __get_free_page(GFP_KERNEL))) { |
page | 530 | fs/super.c | memcpy_fromfs((void *) page,data,i); |
page | 531 | fs/super.c | *where = page; |
page | 559 | fs/super.c | unsigned long page = 0; |
page | 565 | fs/super.c | retval = copy_mount_options (data, &page); |
page | 570 | fs/super.c | (char *) page); |
page | 571 | fs/super.c | free_page(page); |
page | 574 | fs/super.c | retval = copy_mount_options (type, &page); |
page | 577 | fs/super.c | fstype = get_fs_type((char *) page); |
page | 578 | fs/super.c | free_page(page); |
page | 622 | fs/super.c | page = 0; |
page | 625 | fs/super.c | retval = copy_mount_options(data, &page); |
page | 631 | fs/super.c | retval = do_mount(dev,dir_name,t,flags,(void *) page); |
page | 632 | fs/super.c | free_page(page); |
page | 140 | include/asm-alpha/pgtable.h | extern inline pte_t mk_pte(unsigned long page, pgprot_t pgprot) |
page | 141 | include/asm-alpha/pgtable.h | { pte_t pte; pte_val(pte) = ((page-PAGE_OFFSET) << (32-PAGE_SHIFT)) | pgprot_val(pgprot); return pte; } |
page | 262 | include/asm-alpha/pgtable.h | pte_t *page = (pte_t *) get_free_page(GFP_KERNEL); |
page | 264 | include/asm-alpha/pgtable.h | if (page) { |
page | 265 | include/asm-alpha/pgtable.h | pmd_set(pmd, page); |
page | 266 | include/asm-alpha/pgtable.h | mem_map[MAP_NR(page)] = MAP_PAGE_RESERVED; |
page | 267 | include/asm-alpha/pgtable.h | return page + address; |
page | 272 | include/asm-alpha/pgtable.h | free_page((unsigned long) page); |
page | 292 | include/asm-alpha/pgtable.h | pmd_t *page = (pmd_t *) get_free_page(GFP_KERNEL); |
page | 294 | include/asm-alpha/pgtable.h | if (page) { |
page | 295 | include/asm-alpha/pgtable.h | pgd_set(pgd, page); |
page | 296 | include/asm-alpha/pgtable.h | mem_map[MAP_NR(page)] = MAP_PAGE_RESERVED; |
page | 297 | include/asm-alpha/pgtable.h | return page + address; |
page | 302 | include/asm-alpha/pgtable.h | free_page((unsigned long) page); |
page | 321 | include/asm-alpha/pgtable.h | pte_t *page = (pte_t *) get_free_page(GFP_KERNEL); |
page | 323 | include/asm-alpha/pgtable.h | if (page) { |
page | 324 | include/asm-alpha/pgtable.h | pmd_set(pmd, page); |
page | 325 | include/asm-alpha/pgtable.h | return page + address; |
page | 330 | include/asm-alpha/pgtable.h | free_page((unsigned long) page); |
page | 349 | include/asm-alpha/pgtable.h | pmd_t *page = (pmd_t *) get_free_page(GFP_KERNEL); |
page | 351 | include/asm-alpha/pgtable.h | if (page) { |
page | 352 | include/asm-alpha/pgtable.h | pgd_set(pgd, page); |
page | 353 | include/asm-alpha/pgtable.h | return page + address; |
page | 358 | include/asm-alpha/pgtable.h | free_page((unsigned long) page); |
page | 193 | include/asm-i386/pgtable.h | extern inline pte_t mk_pte(unsigned long page, pgprot_t pgprot) |
page | 194 | include/asm-i386/pgtable.h | { pte_t pte; pte_val(pte) = page | pgprot_val(pgprot); return pte; } |
page | 238 | include/asm-i386/pgtable.h | pte_t * page = (pte_t *) get_free_page(GFP_KERNEL); |
page | 240 | include/asm-i386/pgtable.h | if (page) { |
page | 241 | include/asm-i386/pgtable.h | pmd_val(*pmd) = _PAGE_TABLE | (unsigned long) page; |
page | 242 | include/asm-i386/pgtable.h | mem_map[MAP_NR(page)] = MAP_PAGE_RESERVED; |
page | 243 | include/asm-i386/pgtable.h | return page + address; |
page | 248 | include/asm-i386/pgtable.h | free_page((unsigned long) page); |
page | 280 | include/asm-i386/pgtable.h | pte_t * page = (pte_t *) get_free_page(GFP_KERNEL); |
page | 282 | include/asm-i386/pgtable.h | if (page) { |
page | 283 | include/asm-i386/pgtable.h | pmd_val(*pmd) = _PAGE_TABLE | (unsigned long) page; |
page | 284 | include/asm-i386/pgtable.h | return page + address; |
page | 289 | include/asm-i386/pgtable.h | free_page((unsigned long) page); |
page | 219 | include/asm-mips/page.h | extern inline pte_t mk_pte(unsigned long page, pgprot_t pgprot) |
page | 220 | include/asm-mips/page.h | { pte_t pte; pte_val(pte) = page | pgprot_val(pgprot); return pte; } |
page | 204 | include/asm-sparc/pgtable.h | extern inline pte_t mk_pte(unsigned long page, pgprot_t pgprot) |
page | 205 | include/asm-sparc/pgtable.h | { pte_t pte; pte_val(pte) = page | pgprot_val(pgprot); return pte; } |
page | 257 | include/asm-sparc/pgtable.h | pte_t * page = (pte_t *) get_free_page(GFP_KERNEL); |
page | 259 | include/asm-sparc/pgtable.h | if (page) { |
page | 260 | include/asm-sparc/pgtable.h | pmd_val(*pmd) = _PAGE_TABLE | (unsigned long) page; |
page | 261 | include/asm-sparc/pgtable.h | mem_map[MAP_NR(page)] = MAP_PAGE_RESERVED; |
page | 262 | include/asm-sparc/pgtable.h | return page + address; |
page | 267 | include/asm-sparc/pgtable.h | free_page((unsigned long) page); |
page | 299 | include/asm-sparc/pgtable.h | pte_t * page = (pte_t *) get_free_page(GFP_KERNEL); |
page | 301 | include/asm-sparc/pgtable.h | if (page) { |
page | 302 | include/asm-sparc/pgtable.h | pmd_val(*pmd) = _PAGE_TABLE | (unsigned long) page; |
page | 303 | include/asm-sparc/pgtable.h | return page + address; |
page | 308 | include/asm-sparc/pgtable.h | free_page((unsigned long) page); |
page | 18 | include/linux/binfmts.h | unsigned long page[MAX_ARG_PAGES]; |
page | 48 | include/linux/binfmts.h | extern unsigned long setup_arg_pages(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 | 101 | include/linux/mm.h | unsigned long page, int write_access); |
page | 103 | include/linux/mm.h | unsigned long page); |
page | 157 | include/linux/mm.h | unsigned long page; |
page | 159 | include/linux/mm.h | page = __get_free_page(priority); |
page | 160 | include/linux/mm.h | if (page) |
page | 161 | include/linux/mm.h | memset((void *) page, 0, PAGE_SIZE); |
page | 162 | include/linux/mm.h | return page; |
page | 171 | include/linux/mm.h | extern unsigned long put_dirty_page(struct task_struct * tsk,unsigned long page, |
page | 631 | ipc/shm.c | unsigned long page = get_free_page(GFP_KERNEL); |
page | 632 | ipc/shm.c | if (!page) { |
page | 638 | ipc/shm.c | free_page (page); /* doesn't sleep */ |
page | 642 | ipc/shm.c | read_swap_page(pte_val(pte), (char *) page); |
page | 645 | ipc/shm.c | free_page (page); /* doesn't sleep */ |
page | 652 | ipc/shm.c | pte = pte_mkdirty(mk_pte(page, PAGE_SHARED)); |
page | 671 | ipc/shm.c | pte_t page; |
page | 703 | ipc/shm.c | pte_val(page) = shp->shm_pages[idx]; |
page | 704 | ipc/shm.c | if (!pte_present(page)) |
page | 752 | ipc/shm.c | if (pte_page(pte) != pte_page(page)) |
page | 765 | ipc/shm.c | if (mem_map[MAP_NR(pte_page(page))] != 1) |
page | 770 | ipc/shm.c | write_swap_page (swap_nr, (char *) pte_page(page)); |
page | 771 | ipc/shm.c | free_page(pte_page(page)); |
page | 33 | mm/filemap.c | unsigned long page, int no_share) |
page | 51 | mm/filemap.c | return bread_page(page, inode->i_dev, nr, inode->i_sb->s_blocksize, no_share); |
page | 67 | mm/filemap.c | unsigned long page) |
page | 71 | mm/filemap.c | printk("msync: %ld: [%08lx]\n", offset, page); |
page | 72 | mm/filemap.c | bh = buffer_pages[MAP_NR(page)]; |
page | 90 | mm/filemap.c | pte_t page = *pte; |
page | 92 | mm/filemap.c | if (!pte_present(page)) |
page | 94 | mm/filemap.c | if (!pte_dirty(page)) |
page | 99 | mm/filemap.c | mem_map[MAP_NR(pte_page(page))]++; |
page | 100 | mm/filemap.c | *pte = pte_mkclean(page); |
page | 102 | mm/filemap.c | filemap_sync_page(vma, address - vma->vm_start, pte_page(page)); |
page | 103 | mm/filemap.c | free_page(pte_page(page)); |
page | 170 | mm/kmalloc.c | struct page_descriptor *page; |
page | 201 | mm/kmalloc.c | if ((page = (dma_flag ? sizes[order].dmafree : sizes[order].firstfree)) && |
page | 202 | mm/kmalloc.c | (p = page->firstfree)) |
page | 206 | mm/kmalloc.c | page->firstfree = p->bh_next; |
page | 207 | mm/kmalloc.c | page->nfree--; |
page | 208 | mm/kmalloc.c | if (!page->nfree) |
page | 211 | mm/kmalloc.c | sizes[order].dmafree = page->next; |
page | 213 | mm/kmalloc.c | sizes[order].firstfree = page->next; |
page | 214 | mm/kmalloc.c | page->next = NULL; |
page | 236 | mm/kmalloc.c | page = (struct page_descriptor *) __get_dma_pages (priority & GFP_LEVEL_MASK, sizes[order].gfporder); |
page | 238 | mm/kmalloc.c | page = (struct page_descriptor *) __get_free_pages (priority & GFP_LEVEL_MASK, sizes[order].gfporder); |
page | 240 | mm/kmalloc.c | if (!page) { |
page | 249 | mm/kmalloc.c | printk ("Got page %08x to use for %d byte mallocs....",(long)page,sz); |
page | 254 | mm/kmalloc.c | for (i=NBLOCKS(order),p=BH (page+1);i > 1;i--,p=p->bh_next) |
page | 263 | mm/kmalloc.c | page->order = order; |
page | 264 | mm/kmalloc.c | page->nfree = NBLOCKS(order); |
page | 265 | mm/kmalloc.c | page->firstfree = BH(page+1); |
page | 267 | mm/kmalloc.c | printk ("%d blocks per page\n",page->nfree); |
page | 277 | mm/kmalloc.c | page->next = sizes[order].dmafree; |
page | 278 | mm/kmalloc.c | sizes[order].dmafree = page; |
page | 280 | mm/kmalloc.c | page->next = sizes[order].firstfree; |
page | 281 | mm/kmalloc.c | sizes[order].firstfree = page; |
page | 305 | mm/kmalloc.c | struct page_descriptor *page,*pg2; |
page | 307 | mm/kmalloc.c | page = PAGE_DESC (p); |
page | 308 | mm/kmalloc.c | order = page->order; |
page | 311 | mm/kmalloc.c | (((long)(page->next)) & ~PAGE_MASK) || |
page | 315 | mm/kmalloc.c | p, page->next, page->order); |
page | 329 | mm/kmalloc.c | p->bh_next = page->firstfree; |
page | 330 | mm/kmalloc.c | page->firstfree = p; |
page | 331 | mm/kmalloc.c | page->nfree ++; |
page | 333 | mm/kmalloc.c | if (page->nfree == 1) |
page | 336 | mm/kmalloc.c | if (page->next) |
page | 338 | mm/kmalloc.c | printk ("Page %p already on freelist dazed and confused....\n", page); |
page | 342 | mm/kmalloc.c | page->next = sizes[order].firstfree; |
page | 343 | mm/kmalloc.c | sizes[order].firstfree = page; |
page | 348 | mm/kmalloc.c | if (page->nfree == NBLOCKS (page->order)) |
page | 351 | mm/kmalloc.c | printk ("Freeing page %08x.\n", (long)page); |
page | 353 | mm/kmalloc.c | if (sizes[order].firstfree == page) |
page | 355 | mm/kmalloc.c | sizes[order].firstfree = page->next; |
page | 357 | mm/kmalloc.c | else if (sizes[order].dmafree == page) |
page | 359 | mm/kmalloc.c | sizes[order].dmafree = page->next; |
page | 364 | mm/kmalloc.c | (pg2 != NULL) && (pg2->next != page); |
page | 369 | mm/kmalloc.c | (pg2 != NULL) && (pg2->next != page); |
page | 373 | mm/kmalloc.c | pg2->next = page->next; |
page | 375 | mm/kmalloc.c | printk ("Ooops. page %p doesn't show on freelist.\n", page); |
page | 378 | mm/kmalloc.c | free_pages ((long)page, sizes[order].gfporder); |
page | 84 | mm/memory.c | pte_t page = *page_table; |
page | 86 | mm/memory.c | if (pte_none(page)) |
page | 89 | mm/memory.c | if (!pte_present(page)) { |
page | 90 | mm/memory.c | swap_free(pte_val(page)); |
page | 93 | mm/memory.c | free_page(pte_page(page)); |
page | 344 | mm/memory.c | static inline void forget_pte(pte_t page) |
page | 346 | mm/memory.c | if (pte_none(page)) |
page | 348 | mm/memory.c | if (pte_present(page)) { |
page | 349 | mm/memory.c | free_page(pte_page(page)); |
page | 350 | mm/memory.c | if (mem_map[MAP_NR(pte_page(page))] & MAP_PAGE_RESERVED) |
page | 357 | mm/memory.c | swap_free(pte_val(page)); |
page | 378 | mm/memory.c | pte_t page = *pte; |
page | 380 | mm/memory.c | forget_pte(page); |
page | 581 | mm/memory.c | unsigned long put_dirty_page(struct task_struct * tsk, unsigned long page, unsigned long address) |
page | 587 | mm/memory.c | if (page >= high_memory) |
page | 588 | mm/memory.c | printk("put_dirty_page: trying to put page %08lx at %08lx\n",page,address); |
page | 589 | mm/memory.c | if (mem_map[MAP_NR(page)] != 1) |
page | 590 | mm/memory.c | printk("mem_map disagrees with %08lx at %08lx\n",page,address); |
page | 594 | mm/memory.c | free_page(page); |
page | 600 | mm/memory.c | free_page(page); |
page | 609 | mm/memory.c | *pte = pte_mkwrite(pte_mkdirty(mk_pte(page, PAGE_COPY))); |
page | 611 | mm/memory.c | return page; |
page | 993 | mm/memory.c | pte_t page; |
page | 999 | mm/memory.c | page = vma->vm_ops->swapin(vma, address - vma->vm_start + vma->vm_offset, pte_val(entry)); |
page | 1001 | mm/memory.c | free_page(pte_page(page)); |
page | 1004 | mm/memory.c | if (mem_map[MAP_NR(pte_page(page))] > 1 && !(vma->vm_flags & VM_SHARED)) |
page | 1005 | mm/memory.c | page = pte_wrprotect(page); |
page | 1008 | mm/memory.c | *page_table = page; |
page | 1023 | mm/memory.c | unsigned long page; |
page | 1042 | mm/memory.c | page = get_free_page(GFP_KERNEL); |
page | 1043 | mm/memory.c | if (share_page(vma, address, write_access, page)) { |
page | 1048 | mm/memory.c | if (!page) { |
page | 1060 | mm/memory.c | page = vma->vm_ops->nopage(vma, address, page, |
page | 1063 | mm/memory.c | free_page(page); |
page | 1076 | mm/memory.c | entry = mk_pte(page, vma->vm_page_prot); |
page | 1079 | mm/memory.c | } else if (mem_map[MAP_NR(page)] > 1 && !(vma->vm_flags & VM_SHARED)) |
page | 283 | mm/swap.c | unsigned long page = get_free_page(GFP_KERNEL); |
page | 286 | mm/swap.c | free_page(page); |
page | 289 | mm/swap.c | if (!page) { |
page | 295 | mm/swap.c | read_swap_page(entry, (char *) page); |
page | 297 | mm/swap.c | free_page(page); |
page | 302 | mm/swap.c | if (!write_access && add_to_swap_cache(page, entry)) { |
page | 303 | mm/swap.c | *page_table = mk_pte(page, vma->vm_page_prot); |
page | 306 | mm/swap.c | *page_table = pte_mkwrite(pte_mkdirty(mk_pte(page, vma->vm_page_prot))); |
page | 326 | mm/swap.c | unsigned long page; |
page | 331 | mm/swap.c | page = pte_page(pte); |
page | 332 | mm/swap.c | if (page >= high_memory) |
page | 334 | mm/swap.c | if (mem_map[MAP_NR(page)] & MAP_PAGE_RESERVED) |
page | 336 | mm/swap.c | if ((pte_dirty(pte) && delete_from_swap_cache(page)) || pte_young(pte)) { |
page | 341 | mm/swap.c | if (mem_map[MAP_NR(page)] != 1) |
page | 352 | mm/swap.c | write_swap_page(entry, (char *) page); |
page | 354 | mm/swap.c | free_page(page); |
page | 357 | mm/swap.c | if ((entry = find_in_swap_cache(page))) { |
page | 358 | mm/swap.c | if (mem_map[MAP_NR(page)] != 1) { |
page | 366 | mm/swap.c | free_page(page); |
page | 372 | mm/swap.c | entry = mem_map[MAP_NR(page)]; |
page | 373 | mm/swap.c | free_page(page); |
page | 834 | mm/swap.c | pte_t *dir, unsigned int type, unsigned long page) |
page | 841 | mm/swap.c | unsigned long page = pte_page(pte); |
page | 842 | mm/swap.c | if (page >= high_memory) |
page | 844 | mm/swap.c | if (!in_swap_cache(page)) |
page | 846 | mm/swap.c | if (SWP_TYPE(in_swap_cache(page)) != type) |
page | 848 | mm/swap.c | delete_from_swap_cache(page); |
page | 854 | mm/swap.c | read_swap_page(pte_val(pte), (char *) page); |
page | 856 | mm/swap.c | free_page(page); |
page | 859 | mm/swap.c | *dir = pte_mkwrite(pte_mkdirty(mk_pte(page, vma->vm_page_prot))); |
page | 867 | mm/swap.c | unsigned int type, unsigned long page) |
page | 886 | mm/swap.c | if (unuse_pte(vma, offset+address-vma->vm_start, pte, type, page)) |
page | 896 | mm/swap.c | unsigned int type, unsigned long page) |
page | 915 | mm/swap.c | if (unuse_pmd(vma, pmd, address, end - address, offset, type, page)) |
page | 925 | mm/swap.c | unsigned int type, unsigned long page) |
page | 928 | mm/swap.c | if (unuse_pgd(vma, pgdir, start, end - start, type, page)) |
page | 936 | mm/swap.c | static int unuse_process(struct task_struct * p, unsigned int type, unsigned long page) |
page | 946 | mm/swap.c | if (unuse_vma(vma, pgd, vma->vm_start, vma->vm_end, type, page)) |
page | 961 | mm/swap.c | unsigned long page = get_free_page(GFP_KERNEL); |
page | 963 | mm/swap.c | if (!page) |
page | 968 | mm/swap.c | if (unuse_process(task[nr], type, page)) { |
page | 969 | mm/swap.c | page = get_free_page(GFP_KERNEL); |
page | 970 | mm/swap.c | if (!page) |
page | 977 | mm/swap.c | free_page(page); |
page | 57 | mm/vmalloc.c | pte_t page = *pte; |
page | 61 | mm/vmalloc.c | if (pte_none(page)) |
page | 63 | mm/vmalloc.c | if (pte_present(page)) { |
page | 64 | mm/vmalloc.c | free_page(pte_page(page)); |
page | 118 | mm/vmalloc.c | unsigned long page; |
page | 121 | mm/vmalloc.c | page = __get_free_page(GFP_KERNEL); |
page | 122 | mm/vmalloc.c | if (!page) |
page | 124 | mm/vmalloc.c | *pte = mk_pte(page, PAGE_KERNEL); |