Home
last modified time | relevance | path

Searched refs:pgoff (Results 1 – 25 of 28) sorted by relevance

12

/drivers/gpu/drm/omapdrm/
Domap_gem.c375 pgoff_t pgoff; in fault_1d() local
378 pgoff = ((unsigned long)vmf->virtual_address - in fault_1d()
382 omap_gem_cpu_sync(obj, pgoff); in fault_1d()
383 pfn = page_to_pfn(omap_obj->pages[pgoff]); in fault_1d()
386 pfn = (omap_obj->paddr >> PAGE_SHIFT) + pgoff; in fault_1d()
404 pgoff_t pgoff, base_pgoff; in fault_2d() local
425 pgoff = ((unsigned long)vmf->virtual_address - in fault_2d()
432 base_pgoff = round_down(pgoff, m << n_shift); in fault_2d()
437 vaddr = vmf->virtual_address - ((pgoff - base_pgoff) << PAGE_SHIFT); in fault_2d()
453 int off = pgoff % m; in fault_2d()
[all …]
Domap_drv.h241 void omap_gem_cpu_sync(struct drm_gem_object *obj, int pgoff);
/drivers/xen/
Dgntalloc.c81 uint16_t pgoff:12; /* Bits 0-11: Offset of the byte to clear */ member
184 tmp[gref->notify.pgoff] = 0; in __del_gref()
387 int pgoff; in gntalloc_ioctl_unmap_notify() local
394 pgoff = op.index & (PAGE_SIZE - 1); in gntalloc_ioctl_unmap_notify()
427 gref->notify.pgoff = pgoff; in gntalloc_ioctl_unmap_notify()
Dprivcmd.c519 vmf->pgoff, vmf->virtual_address); in privcmd_fault()
/drivers/base/
Ddma-buf.c469 unsigned long pgoff) in dma_buf_mmap() argument
478 if (pgoff + ((vma->vm_end - vma->vm_start) >> PAGE_SHIFT) < pgoff) in dma_buf_mmap()
482 if (pgoff + ((vma->vm_end - vma->vm_start) >> PAGE_SHIFT) > in dma_buf_mmap()
490 vma->vm_pgoff = pgoff; in dma_buf_mmap()
/drivers/vfio/pci/
Dvfio_pci.c449 u64 phys_len, req_len, pgoff, req_start; in vfio_pci_mmap() local
465 pgoff = vma->vm_pgoff & in vfio_pci_mmap()
467 req_start = pgoff << PAGE_SHIFT; in vfio_pci_mmap()
504 vma->vm_pgoff = (pci_resource_start(pdev, index) >> PAGE_SHIFT) + pgoff; in vfio_pci_mmap()
/drivers/video/
Dfb_defio.c47 offset = vmf->pgoff << PAGE_SHIFT; in fb_deferred_io_fault()
63 page->index = vmf->pgoff; in fb_deferred_io_fault()
/drivers/usb/gadget/
Duvc_queue.c242 unsigned long pgoff) in uvc_queue_get_unmapped_area() argument
247 ret = vb2_get_unmapped_area(&queue->queue, 0, 0, pgoff, 0); in uvc_queue_get_unmapped_area()
Duvc_v4l2.c344 unsigned long addr, unsigned long len, unsigned long pgoff, in uvc_v4l2_get_unmapped_area() argument
350 return uvc_queue_get_unmapped_area(&uvc->video.queue, pgoff); in uvc_v4l2_get_unmapped_area()
/drivers/media/usb/uvc/
Duvc_queue.c235 unsigned long pgoff) in uvc_queue_get_unmapped_area() argument
240 ret = vb2_get_unmapped_area(&queue->queue, 0, 0, pgoff, 0); in uvc_queue_get_unmapped_area()
Duvcvideo.h632 unsigned long pgoff);
Duvc_v4l2.c1339 unsigned long addr, unsigned long len, unsigned long pgoff, in uvc_v4l2_get_unmapped_area() argument
1347 return uvc_queue_get_unmapped_area(&stream->queue, pgoff); in uvc_v4l2_get_unmapped_area()
/drivers/s390/block/
Ddcssblk.c873 unsigned long pgoff; in dcssblk_direct_access() local
880 pgoff = secnum / (PAGE_SIZE / 512); in dcssblk_direct_access()
881 if ((pgoff+1)*PAGE_SIZE-1 > dev_info->end - dev_info->start) in dcssblk_direct_access()
883 *kaddr = (void *) (dev_info->start+pgoff*PAGE_SIZE); in dcssblk_direct_access()
/drivers/char/
Dmem.c281 unsigned long pgoff, in get_unmapped_area_mem() argument
284 if (!valid_mmap_phys_addr_range(pgoff, len)) in get_unmapped_area_mem()
286 return pgoff << PAGE_SHIFT; in get_unmapped_area_mem()
Dmspec.c204 pgoff_t index = vmf->pgoff; in mspec_fault()
/drivers/mtd/
Dmtdchar.c1101 unsigned long pgoff, in mtdchar_get_unmapped_area() argument
1112 if (len > mtd->size || pgoff >= (mtd->size >> PAGE_SHIFT)) in mtdchar_get_unmapped_area()
1115 offset = pgoff << PAGE_SHIFT; in mtdchar_get_unmapped_area()
/drivers/media/v4l2-core/
Dvideobuf2-core.c1920 unsigned long pgoff, in vb2_get_unmapped_area() argument
1923 unsigned long off = pgoff << PAGE_SHIFT; in vb2_get_unmapped_area()
2683 unsigned long len, unsigned long pgoff, unsigned long flags) in vb2_fop_get_unmapped_area() argument
2687 return vb2_get_unmapped_area(vdev->queue, addr, len, pgoff, flags); in vb2_fop_get_unmapped_area()
Dv4l2-dev.c397 unsigned long addr, unsigned long len, unsigned long pgoff, in v4l2_get_unmapped_area() argument
407 ret = vdev->fops->get_unmapped_area(filp, addr, len, pgoff, flags); in v4l2_get_unmapped_area()
/drivers/staging/android/ion/
Dion.c1010 ion_buffer_page_dirty(buffer->pages + vmf->pgoff); in ion_vm_fault()
1011 BUG_ON(!buffer->pages || !buffer->pages[vmf->pgoff]); in ion_vm_fault()
1013 pfn = page_to_pfn(ion_buffer_page(buffer->pages[vmf->pgoff])); in ion_vm_fault()
/drivers/media/platform/blackfin/
Dbfin_capture.c265 unsigned long pgoff, in bcap_get_unmapped_area() argument
273 pgoff, in bcap_get_unmapped_area()
/drivers/scsi/bfa/
Dbfa_ioc.c688 u32 r32, fwstate, pgnum, pgoff, loff = 0; in bfa_iocpf_sm_fwcheck_entry() local
718 pgoff = PSS_SMEM_PGOFF(loff); in bfa_iocpf_sm_fwcheck_entry()
1431 u32 pgnum, pgoff; in bfa_ioc_fwver_get() local
1437 pgoff = PSS_SMEM_PGOFF(loff); in bfa_ioc_fwver_get()
1684 u32 pgnum, pgoff; in bfa_ioc_download_fw() local
1694 pgoff = PSS_SMEM_PGOFF(loff); in bfa_ioc_download_fw()
4523 u32 pgnum, pgoff, i; in bfa_diag_memtest_done() local
4526 pgoff = PSS_SMEM_PGOFF(loff); in bfa_diag_memtest_done()
/drivers/gpu/drm/gma500/
Dframebuffer.c128 address = (unsigned long)vmf->virtual_address - (vmf->pgoff << PAGE_SHIFT); in psbfb_vm_fault()
/drivers/uio/
Duio.c622 offset = (vmf->pgoff - mi) << PAGE_SHIFT; in uio_vma_fault()
/drivers/net/ethernet/brocade/bna/
Dbfa_ioc.c1138 u32 pgnum, pgoff, loff = 0; in bfa_ioc_fwver_clear() local
1142 pgoff = PSS_SMEM_PGOFF(loff); in bfa_ioc_fwver_clear()
/drivers/usb/mon/
Dmon_bin.c1230 offset = vmf->pgoff << PAGE_SHIFT; in mon_bin_vma_fault()

12