Searched refs:remap_pfn_range (Results 1 - 83 of 83) sorted by relevance

/linux-4.4.14/drivers/xen/xenfs/
H A Dxenstored.c40 if (remap_pfn_range(vma, vma->vm_start, xsd_kva_mmap()
/linux-4.4.14/arch/um/drivers/
H A Dmmapper_kern.c61 * 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 Dpgtable-ppc64-4k.h84 * On all 4K setups, remap_4k_pfn() equates to remap_pfn_range() */
86 remap_pfn_range((vma), (addr), (pfn), PAGE_SIZE, (prot))
H A Dpte-hash64-64k.h99 remap_pfn_range((vma), (addr), (pfn), PAGE_SIZE, \
/linux-4.4.14/drivers/char/
H A Duv_mmtimer.c144 * 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 Dmmtimer.c434 * 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 Dmbcs.c511 if (remap_pfn_range(vma, mbcs_gscr_mmap()
H A Dmem.c345 if (remap_pfn_range(vma, mmap_mem()
/linux-4.4.14/arch/cris/arch-v32/drivers/pci/
H A Dbios.c31 if (remap_pfn_range(vma, vma->vm_start, vma->vm_pgoff, pci_mmap_page_range()
/linux-4.4.14/arch/powerpc/kernel/
H A Dproc_powerpc.c49 remap_pfn_range(vma, vma->vm_start, page_map_mmap()
H A Ddma.c190 return remap_pfn_range(vma, vma->vm_start, dma_direct_mmap_coherent()
H A Dpci-common.c465 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 Dehca_uverbs.c120 /* 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 Dxenbus_dev_backend.c103 if (remap_pfn_range(vma, vma->vm_start, xenbus_backend_mmap()
/linux-4.4.14/drivers/base/
H A Ddma-coherent.c238 * @ret: result from remap_pfn_range()
261 *ret = remap_pfn_range(vma, vma->vm_start, pfn, dma_mmap_from_coherent()
H A Ddma-mapping.c262 ret = remap_pfn_range(vma, vma->vm_start, dma_common_mmap()
/linux-4.4.14/arch/s390/kernel/
H A Dcrash_dump.c161 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 Dmic_fops.c210 err = remap_pfn_range(vma, vma->vm_start + offset, mic_mmap()
/linux-4.4.14/arch/mips/kernel/
H A Dvdso.c153 ret = remap_pfn_range(vma, data_addr, arch_setup_additional_pages()
/linux-4.4.14/arch/microblaze/kernel/
H A Ddma.c177 return remap_pfn_range(vma, vma->vm_start, pfn + off, dma_direct_mmap_coherent()
/linux-4.4.14/sound/soc/pxa/
H A Dmmp-pcm.c129 return remap_pfn_range(vma, vma->vm_start, mmp_pcm_mmap()
/linux-4.4.14/arch/sparc/include/asm/
H A Dpgtable_32.h409 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 Dpgtable_64.h991 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 Dscif_mmap.c376 * 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 Dpgtable.h537 * 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 Dudl_fb.c272 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 Dion_heap.c95 ret = remap_pfn_range(vma, addr, page_to_pfn(page), len, ion_heap_map_user()
/linux-4.4.14/drivers/video/fbdev/
H A Dsbuslib.c60 /* VM_IO | VM_DONTEXPAND | VM_DONTDUMP are set by remap_pfn_range() */ sbusfb_mmap_helper()
H A Digafb.c261 if (remap_pfn_range(vma, vma->vm_start + page, igafb_mmap()
H A Dvfb.c440 if (remap_pfn_range(vma, start, page, PAGE_SIZE, PAGE_SHARED)) { vfb_mmap()
H A Dgbefb.c1024 /* 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 Damba-clcd.c741 return remap_pfn_range(vma, vma->vm_start, clcdfb_of_vram_mmap()
H A Dsmscufx.c799 if (remap_pfn_range(vma, start, page, PAGE_SIZE, PAGE_SHARED)) ufx_ops_mmap()
H A Dudlfb.c341 if (remap_pfn_range(vma, start, page, PAGE_SIZE, PAGE_SHARED)) dlfb_ops_mmap()
/linux-4.4.14/arch/x86/entry/vdso/
H A Dvma.c150 ret = remap_pfn_range(vma, map_vdso()
/linux-4.4.14/arch/sh/drivers/pci/
H A Dpci.c288 return remap_pfn_range(vma, vma->vm_start, vma->vm_pgoff, pci_mmap_page_range()
/linux-4.4.14/arch/mips/pci/
H A Dpci.c345 return remap_pfn_range(vma, vma->vm_start, vma->vm_pgoff, pci_mmap_page_range()
/linux-4.4.14/arch/parisc/kernel/
H A Dpci.c228 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 Dpgtable.h471 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 Dpci.c460 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 Dpci.c380 if (remap_pfn_range(vma, vma->vm_start, phys, pci_mmap_page_range()
/linux-4.4.14/arch/powerpc/platforms/powernv/
H A Dopal-prd.c132 rc = remap_pfn_range(vma, vma->vm_start, vma->vm_pgoff, size, opal_prd_mmap()
/linux-4.4.14/arch/metag/kernel/
H A Ddma.c356 ret = remap_pfn_range(vma, vma->vm_start, dma_mmap()
/linux-4.4.14/arch/mips/mm/
H A Ddma-default.c225 ret = remap_pfn_range(vma, vma->vm_start, mips_dma_mmap()
/linux-4.4.14/arch/arm/mach-integrator/
H A Dimpd1.c246 return remap_pfn_range(vma, vma->vm_start, start, size, impd1fb_clcd_mmap()
/linux-4.4.14/sound/soc/atmel/
H A Datmel-pcm-pdc.c75 return remap_pfn_range(vma, vma->vm_start, atmel_pcm_mmap()
/linux-4.4.14/fs/proc/
H A Dvmcore.c164 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 Djsflash.c24 * dubious way; also it assumes that remap_pfn_range() can remap
/linux-4.4.14/drivers/vfio/platform/
H A Dvfio_platform_common.c493 return remap_pfn_range(vma, vma->vm_start, vma->vm_pgoff, vfio_platform_mmap_mmio()
/linux-4.4.14/sound/oss/
H A Dsoundcard.c473 if (remap_pfn_range(vma, vma->vm_start, sound_mmap()
/linux-4.4.14/drivers/uio/
H A Duio.c662 return remap_pfn_range(vma, uio_mmap_physical()
/linux-4.4.14/drivers/infiniband/hw/cxgb4/
H A Dprovider.c227 ret = remap_pfn_range(vma, vma->vm_start, c4iw_mmap()
/linux-4.4.14/drivers/media/pci/zoran/
H A Dzoran_driver.c2751 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 Dusnic_ib_verbs.c729 return remap_pfn_range(vma, usnic_ib_mmap()
/linux-4.4.14/drivers/gpu/drm/
H A Ddrm_vm.c630 if (remap_pfn_range(vma, vma->vm_start, drm_mmap_locked()
/linux-4.4.14/arch/tile/mm/
H A Dpgtable.c439 /* remap_pfn_range(), etc, must supply PTE mode. */ set_pte()
/linux-4.4.14/arch/arm/kernel/
H A Dbios32.c619 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 Dkfd_events.c848 return remap_pfn_range(vma, vma->vm_start, pfn, kfd_event_mmap()
/linux-4.4.14/arch/microblaze/pci/
H A Dpci-common.c333 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 Dmemory.c720 * 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 Dnommu.c1783 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 Dvmalloc.c2145 * 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 Dfile_ops.c582 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 Dvfio_pci.c902 return remap_pfn_range(vma, vma->vm_start, vma->vm_pgoff, vfio_pci_mmap()
/linux-4.4.14/drivers/misc/sgi-gru/
H A Dgrumain.c965 remap_pfn_range(vma, vaddr & ~(GRU_GSEG_PAGESIZE - 1), gru_fault()
/linux-4.4.14/drivers/misc/genwqe/
H A Dcard_dev.c471 rc = remap_pfn_range(vma, genwqe_mmap()
/linux-4.4.14/arch/arm64/mm/
H A Ddma-mapping.c322 ret = remap_pfn_range(vma, vma->vm_start, __swiotlb_mmap()
/linux-4.4.14/drivers/staging/rdma/ipath/
H A Dipath_file_ops.c1014 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 Dqib_file_ops.c761 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 Diwch_provider.c403 ret = remap_pfn_range(vma, vma->vm_start, iwch_mmap()
/linux-4.4.14/drivers/media/pci/meye/
H A Dmeye.c1493 if (remap_pfn_range(vma, start, page, PAGE_SIZE, PAGE_SHARED)) { meye_mmap()
/linux-4.4.14/security/selinux/
H A Dselinuxfs.c261 return remap_pfn_range(vma, vma->vm_start, sel_mmap_handle_status()
/linux-4.4.14/drivers/staging/unisys/visorbus/
H A Dvisorchipset.c2165 if (remap_pfn_range(vma, vma->vm_start, visorchipset_mmap()
/linux-4.4.14/drivers/staging/comedi/
H A Dcomedi_fops.c2239 if (remap_pfn_range(vma, start, comedi_mmap()
/linux-4.4.14/drivers/media/platform/omap/
H A Domap_vout.c921 if (remap_pfn_range(vma, start, pfn, PAGE_SIZE, PAGE_SHARED)) omap_vout_mmap()
/linux-4.4.14/drivers/media/usb/cpia2/
H A Dcpia2_core.c2405 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 Ddma-mapping.c706 ret = remap_pfn_range(vma, vma->vm_start, __arm_dma_mmap()
/linux-4.4.14/drivers/video/fbdev/aty/
H A Datyfb_base.c1954 /* 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 Dnes_verbs.c718 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 Docrdma_verbs.c656 status = remap_pfn_range(vma, vma->vm_start, ocrdma_mmap()
/linux-4.4.14/sound/core/
H A Dpcm_native.c3399 return remap_pfn_range(area, area->vm_start, snd_pcm_lib_default_mmap()
/linux-4.4.14/include/linux/
H A Dmm.h2080 int remap_pfn_range(struct vm_area_struct *, unsigned long addr,
/linux-4.4.14/arch/ia64/kernel/
H A Dperfmon.c2225 if (remap_pfn_range(vma, addr, pfn, PAGE_SIZE, PAGE_READONLY)) pfm_remap_buffer()

Completed in 3346 milliseconds