/linux-4.4.14/drivers/xen/xenfs/ |
H A D | xenstored.c | 40 if (remap_pfn_range(vma, vma->vm_start, xsd_kva_mmap()
|
/linux-4.4.14/arch/um/drivers/ |
H A D | mmapper_kern.c | 61 * XXX A comment above remap_pfn_range says it should only be mmapper_mmap() 64 if (remap_pfn_range(vma, vma->vm_start, p_buf >> PAGE_SHIFT, size, mmapper_mmap()
|
/linux-4.4.14/arch/powerpc/include/asm/ |
H A D | pgtable-ppc64-4k.h | 84 * On all 4K setups, remap_4k_pfn() equates to remap_pfn_range() */ 86 remap_pfn_range((vma), (addr), (pfn), PAGE_SIZE, (prot))
|
H A D | pte-hash64-64k.h | 99 remap_pfn_range((vma), (addr), (pfn), PAGE_SIZE, \
|
/linux-4.4.14/drivers/char/ |
H A D | uv_mmtimer.c | 144 * Calls remap_pfn_range() to map the clock's registers into 166 if (remap_pfn_range(vma, vma->vm_start, uv_mmtimer_addr >> PAGE_SHIFT, uv_mmtimer_mmap() 168 printk(KERN_ERR "remap_pfn_range failed in uv_mmtimer_mmap\n"); uv_mmtimer_mmap()
|
H A D | mmtimer.c | 434 * Calls remap_pfn_range() to map the clock's registers into 456 if (remap_pfn_range(vma, vma->vm_start, mmtimer_addr >> PAGE_SHIFT, mmtimer_mmap() 458 printk(KERN_ERR "remap_pfn_range failed in mmtimer.c\n"); mmtimer_mmap()
|
H A D | mbcs.c | 511 if (remap_pfn_range(vma, mbcs_gscr_mmap()
|
H A D | mem.c | 345 if (remap_pfn_range(vma, mmap_mem()
|
/linux-4.4.14/arch/cris/arch-v32/drivers/pci/ |
H A D | bios.c | 31 if (remap_pfn_range(vma, vma->vm_start, vma->vm_pgoff, pci_mmap_page_range()
|
/linux-4.4.14/arch/powerpc/kernel/ |
H A D | proc_powerpc.c | 49 remap_pfn_range(vma, vma->vm_start, page_map_mmap()
|
H A D | dma.c | 190 return remap_pfn_range(vma, vma->vm_start, dma_direct_mmap_coherent()
|
H A D | pci-common.c | 465 ret = remap_pfn_range(vma, vma->vm_start, vma->vm_pgoff, pci_mmap_page_range() 604 return remap_pfn_range(vma, vma->vm_start, vma->vm_pgoff, pci_mmap_legacy_page_range()
|
/linux-4.4.14/drivers/staging/rdma/ehca/ |
H A D | ehca_uverbs.c | 120 /* VM_IO | VM_DONTEXPAND | VM_DONTDUMP are set by remap_pfn_range() */ ehca_mmap_fw() 124 ehca_gen_err("remap_pfn_range() failed ret=%i", ret); ehca_mmap_fw() 209 "remap_pfn_range() failed ret=%i qp_num=%x", ehca_mmap_qp()
|
/linux-4.4.14/drivers/xen/xenbus/ |
H A D | xenbus_dev_backend.c | 103 if (remap_pfn_range(vma, vma->vm_start, xenbus_backend_mmap()
|
/linux-4.4.14/drivers/base/ |
H A D | dma-coherent.c | 238 * @ret: result from remap_pfn_range() 261 *ret = remap_pfn_range(vma, vma->vm_start, pfn, dma_mmap_from_coherent()
|
H A D | dma-mapping.c | 262 ret = remap_pfn_range(vma, vma->vm_start, dma_common_mmap()
|
/linux-4.4.14/arch/s390/kernel/ |
H A D | crash_dump.c | 161 rc = remap_pfn_range(vma, from, remap_oldmem_pfn_range_kdump() 170 return remap_pfn_range(vma, from, pfn, size, prot); remap_oldmem_pfn_range_kdump() 195 return remap_pfn_range(vma, from, pfn, size, prot); remap_oldmem_pfn_range_zfcpdump()
|
/linux-4.4.14/drivers/misc/mic/host/ |
H A D | mic_fops.c | 210 err = remap_pfn_range(vma, vma->vm_start + offset, mic_mmap()
|
/linux-4.4.14/arch/mips/kernel/ |
H A D | vdso.c | 153 ret = remap_pfn_range(vma, data_addr, arch_setup_additional_pages()
|
/linux-4.4.14/arch/microblaze/kernel/ |
H A D | dma.c | 177 return remap_pfn_range(vma, vma->vm_start, pfn + off, dma_direct_mmap_coherent()
|
/linux-4.4.14/sound/soc/pxa/ |
H A D | mmp-pcm.c | 129 return remap_pfn_range(vma, vma->vm_start, mmp_pcm_mmap()
|
/linux-4.4.14/arch/sparc/include/asm/ |
H A D | pgtable_32.h | 409 int remap_pfn_range(struct vm_area_struct *, unsigned long, unsigned long, 422 return remap_pfn_range(vma, from, phys_base >> PAGE_SHIFT, size, prot); io_remap_pfn_range()
|
H A D | pgtable_64.h | 991 int remap_pfn_range(struct vm_area_struct *, unsigned long, unsigned long, 1004 return remap_pfn_range(vma, from, phys_base >> PAGE_SHIFT, size, prot); io_remap_pfn_range()
|
/linux-4.4.14/drivers/misc/mic/scif/ |
H A D | scif_mmap.c | 376 * 1) Create VtoP mappings via remap_pfn_range(..) 407 err = remap_pfn_range(vma, list_for_each_entry_from() 425 * remap_pfn_range(..).
|
/linux-4.4.14/include/asm-generic/ |
H A D | pgtable.h | 537 * memory type of pfn mappings specified by the remap_pfn_range, 543 * by remap_pfn_range() for physical range indicated by pfn and size. 780 #define io_remap_pfn_range remap_pfn_range
|
/linux-4.4.14/drivers/gpu/drm/udl/ |
H A D | udl_fb.c | 272 if (remap_pfn_range(vma, start, page, PAGE_SIZE, PAGE_SHARED)) udl_fb_mmap() 283 /* VM_IO | VM_DONTEXPAND | VM_DONTDUMP are set by remap_pfn_range() */ udl_fb_mmap()
|
/linux-4.4.14/drivers/staging/android/ion/ |
H A D | ion_heap.c | 95 ret = remap_pfn_range(vma, addr, page_to_pfn(page), len, ion_heap_map_user()
|
/linux-4.4.14/drivers/video/fbdev/ |
H A D | sbuslib.c | 60 /* VM_IO | VM_DONTEXPAND | VM_DONTDUMP are set by remap_pfn_range() */ sbusfb_mmap_helper()
|
H A D | igafb.c | 261 if (remap_pfn_range(vma, vma->vm_start + page, igafb_mmap()
|
H A D | vfb.c | 440 if (remap_pfn_range(vma, start, page, PAGE_SIZE, PAGE_SHARED)) { vfb_mmap()
|
H A D | gbefb.c | 1024 /* VM_IO | VM_DONTEXPAND | VM_DONTDUMP are set by remap_pfn_range() */ gbefb_mmap() 1039 if (remap_pfn_range(vma, addr, phys_addr >> PAGE_SHIFT, gbefb_mmap()
|
H A D | amba-clcd.c | 741 return remap_pfn_range(vma, vma->vm_start, clcdfb_of_vram_mmap()
|
H A D | smscufx.c | 799 if (remap_pfn_range(vma, start, page, PAGE_SIZE, PAGE_SHARED)) ufx_ops_mmap()
|
H A D | udlfb.c | 341 if (remap_pfn_range(vma, start, page, PAGE_SIZE, PAGE_SHARED)) dlfb_ops_mmap()
|
/linux-4.4.14/arch/x86/entry/vdso/ |
H A D | vma.c | 150 ret = remap_pfn_range(vma, map_vdso()
|
/linux-4.4.14/arch/sh/drivers/pci/ |
H A D | pci.c | 288 return remap_pfn_range(vma, vma->vm_start, vma->vm_pgoff, pci_mmap_page_range()
|
/linux-4.4.14/arch/mips/pci/ |
H A D | pci.c | 345 return remap_pfn_range(vma, vma->vm_start, vma->vm_pgoff, pci_mmap_page_range()
|
/linux-4.4.14/arch/parisc/kernel/ |
H A D | pci.c | 228 return remap_pfn_range(vma, vma->vm_start, vma->vm_pgoff, pci_mmap_page_range()
|
/linux-4.4.14/arch/mips/include/asm/ |
H A D | pgtable.h | 471 extern int remap_pfn_range(struct vm_area_struct *vma, unsigned long from, unsigned long pfn, unsigned long size, pgprot_t prot); 480 return remap_pfn_range(vma, vaddr, phys_addr_high >> PAGE_SHIFT, size, prot); io_remap_pfn_range()
|
/linux-4.4.14/arch/ia64/pci/ |
H A D | pci.c | 460 if (remap_pfn_range(vma, vma->vm_start, vma->vm_pgoff, pci_mmap_page_range() 520 if (remap_pfn_range(vma, vma->vm_start, vma->vm_pgoff, pci_mmap_legacy_page_range()
|
/linux-4.4.14/arch/unicore32/kernel/ |
H A D | pci.c | 380 if (remap_pfn_range(vma, vma->vm_start, phys, pci_mmap_page_range()
|
/linux-4.4.14/arch/powerpc/platforms/powernv/ |
H A D | opal-prd.c | 132 rc = remap_pfn_range(vma, vma->vm_start, vma->vm_pgoff, size, opal_prd_mmap()
|
/linux-4.4.14/arch/metag/kernel/ |
H A D | dma.c | 356 ret = remap_pfn_range(vma, vma->vm_start, dma_mmap()
|
/linux-4.4.14/arch/mips/mm/ |
H A D | dma-default.c | 225 ret = remap_pfn_range(vma, vma->vm_start, mips_dma_mmap()
|
/linux-4.4.14/arch/arm/mach-integrator/ |
H A D | impd1.c | 246 return remap_pfn_range(vma, vma->vm_start, start, size, impd1fb_clcd_mmap()
|
/linux-4.4.14/sound/soc/atmel/ |
H A D | atmel-pcm-pdc.c | 75 return remap_pfn_range(vma, vma->vm_start, atmel_pcm_mmap()
|
/linux-4.4.14/fs/proc/ |
H A D | vmcore.c | 164 return remap_pfn_range(vma, from, pfn, size, prot); remap_oldmem_pfn_range() 264 * directly with remap_pfn_range(). 433 if (remap_pfn_range(vma, vma->vm_start, pfn, tsz, mmap_vmcore()
|
/linux-4.4.14/drivers/sbus/char/ |
H A D | jsflash.c | 24 * dubious way; also it assumes that remap_pfn_range() can remap
|
/linux-4.4.14/drivers/vfio/platform/ |
H A D | vfio_platform_common.c | 493 return remap_pfn_range(vma, vma->vm_start, vma->vm_pgoff, vfio_platform_mmap_mmio()
|
/linux-4.4.14/sound/oss/ |
H A D | soundcard.c | 473 if (remap_pfn_range(vma, vma->vm_start, sound_mmap()
|
/linux-4.4.14/drivers/uio/ |
H A D | uio.c | 662 return remap_pfn_range(vma, uio_mmap_physical()
|
/linux-4.4.14/drivers/infiniband/hw/cxgb4/ |
H A D | provider.c | 227 ret = remap_pfn_range(vma, vma->vm_start, c4iw_mmap()
|
/linux-4.4.14/drivers/media/pci/zoran/ |
H A D | zoran_driver.c | 2751 if (remap_pfn_range(vma, start, page >> PAGE_SHIFT, zoran_mmap() 2755 "%s: %s(V4L) - remap_pfn_range failed\n", zoran_mmap() 2783 if (remap_pfn_range(vma, start, page, zoran_mmap() 2787 "%s: %s(V4L) - remap_pfn_range failed\n", zoran_mmap()
|
/linux-4.4.14/drivers/infiniband/hw/usnic/ |
H A D | usnic_ib_verbs.c | 729 return remap_pfn_range(vma, usnic_ib_mmap()
|
/linux-4.4.14/drivers/gpu/drm/ |
H A D | drm_vm.c | 630 if (remap_pfn_range(vma, vma->vm_start, drm_mmap_locked()
|
/linux-4.4.14/arch/tile/mm/ |
H A D | pgtable.c | 439 /* remap_pfn_range(), etc, must supply PTE mode. */ set_pte()
|
/linux-4.4.14/arch/arm/kernel/ |
H A D | bios32.c | 619 if (remap_pfn_range(vma, vma->vm_start, vma->vm_pgoff, pci_mmap_page_range()
|
/linux-4.4.14/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_events.c | 848 return remap_pfn_range(vma, vma->vm_start, pfn, kfd_event_mmap()
|
/linux-4.4.14/arch/microblaze/pci/ |
H A D | pci-common.c | 333 ret = remap_pfn_range(vma, vma->vm_start, vma->vm_pgoff, pci_mmap_page_range() 476 return remap_pfn_range(vma, vma->vm_start, vma->vm_pgoff, pci_mmap_legacy_page_range()
|
/linux-4.4.14/mm/ |
H A D | memory.c | 720 * rules set up by "remap_pfn_range()": the vma will have the VM_PFNMAP bit 1530 * NOTE! Traditionally this was done with "remap_pfn_range()" which 1611 * restrictions (same for remap_pfn_range). However we would like vm_insert_pfn() 1725 * remap_pfn_range - remap kernel memory to userspace 1734 int remap_pfn_range(struct vm_area_struct *vma, unsigned long addr, remap_pfn_range() function 1790 EXPORT_SYMBOL(remap_pfn_range); variable
|
H A D | nommu.c | 1783 int remap_pfn_range(struct vm_area_struct *vma, unsigned long addr, remap_pfn_range() function 1792 EXPORT_SYMBOL(remap_pfn_range); variable
|
H A D | vmalloc.c | 2145 * Similar to remap_pfn_range() (see mm/memory.c) 2198 * Similar to remap_pfn_range() (see mm/memory.c)
|
/linux-4.4.14/drivers/staging/rdma/hfi1/ |
H A D | file_ops.c | 582 ret = remap_pfn_range( hfi1_file_mmap() 709 ret = remap_pfn_range(vma, vma->vm_start, pfn, memlen, hfi1_file_mmap()
|
/linux-4.4.14/drivers/vfio/pci/ |
H A D | vfio_pci.c | 902 return remap_pfn_range(vma, vma->vm_start, vma->vm_pgoff, vfio_pci_mmap()
|
/linux-4.4.14/drivers/misc/sgi-gru/ |
H A D | grumain.c | 965 remap_pfn_range(vma, vaddr & ~(GRU_GSEG_PAGESIZE - 1), gru_fault()
|
/linux-4.4.14/drivers/misc/genwqe/ |
H A D | card_dev.c | 471 rc = remap_pfn_range(vma, genwqe_mmap()
|
/linux-4.4.14/arch/arm64/mm/ |
H A D | dma-mapping.c | 322 ret = remap_pfn_range(vma, vma->vm_start, __swiotlb_mmap()
|
/linux-4.4.14/drivers/staging/rdma/ipath/ |
H A D | ipath_file_ops.c | 1014 ret = remap_pfn_range(vma, vma->vm_start, pfn, ipath_mmap_mem() 1134 ret = remap_pfn_range(vma, start, pfn, size, mmap_rcvegrbufs()
|
/linux-4.4.14/drivers/infiniband/hw/qib/ |
H A D | qib_file_ops.c | 761 ret = remap_pfn_range(vma, vma->vm_start, pfn, qib_mmap_mem() 885 ret = remap_pfn_range(vma, start, pfn, size, mmap_rcvegrbufs()
|
/linux-4.4.14/drivers/infiniband/hw/cxgb3/ |
H A D | iwch_provider.c | 403 ret = remap_pfn_range(vma, vma->vm_start, iwch_mmap()
|
/linux-4.4.14/drivers/media/pci/meye/ |
H A D | meye.c | 1493 if (remap_pfn_range(vma, start, page, PAGE_SIZE, PAGE_SHARED)) { meye_mmap()
|
/linux-4.4.14/security/selinux/ |
H A D | selinuxfs.c | 261 return remap_pfn_range(vma, vma->vm_start, sel_mmap_handle_status()
|
/linux-4.4.14/drivers/staging/unisys/visorbus/ |
H A D | visorchipset.c | 2165 if (remap_pfn_range(vma, vma->vm_start, visorchipset_mmap()
|
/linux-4.4.14/drivers/staging/comedi/ |
H A D | comedi_fops.c | 2239 if (remap_pfn_range(vma, start, comedi_mmap()
|
/linux-4.4.14/drivers/media/platform/omap/ |
H A D | omap_vout.c | 921 if (remap_pfn_range(vma, start, pfn, PAGE_SIZE, PAGE_SHARED)) omap_vout_mmap()
|
/linux-4.4.14/drivers/media/usb/cpia2/ |
H A D | cpia2_core.c | 2405 if (remap_pfn_range(vma, start, page >> PAGE_SHIFT, PAGE_SIZE, PAGE_SHARED)) cpia2_remap_buffer()
|
/linux-4.4.14/arch/arm/mm/ |
H A D | dma-mapping.c | 706 ret = remap_pfn_range(vma, vma->vm_start, __arm_dma_mmap()
|
/linux-4.4.14/drivers/video/fbdev/aty/ |
H A D | atyfb_base.c | 1954 /* VM_IO | VM_DONTEXPAND | VM_DONTDUMP are set by remap_pfn_range() */ atyfb_mmap() 1989 if (remap_pfn_range(vma, vma->vm_start + page, atyfb_mmap()
|
/linux-4.4.14/drivers/infiniband/hw/nes/ |
H A D | nes_verbs.c | 718 if (remap_pfn_range(vma, vma->vm_start, nes_mmap() 722 nes_debug(NES_DBG_MMAP, "remap_pfn_range failed.\n"); nes_mmap()
|
/linux-4.4.14/drivers/infiniband/hw/ocrdma/ |
H A D | ocrdma_verbs.c | 656 status = remap_pfn_range(vma, vma->vm_start, ocrdma_mmap()
|
/linux-4.4.14/sound/core/ |
H A D | pcm_native.c | 3399 return remap_pfn_range(area, area->vm_start, snd_pcm_lib_default_mmap()
|
/linux-4.4.14/include/linux/ |
H A D | mm.h | 2080 int remap_pfn_range(struct vm_area_struct *, unsigned long addr,
|
/linux-4.4.14/arch/ia64/kernel/ |
H A D | perfmon.c | 2225 if (remap_pfn_range(vma, addr, pfn, PAGE_SIZE, PAGE_READONLY)) pfm_remap_buffer()
|