/drivers/gpu/drm/omapdrm/ |
D | omap_gem.c | 375 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 …]
|
D | omap_drv.h | 241 void omap_gem_cpu_sync(struct drm_gem_object *obj, int pgoff);
|
/drivers/xen/ |
D | gntalloc.c | 81 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()
|
D | privcmd.c | 519 vmf->pgoff, vmf->virtual_address); in privcmd_fault()
|
/drivers/base/ |
D | dma-buf.c | 469 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/ |
D | vfio_pci.c | 449 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/ |
D | fb_defio.c | 47 offset = vmf->pgoff << PAGE_SHIFT; in fb_deferred_io_fault() 63 page->index = vmf->pgoff; in fb_deferred_io_fault()
|
/drivers/usb/gadget/ |
D | uvc_queue.c | 242 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()
|
D | uvc_v4l2.c | 344 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/ |
D | uvc_queue.c | 235 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()
|
D | uvcvideo.h | 632 unsigned long pgoff);
|
D | uvc_v4l2.c | 1339 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/ |
D | dcssblk.c | 873 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/ |
D | mem.c | 281 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()
|
D | mspec.c | 204 pgoff_t index = vmf->pgoff; in mspec_fault()
|
/drivers/mtd/ |
D | mtdchar.c | 1101 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/ |
D | videobuf2-core.c | 1920 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()
|
D | v4l2-dev.c | 397 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/ |
D | ion.c | 1010 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/ |
D | bfin_capture.c | 265 unsigned long pgoff, in bcap_get_unmapped_area() argument 273 pgoff, in bcap_get_unmapped_area()
|
/drivers/scsi/bfa/ |
D | bfa_ioc.c | 688 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/ |
D | framebuffer.c | 128 address = (unsigned long)vmf->virtual_address - (vmf->pgoff << PAGE_SHIFT); in psbfb_vm_fault()
|
/drivers/uio/ |
D | uio.c | 622 offset = (vmf->pgoff - mi) << PAGE_SHIFT; in uio_vma_fault()
|
/drivers/net/ethernet/brocade/bna/ |
D | bfa_ioc.c | 1138 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/ |
D | mon_bin.c | 1230 offset = vmf->pgoff << PAGE_SHIFT; in mon_bin_vma_fault()
|