Home
last modified time | relevance | path

Searched refs:vm_pgoff (Results 1 – 25 of 77) sorted by relevance

1234

/linux-2.4.37.9/arch/sparc64/kernel/
Dpci.c447 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/
Dflash.c66 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/
Dmmap.c47 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/
Dmlock.c39 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()
Dmprotect.c152 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()
Dfilemap.c2014 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 …]
Dmmap.c530 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()
Dmremap.c190 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/
Dbinfmt_elf32.c93 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/
Dfault-armv.c206 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/
Dcache.c247 if (page->index < mpnt->vm_pgoff) in __flush_dcache_page()
250 off = page->index - mpnt->vm_pgoff; in __flush_dcache_page()
Dsys_parisc.c63 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/
Dcs46xx_wrapper-24.h45 #define cs4x_pgoff(vma) ((vma)->vm_pgoff)
/linux-2.4.37.9/arch/s390x/kernel/
Dexec32.c65 mpnt->vm_pgoff = 0; in setup_arg_pages32()
/linux-2.4.37.9/drivers/video/
Dau1100fb.c388 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()
Dfbmem.c601 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/
Dmem.c188 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()
Dfetchop.c281 if (vma->vm_pgoff != 0) in fetchop_mmap()
/linux-2.4.37.9/arch/ppc64/kernel/
Dpci.c719 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/
Ddma.c225 if (vma->vm_pgoff != 0) in dma_region_mmap()
/linux-2.4.37.9/include/linux/
Dmm.h70 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/
Dpci-x86_64.c391 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/
Dpci-i386.c394 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/
Dpciba.c851 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/
Dia32_binfmt.c250 mpnt->vm_pgoff = 0; in ia32_setup_arg_pages()

1234