Searched refs:unpin (Results 1 - 75 of 75) sorted by relevance

/linux-4.1.27/drivers/gpu/host1x/
H A Djob.c190 goto unpin; pin_job()
194 goto unpin; pin_job()
209 goto unpin; pin_job()
213 goto unpin; pin_job()
223 unpin: pin_job()
574 struct host1x_job_unpin_data *unpin = &job->unpins[i]; host1x_job_unpin() local
575 host1x_bo_unpin(unpin->bo, unpin->sgt); host1x_job_unpin()
576 host1x_bo_put(unpin->bo); host1x_job_unpin()
H A Dcdma.h41 * update - call to update sync queue and push buffer, unpin memory
H A Dcdma.c207 * - unpin & unref their mems
/linux-4.1.27/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_kms.h45 * @unpin is called
50 int (*unpin)(struct vmw_framebuffer *fb); member in struct:vmw_framebuffer
H A Dvmwgfx_ldu.c167 if (ld->fb->unpin) vmw_ldu_del_active()
168 ld->fb->unpin(ld->fb); vmw_ldu_del_active()
185 if (ld->fb && ld->fb->unpin) vmw_ldu_add_active()
186 ld->fb->unpin(ld->fb); vmw_ldu_add_active()
H A Dvmwgfx_dmabuf.c252 * @buf: DMA buffer to unpin.
294 * vmw_bo_pin - Pin or unpin a buffer object without moving it.
297 * @pin: Whether to pin or unpin.
H A Dvmwgfx_execbuf.c805 * that fence, we can do an asynchronus unpin now, and be sure that the
2620 * vmw_execbuf_unpin_panic - Idle the fifo and unpin the query buffer.
2624 * This function is called to idle the fifo and unpin the query buffer
2630 DRM_ERROR("Can't unpin query buffer. Trying to recover.\n"); vmw_execbuf_unpin_panic()
2640 * __vmw_execbuf_release_pinned_bo - Flush queries and unpin the pinned
2648 * This function should be used to unpin the pinned query bo, or
2731 * vmw_execbuf_release_pinned_bo - Flush queries and unpin the pinned
2736 * This function should be used to unpin the pinned query bo, or
H A Dvmwgfx_overlay.c222 * Move a buffer to vram or gmr if @pin is set, else unpin the buffer.
H A Dvmwgfx_kms.c1105 vfbd->base.unpin = vmw_framebuffer_dmabuf_unpin; vmw_kms_new_framebuffer_dmabuf()
/linux-4.1.27/drivers/gpu/drm/omapdrm/
H A Domap_plane.c61 /* for deferring bo unpin's until next post_apply(): */
75 * omap_framebuffer_pin/unpin are always called from priv->wq, omap_plane_unpin_worker()
395 "unpin", omap_plane_unpin_worker); omap_plane_init()
H A Domap_dmm_tiler.h90 /* pin/unpin */
H A Domap_fb.c280 /* unpin, no longer being scanned out: */ omap_framebuffer_unpin()
H A Domap_dmm_tiler.c332 * Pin/unpin
417 /* note: if you have pin'd pages, you should have already unpin'd first! */ tiler_release()
H A Domap_gem.c809 * could potentially unpin and unmap buffers from TILER
823 "could not unpin pages: %d\n", ret); omap_gem_put_paddr()
/linux-4.1.27/drivers/gpu/drm/qxl/
H A Dqxl_object.c256 dev_warn(qdev->dev, "%p unpin not necessary\n", bo); qxl_bo_unpin()
266 dev_err(qdev->dev, "%p validate failed for unpin\n", bo); qxl_bo_unpin()
H A Dqxl_drv.c103 /* unpin the front buffers */ qxl_drm_freeze()
/linux-4.1.27/drivers/gpu/drm/radeon/
H A Dradeon_cursor.c277 goto unpin; radeon_crtc_cursor_set2()
332 unpin: radeon_crtc_cursor_set2()
H A Dradeon_object.c387 dev_warn(bo->rdev->dev, "%p unpin not necessary\n", bo); radeon_bo_unpin()
404 dev_err(bo->rdev->dev, "%p validate failed for unpin\n", bo); radeon_bo_unpin()
H A Dradeon_gart.c185 * radeon_gart_table_vram_unpin - unpin gart page table in vram
H A Dradeon_display.c259 * radeon_unpin_work_func - unpin old buffer object
271 /* unpin of the old buffer */ radeon_unpin_work_func()
276 DRM_ERROR("failed to unpin buffer after flip\n"); radeon_unpin_work_func()
476 /* schedule unpin of the old buffer */ radeon_crtc_page_flip()
582 DRM_ERROR("failed to unpin new rbo in error path\n"); radeon_crtc_page_flip()
H A Dradeon_legacy_crtc.c437 * the old buffer after pining the new one, first unpin old one radeon_crtc_do_set_base()
1100 DRM_ERROR("failed to reserve rbo before unpin\n"); radeon_crtc_disable()
H A Dradeon_vce.c178 * radeon_vce_suspend - unpin VCE fw memory
H A Dradeon_device.c1575 /* unpin the front buffers and cursors */ radeon_suspend_kms()
1594 /* don't unpin kernel fb objects */ radeon_suspend_kms()
H A Datombios_crtc.c2142 DRM_ERROR("failed to reserve rbo before unpin\n"); atombios_crtc_disable()
/linux-4.1.27/include/linux/
H A Dhost1x.h64 void (*unpin)(struct host1x_bo *bo, struct sg_table *sgt); member in struct:host1x_bo_ops
99 bo->ops->unpin(bo, sgt); host1x_bo_unpin()
H A Dfscache-cache.h251 /* unpin an object in the cache */
/linux-4.1.27/fs/gfs2/
H A Dtrace_gfs2.h316 * Correctness: pin/unpin vs. disk I/O ordering
320 /* Pin/unpin a block in the log */
345 __entry->pin ? "pin" : "unpin",
H A Dlops.c92 * @bh: The buffer to unpin
/linux-4.1.27/fs/ntfs/
H A Daops.h74 * unpin, unmap and release the page.
/linux-4.1.27/arch/frv/mm/
H A Dmmu-context.c174 /* unpin if pid is zero */ cxn_pin_by_pid()
/linux-4.1.27/drivers/gpu/drm/ast/
H A Dast_ttm.c382 DRM_ERROR("unpin bad %p\n", bo); ast_bo_unpin()
402 DRM_ERROR("unpin bad %p\n", bo); ast_bo_push_sysram()
/linux-4.1.27/drivers/gpu/drm/i915/
H A Di915_gem_evict.c145 /* Can we unpin some objects such as idle hw contents, i915_gem_evict_something()
163 * acquire our locks and unpin the old scanouts. i915_gem_evict_something()
H A Di915_gem.c1658 goto unpin; i915_gem_fault()
1662 goto unpin; i915_gem_fault()
1687 unpin: i915_gem_fault()
H A Dintel_display.c2416 * pin/unpin/fence and not more. intel_pin_and_fence_fb_obj()
3776 /* ensure that the unpin work is consistent wrt ->pending. */ page_flip_completed()
/linux-4.1.27/drivers/gpu/drm/mgag200/
H A Dmgag200_ttm.c383 DRM_ERROR("unpin bad %p\n", bo); mgag200_bo_unpin()
403 DRM_ERROR("unpin bad %p\n", bo); mgag200_bo_push_sysram()
/linux-4.1.27/fs/jfs/
H A Djfs_dtree.c794 /* unpin the parent page */ dtSearch()
867 * dtSplitUp() will insert the entry and unpin the leaf page. dtInsert()
912 /* unpin the leaf page */ dtInsert()
1221 /* unpin left child page */ dtSplitUp()
1240 /* unpin right child page */ dtSplitUp()
1293 /* unpin current split and its right page */ dtSplitUp()
2425 /* unpin the parent page */ dtDeleteUp()
2582 /* unpin the relocated page */ dtRelocate()
2625 /* unpin the parent dtpage */ dtRelocate()
2692 /* unpin the parent page */ dtSearchNode()
2724 /* unpin current page */ dtSearchNode()
3302 /* unpin previous leaf page */ jfs_readdir()
3400 /* unpin the parent page */ dtReadFirst()
3478 /* unpin leaf page */ dtReadNext()
3493 /* unpin leftmost leaf page */ dtReadNext()
3511 /* unpin current parent page */ dtReadNext()
3534 /* unpin parent page */ dtReadNext()
3552 /* unpin leaf page */ dtReadNext()
4572 /* unpin the leaf page */ dtModify()
H A Djfs_xtree.c512 /* unpin the parent page */ xtSearch()
606 * The xtSplitUp() will insert the entry and unpin the leaf page. xtInsert()
666 /* unpin the leaf page */ xtInsert()
862 /* unpin previous right child page */ xtSplitUp()
924 /* unpin parent page */ xtSplitUp()
932 /* unpin current right page */ xtSplitUp()
1429 * The xtSplitUp() will insert the entry and unpin the leaf page. xtExtend()
1503 /* unpin the leaf page */ xtExtend()
1594 * The xtSplitUp() will insert the entry and unpin the leaf page. xtTailgate()
1685 /* unpin the leaf page */ xtTailgate()
2145 /* unpin the leaf page */ xtUpdate()
2227 * The xtSplitUp() will insert the entry and unpin the leaf page. xtAppend()
2316 /* unpin the leaf page */ xtAppend()
2359 /* unpin the leaf page */ xtDelete()
2498 /* unpin/free the buffer page */ xtDeleteUp()
2536 /* unpin the parent page */ xtDeleteUp()
2809 /* unpin the target page to new homeward bound */ xtRelocate()
2866 /* unpin the parent xtpage */ xtRelocate()
2992 /* unpin the parent page */ xtSearchNode()
/linux-4.1.27/fs/xfs/
H A Dxfs_buf_item.c398 * This is called to unpin the buffer associated with the buf log
525 * issues a log force to unpin the stale buffer. Check for the xfs_buf_item_push()
563 * potential races with the unpin code freeing the bli by not referencing the
587 * (cancelled) buffers at unpin time, but we'll never go through the xfs_buf_item_unlock()
588 * pin/unpin cycle if we abort inside commit. xfs_buf_item_unlock()
1146 * log-committed callbacks to unpin these buffers. Or we may never xfs_buf_iodone()
H A Dxfs_extfree_item.c53 * committed vs unpin operations in bulk insert operations. Hence the reference
131 * While EFIs cannot really be pinned, the unpin operation is the last place at
H A Dxfs_inode_item.c388 * This is called to unpin the inode associated with the inode log
509 * To avoid this, just unpin the inode directly and return a LSN of -1 so the
H A Dxfs_dquot_item.c123 * Most of these pin/unpin routines are plagiarized from inode code.
H A Dxfs_icache.c860 * shutdown EIO unpin and reclaim
884 * shutdown => unpin and reclaim
886 * pinned, sync => unpin
H A Dxfs_buf.h162 wait_queue_head_t b_waiters; /* unpin waiters */
H A Dxfs_trans.c824 /* unpin all the log items */ xfs_trans_committed_bulk()
852 * we have the ail lock. Then unpin the item. This does xfs_trans_committed_bulk()
H A Dxfs_log.c914 * trying to cover the log as we clean up. We then need to unpin all objects in
1281 * Every sync period we need to unpin all items in the AIL and push them to
3302 * interface to use when trying to unpin items or move the log forward.
3450 * interface to use when trying to unpin items or move the log forward.
H A Dxfs_trans_ail.c478 * the restart to issue a log force to unpin the stuck items. xfsaild_push()
H A Dxfs_trans_buf.c657 * special processing during unpin - where any inodes
H A Dxfs_log_cil.c368 * chains in a separate pass so that we unpin the log items as quickly as
H A Dxfs_super.c1147 /* force the log to unpin objects from the now complete transactions */ xfs_quiesce_attr()
H A Dxfs_inode.c2458 * This is called to unpin an inode. The caller must have the inode locked
/linux-4.1.27/fs/btrfs/
H A Dextent_map.c265 * unpin_extent_cache - unpin an extent from the cache
266 * @tree: tree to unpin the extent in
H A Ddisk-io.c4231 struct extent_io_tree *unpin; btrfs_destroy_pinned_extent() local
4237 unpin = pinned_extents; btrfs_destroy_pinned_extent()
4240 ret = find_first_extent_bit(unpin, 0, &start, &end, btrfs_destroy_pinned_extent()
4245 clear_extent_dirty(unpin, start, end, GFP_NOFS); btrfs_destroy_pinned_extent()
4251 if (unpin == &root->fs_info->freed_extents[0]) btrfs_destroy_pinned_extent()
4252 unpin = &root->fs_info->freed_extents[1]; btrfs_destroy_pinned_extent()
4254 unpin = &root->fs_info->freed_extents[0]; btrfs_destroy_pinned_extent()
H A Dfree-space-cache.c1043 struct extent_io_tree *unpin = NULL; write_pinned_extent_entries() local
1056 unpin = root->fs_info->pinned_extents; write_pinned_extent_entries()
1061 ret = find_first_extent_bit(unpin, start, write_pinned_extent_entries()
H A Dextent-tree.c6043 struct extent_io_tree *unpin; btrfs_finish_extent_commit() local
6052 unpin = &fs_info->freed_extents[1]; btrfs_finish_extent_commit()
6054 unpin = &fs_info->freed_extents[0]; btrfs_finish_extent_commit()
6058 ret = find_first_extent_bit(unpin, 0, &start, &end, btrfs_finish_extent_commit()
6069 clear_extent_dirty(unpin, start, end, GFP_NOFS); btrfs_finish_extent_commit()
H A Dinode.c2076 * the caller is expected to unpin it and allow it to be merged insert_reserved_file_extent()
/linux-4.1.27/arch/x86/kvm/
H A Diommu.c121 * important because we unmap and unpin in 4kb steps later. kvm_iommu_map_pages()
/linux-4.1.27/drivers/gpu/drm/gma500/
H A Dgma_display.c129 /* If there was a previous display we can now unpin it */ gma_pipe_set_base()
440 /* unpin the old bo */ gma_crtc_cursor_set()
H A Dgtt.c296 DRM_ERROR("Failed to idle the blitter, unpin failed!"); psb_gtt_unpin()
/linux-4.1.27/drivers/gpu/drm/bochs/
H A Dbochs_mm.c319 DRM_ERROR("unpin bad %p\n", bo); bochs_bo_unpin()
/linux-4.1.27/drivers/gpu/drm/cirrus/
H A Dcirrus_ttm.c386 DRM_ERROR("unpin bad %p\n", bo); cirrus_bo_push_sysram()
/linux-4.1.27/drivers/staging/android/
H A Dashmem.c70 * The lifecycle of this structure is from unpin to pin.
641 * ashmem_unpin - unpin the given range of pages. Returns zero on success.
657 * The user can ask us to unpin pages that are already entirely ashmem_unpin()
/linux-4.1.27/fs/ocfs2/cluster/
H A Dheartbeat.c159 * In global heartbeat mode, we pin/unpin all o2hb regions. This solution
757 * If global heartbeat active, unpin all regions if the o2hb_set_quorum_device()
2409 * In local, we only unpin the matching region. In global we unpin all the
2482 * unpin all quorum regions o2hb_region_dec_user()
/linux-4.1.27/drivers/gpu/drm/tegra/
H A Dgem.c88 .unpin = tegra_bo_unpin,
/linux-4.1.27/arch/x86/xen/
H A Dmmu.c924 return 0; /* never need to flush on unpin */ xen_unpin_page()
1002 we need to repoint it somewhere else before we can unpin it. */ drop_other_mm_ref()
1072 * unpin old process pagetable and mark it all read-write, which
1077 * switch all CPUs off this pagetable before we can unpin it.
1693 /* For PVH no need to set R/O or R/W to pin them or unpin them. */ set_page_prot_flags()
/linux-4.1.27/drivers/media/v4l2-core/
H A Dvideobuf2-dma-contig.c777 pr_err("trying to unpin a not attached buffer\n"); vb2_dc_unmap_dmabuf()
H A Dvideobuf2-dma-sg.c644 pr_err("trying to unpin a not attached buffer\n"); vb2_dma_sg_unmap_dmabuf()
/linux-4.1.27/net/9p/
H A Dtrans_virtio.c499 * Non kernel buffers are pinned, unpin them p9_virtio_zc_request()
/linux-4.1.27/net/rds/
H A Dib_rdma.c639 /* Now we can destroy the DMA mapping and unpin any pages */ rds_ib_flush_mr_pool()
/linux-4.1.27/drivers/misc/genwqe/
H A Dcard_dev.c245 * not call the unpin ioctl, which is supposed to free genwqe_remove_pinnings()
/linux-4.1.27/drivers/gpu/drm/
H A Ddrm_gem.c451 * Use drm_gem_put_pages() to release the array and unpin all pages.
/linux-4.1.27/drivers/vfio/
H A Dvfio_iommu_type1.c348 * pfns to unpin. The rest need to be unmapped in advance so we have vfio_unmap_unpin()
/linux-4.1.27/drivers/staging/lustre/lustre/ptlrpc/
H A Dclient.c187 void __ptlrpc_free_bulk(struct ptlrpc_bulk_desc *desc, int unpin) __ptlrpc_free_bulk() argument
203 if (unpin) { __ptlrpc_free_bulk()
/linux-4.1.27/fs/
H A Dfs-writeback.c697 * Bounce back to the caller to unpin this and writeback_sb_inodes()
/linux-4.1.27/arch/powerpc/kvm/
H A Dbook3s_hv.c490 /* sigh... unpin that one and try again */ kvmppc_update_vpa()
/linux-4.1.27/drivers/staging/lustre/lustre/include/lustre/
H A Dlustre_idl.h2214 __u32 flags; /* from vfs for pin/unpin, LUSTRE_BFLAG close */

Completed in 1990 milliseconds