/linux-2.4.37.9/arch/sparc64/kernel/ |
D | pci.c | 447 user_offset = vma->vm_pgoff << PAGE_SHIFT; in __pci_mmap_make_offset_bus() 470 vma->vm_pgoff = (lowest + user_offset) >> PAGE_SHIFT; in __pci_mmap_make_offset_bus() 473 vma->vm_pgoff = (pbm->io_space.start + in __pci_mmap_make_offset_bus() 476 vma->vm_pgoff = (pbm->mem_space.start + in __pci_mmap_make_offset_bus() 497 unsigned long user_offset = vma->vm_pgoff << PAGE_SHIFT; in __pci_mmap_make_offset() 542 vma->vm_pgoff = (((largest_base & ~0xffffffUL) | user32) >> PAGE_SHIFT); in __pci_mmap_make_offset() 544 vma->vm_pgoff = (((largest_base & ~(pci_memspace_mask)) | user32) >> PAGE_SHIFT); in __pci_mmap_make_offset() 592 (vma->vm_pgoff << PAGE_SHIFT | in pci_mmap_page_range()
|
/linux-2.4.37.9/drivers/sbus/char/ |
D | flash.c | 66 if ((vma->vm_pgoff << PAGE_SHIFT) > size) in flash_mmap() 68 addr += (vma->vm_pgoff << PAGE_SHIFT); in flash_mmap() 70 if (vma->vm_end - (vma->vm_start + (vma->vm_pgoff << PAGE_SHIFT)) > size) in flash_mmap() 71 size = vma->vm_end - (vma->vm_start + (vma->vm_pgoff << PAGE_SHIFT)); in flash_mmap()
|
/linux-2.4.37.9/fs/ncpfs/ |
D | mmap.c | 47 pos = address - area->vm_start + (area->vm_pgoff << PAGE_SHIFT); in ncp_file_mmap_nopage() 111 if (((vma->vm_end - vma->vm_start) >> PAGE_SHIFT) + vma->vm_pgoff in ncp_mmap()
|
/linux-2.4.37.9/mm/ |
D | mlock.c | 39 vma->vm_pgoff += (end - vma->vm_start) >> PAGE_SHIFT; in mlock_fixup_start() 59 n->vm_pgoff += (n->vm_start - vma->vm_start) >> PAGE_SHIFT; in mlock_fixup_end() 92 right->vm_pgoff += (right->vm_start - left->vm_start) >> PAGE_SHIFT; in mlock_fixup_middle() 104 vma->vm_pgoff += (start - vma->vm_start) >> PAGE_SHIFT; in mlock_fixup_middle()
|
D | mprotect.c | 152 vma->vm_pgoff += (end - vma->vm_start) >> PAGE_SHIFT; in mprotect_fixup_start() 174 n->vm_pgoff += (n->vm_start - vma->vm_start) >> PAGE_SHIFT; in mprotect_fixup_end() 212 right->vm_pgoff += (right->vm_start - left->vm_start) >> PAGE_SHIFT; in mprotect_fixup_middle() 221 vma->vm_pgoff += (start - vma->vm_start) >> PAGE_SHIFT; in mprotect_fixup_middle()
|
D | filemap.c | 2014 vma->vm_raend = vma->vm_pgoff + ra_window; in nopage_sequential_readahead() 2022 unsigned long start = vma->vm_pgoff + vma->vm_raend; in nopage_sequential_readahead() 2025 if (end > ((vma->vm_end >> PAGE_SHIFT) + vma->vm_pgoff)) in nopage_sequential_readahead() 2026 end = (vma->vm_end >> PAGE_SHIFT) + vma->vm_pgoff; in nopage_sequential_readahead() 2040 if (vma->vm_raend > (vma->vm_pgoff + ra_window + ra_window)) { in nopage_sequential_readahead() 2071 pgoff = ((address - area->vm_start) >> PAGE_CACHE_SHIFT) + area->vm_pgoff; in filemap_nopage() 2072 endoff = ((area->vm_end - area->vm_start) >> PAGE_CACHE_SHIFT) + area->vm_pgoff; in filemap_nopage() 2474 vma->vm_pgoff += (end - vma->vm_start) >> PAGE_SHIFT; in madvise_fixup_start() 2495 n->vm_pgoff += (n->vm_start - vma->vm_start) >> PAGE_SHIFT; in madvise_fixup_end() 2529 right->vm_pgoff += (right->vm_start - left->vm_start) >> PAGE_SHIFT; in madvise_fixup_middle() [all …]
|
D | mmap.c | 530 vma->vm_pgoff = pgoff; in do_mmap_pgoff() 838 area->vm_pgoff += (end - area->vm_start) >> PAGE_SHIFT; in unmap_fixup() 856 mpnt->vm_pgoff = area->vm_pgoff + ((end - area->vm_start) >> PAGE_SHIFT); in unmap_fixup() 1136 vma->vm_pgoff = 0; in do_brk()
|
D | mremap.c | 190 new_vma->vm_pgoff += (addr-vma->vm_start) >> PAGE_SHIFT; in move_vma() 368 new_addr = get_unmapped_area(vma->vm_file, 0, new_len, vma->vm_pgoff, map_flags); in do_mremap()
|
/linux-2.4.37.9/arch/ia64/ia32/ |
D | binfmt_elf32.c | 93 vma->vm_pgoff = 0; in ia64_elf32_init() 119 vma->vm_pgoff = 0; in ia64_elf32_init() 196 mpnt->vm_pgoff = 0; in ia32_setup_arg_pages()
|
/linux-2.4.37.9/arch/arm/mm/ |
D | fault-armv.c | 206 if (pgoff < mpnt->vm_pgoff) in make_coherent() 209 off = pgoff - mpnt->vm_pgoff; in make_coherent()
|
/linux-2.4.37.9/arch/parisc/kernel/ |
D | cache.c | 247 if (page->index < mpnt->vm_pgoff) in __flush_dcache_page() 250 off = page->index - mpnt->vm_pgoff; in __flush_dcache_page()
|
D | sys_parisc.c | 63 offset = (first_vma->vm_start + ((pgoff - first_vma->vm_pgoff) << PAGE_SHIFT)) & (SHMLBA - 1); in get_shared_area()
|
/linux-2.4.37.9/drivers/sound/ |
D | cs46xx_wrapper-24.h | 45 #define cs4x_pgoff(vma) ((vma)->vm_pgoff)
|
/linux-2.4.37.9/arch/s390x/kernel/ |
D | exec32.c | 65 mpnt->vm_pgoff = 0; in setup_arg_pages32()
|
/linux-2.4.37.9/drivers/video/ |
D | au1100fb.c | 388 if (vma->vm_pgoff > (~0UL >> PAGE_SHIFT)) { in au1100fb_mmap() 395 off = vma->vm_pgoff << PAGE_SHIFT; in au1100fb_mmap() 402 vma->vm_pgoff = off >> PAGE_SHIFT; in au1100fb_mmap()
|
D | fbmem.c | 601 if (vma->vm_pgoff > (~0UL >> PAGE_SHIFT)) in fb_mmap() 603 off = vma->vm_pgoff << PAGE_SHIFT; in fb_mmap() 645 vma->vm_pgoff = off >> PAGE_SHIFT; in fb_mmap()
|
/linux-2.4.37.9/drivers/char/ |
D | mem.c | 188 unsigned long offset = vma->vm_pgoff << PAGE_SHIFT; in mmap_mem() 534 unsigned long offset = vma->vm_pgoff << PAGE_SHIFT; in kmem_vm_nopage() 583 unsigned long offset = vma->vm_pgoff << PAGE_SHIFT; in mmap_kmem()
|
D | fetchop.c | 281 if (vma->vm_pgoff != 0) in fetchop_mmap()
|
/linux-2.4.37.9/arch/ppc64/kernel/ |
D | pci.c | 719 unsigned long offset = vma->vm_pgoff << PAGE_SHIFT; in __pci_mmap_make_offset() 760 vma->vm_pgoff = offset >> PAGE_SHIFT; in __pci_mmap_make_offset() 817 ret = remap_page_range(vma->vm_start, vma->vm_pgoff << PAGE_SHIFT, in pci_mmap_page_range()
|
/linux-2.4.37.9/drivers/ieee1394/ |
D | dma.c | 225 if (vma->vm_pgoff != 0) in dma_region_mmap()
|
/linux-2.4.37.9/include/linux/ |
D | mm.h | 70 unsigned long vm_pgoff; /* Offset (within vm_file) in PAGE_SIZE member 684 vma->vm_pgoff -= grow; in expand_stack()
|
/linux-2.4.37.9/arch/x86_64/kernel/ |
D | pci-x86_64.c | 391 if (remap_page_range(vma->vm_start, vma->vm_pgoff << PAGE_SHIFT, in pci_mmap_page_range()
|
/linux-2.4.37.9/arch/i386/kernel/ |
D | pci-i386.c | 394 if (remap_page_range(vma->vm_start, vma->vm_pgoff << PAGE_SHIFT, in pci_mmap_page_range()
|
/linux-2.4.37.9/arch/ia64/sn/io/drivers/ |
D | pciba.c | 851 DPRINTF("offset = %lx\n", vma->vm_pgoff); in dma_mmap() 859 if (da->handle == vma->vm_pgoff << PAGE_SHIFT) { in dma_mmap()
|
/linux-2.4.37.9/arch/x86_64/ia32/ |
D | ia32_binfmt.c | 250 mpnt->vm_pgoff = 0; in ia32_setup_arg_pages()
|