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

/linux-4.4.14/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.4.14/drivers/gpu/drm/vmwgfx/
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.c211 * @buf: DMA buffer to unpin.
262 * vmw_bo_pin_reserved - Pin or unpin a buffer object without moving it.
265 * @pin: Whether to pin or unpin.
H A Dvmwgfx_kms.h94 * @unpin is called
99 int (*unpin)(struct vmw_framebuffer *fb); member in struct:vmw_framebuffer
H A Dvmwgfx_overlay.c222 * Move a buffer to vram or gmr if @pin is set, else unpin the buffer.
H A Dvmwgfx_execbuf.c1152 * that fence, we can do an asynchronus unpin now, and be sure that the
4116 * vmw_execbuf_unpin_panic - Idle the fifo and unpin the query buffer.
4120 * This function is called to idle the fifo and unpin the query buffer
4126 DRM_ERROR("Can't unpin query buffer. Trying to recover.\n"); vmw_execbuf_unpin_panic()
4138 * __vmw_execbuf_release_pinned_bo - Flush queries and unpin the pinned
4146 * This function should be used to unpin the pinned query bo, or
4232 * vmw_execbuf_release_pinned_bo - Flush queries and unpin the pinned
4237 * This function should be used to unpin the pinned query bo, or
H A Dvmwgfx_fb.c534 vfb->unpin(vfb); vmw_fb_kms_framebuffer()
H A Dvmwgfx_kms.c964 vfb->unpin = vmw_framebuffer_unpin; vmw_kms_new_framebuffer()
/linux-4.4.14/drivers/gpu/drm/omapdrm/
H A Domap_dmm_tiler.h90 /* pin/unpin */
H A Domap_fb.c289 /* unpin, no longer being scanned out: */ omap_framebuffer_unpin()
H A Domap_dmm_tiler.c333 * Pin/unpin
418 /* 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.4.14/drivers/gpu/drm/qxl/
H A Dqxl_object.c253 dev_warn(qdev->dev, "%p unpin not necessary\n", bo); qxl_bo_unpin()
263 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.4.14/drivers/gpu/drm/radeon/
H A Dradeon_cursor.c268 goto unpin; radeon_crtc_cursor_set2()
322 unpin: radeon_crtc_cursor_set2()
H A Dradeon_object.c394 dev_warn(bo->rdev->dev, "%p unpin not necessary\n", bo); radeon_bo_unpin()
411 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()
529 /* schedule unpin of the old buffer */ radeon_crtc_page_flip()
635 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.c192 * radeon_vce_suspend - unpin VCE fw memory
H A Dradeon_device.c1583 /* unpin the front buffers and cursors */ radeon_suspend_kms()
1602 /* don't unpin kernel fb objects */ radeon_suspend_kms()
H A Datombios_crtc.c2152 DRM_ERROR("failed to reserve rbo before unpin\n"); atombios_crtc_disable()
/linux-4.4.14/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_fence.c449 * i915_gem_object_unpin_fence - unpin fencing state
450 * @obj: object to unpin fencing for
H A Dintel_guc_loader.c355 * We keep the object pages for reuse during resume. But we can unpin it guc_ucode_xfer()
H A Di915_gem.c1849 goto unpin; i915_gem_fault()
1853 goto unpin; i915_gem_fault()
1898 unpin: i915_gem_fault()
H A Dintel_display.c2387 * pin/unpin/fence and not more. intel_pin_and_fence_fb_obj()
3937 /* ensure that the unpin work is consistent wrt ->pending. */ page_flip_completed()
/linux-4.4.14/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.h239 /* unpin an object in the cache */
/linux-4.4.14/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.4.14/fs/ntfs/
H A Daops.h74 * unpin, unmap and release the page.
/linux-4.4.14/fs/xfs/
H A Dxfs_extfree_item.h61 * the unpin handler. Similar to the EFI, the reference also drops in the event
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()
1148 * log-committed callbacks to unpin these buffers. Or we may never xfs_buf_iodone()
H A Dxfs_extfree_item.c109 * The unpin operation is the last place an EFI is manipulated in the log. It is
282 * committed vs unpin operations in bulk insert operations. Hence the reference
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.c862 * shutdown EIO unpin and reclaim
886 * shutdown => unpin and reclaim
888 * pinned, sync => unpin
H A Dxfs_buf.h164 wait_queue_head_t b_waiters; /* unpin waiters */
H A Dxfs_trans.c817 /* unpin all the log items */ xfs_trans_committed_bulk()
845 * we have the ail lock. Then unpin the item. This does xfs_trans_committed_bulk()
H A Dxfs_log.c929 * trying to cover the log as we clean up. We then need to unpin all objects in
1298 * Every sync period we need to unpin all items in the AIL and push them to
3339 * interface to use when trying to unpin items or move the log forward.
3487 * 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.c374 * 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.c2445 * This is called to unpin an inode. The caller must have the inode locked
/linux-4.4.14/arch/frv/mm/
H A Dmmu-context.c174 /* unpin if pid is zero */ cxn_pin_by_pid()
/linux-4.4.14/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.4.14/drivers/gpu/drm/mgag200/
H A Dmgag200_ttm.c383 DRM_ERROR("unpin bad %p\n", bo); mgag200_bo_unpin()
399 DRM_ERROR("unpin bad %p\n", bo); mgag200_bo_push_sysram()
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_display.c142 * Handle unpin events outside the interrupt handler proper.
150 /* unpin of the old buffer */ amdgpu_unpin_work_func()
155 DRM_ERROR("failed to unpin buffer after flip\n"); amdgpu_unpin_work_func()
195 /* schedule unpin of the old buffer */ amdgpu_crtc_page_flip()
269 DRM_ERROR("failed to unpin new rbo in error path\n"); amdgpu_crtc_page_flip()
H A Damdgpu_object.c441 dev_warn(bo->adev->dev, "%p unpin not necessary\n", bo); amdgpu_bo_unpin()
458 dev_err(bo->adev->dev, "%p validate failed for unpin\n", bo); amdgpu_bo_unpin()
H A Damdgpu_gart.c171 * amdgpu_gart_table_vram_unpin - unpin gart page table in vram
H A Damdgpu_vce.c204 * amdgpu_vce_suspend - unpin VCE fw memory
H A Ddce_v10_0.c2571 goto unpin; dce_v10_0_crtc_cursor_set2()
2622 unpin: dce_v10_0_crtc_cursor_set2()
2756 DRM_ERROR("failed to reserve rbo before unpin\n"); dce_v10_0_crtc_disable()
H A Ddce_v11_0.c2560 goto unpin; dce_v11_0_crtc_cursor_set2()
2611 unpin: dce_v11_0_crtc_cursor_set2()
2745 DRM_ERROR("failed to reserve rbo before unpin\n"); dce_v11_0_crtc_disable()
H A Ddce_v8_0.c2483 goto unpin; dce_v8_0_crtc_cursor_set2()
2534 unpin: dce_v8_0_crtc_cursor_set2()
2668 DRM_ERROR("failed to reserve rbo before unpin\n"); dce_v8_0_crtc_disable()
H A Damdgpu_device.c1661 /* unpin the front buffers and cursors */ amdgpu_suspend_kms()
1680 /* don't unpin kernel fb objects */ amdgpu_suspend_kms()
/linux-4.4.14/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.4.14/arch/x86/xen/
H A Dmmu.c925 return 0; /* never need to flush on unpin */ xen_unpin_page()
1003 we need to repoint it somewhere else before we can unpin it. */ drop_other_mm_ref()
1073 * unpin old process pagetable and mark it all read-write, which
1078 * switch all CPUs off this pagetable before we can unpin it.
1142 static void __init xen_cleanmfnmap_free_pgtbl(void *pgtbl, bool unpin) xen_cleanmfnmap_free_pgtbl() argument
1146 if (unpin) xen_cleanmfnmap_free_pgtbl()
1166 bool unpin; xen_cleanmfnmap() local
1168 unpin = (vaddr == 2 * PGDIR_SIZE); xen_cleanmfnmap()
1192 xen_cleanmfnmap_free_pgtbl(pte, unpin); xen_cleanmfnmap()
1198 xen_cleanmfnmap_free_pgtbl(pmd, unpin); xen_cleanmfnmap()
1202 xen_cleanmfnmap_free_pgtbl(pud_page, unpin); xen_cleanmfnmap()
1805 /* For PVH no need to set R/O or R/W to pin them or unpin them. */ set_page_prot_flags()
/linux-4.4.14/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.c4333 struct extent_io_tree *unpin; btrfs_destroy_pinned_extent() local
4339 unpin = pinned_extents; btrfs_destroy_pinned_extent()
4342 ret = find_first_extent_bit(unpin, 0, &start, &end, btrfs_destroy_pinned_extent()
4347 clear_extent_dirty(unpin, start, end, GFP_NOFS); btrfs_destroy_pinned_extent()
4353 if (unpin == &root->fs_info->freed_extents[0]) btrfs_destroy_pinned_extent()
4354 unpin = &root->fs_info->freed_extents[1]; btrfs_destroy_pinned_extent()
4356 unpin = &root->fs_info->freed_extents[0]; btrfs_destroy_pinned_extent()
H A Dfree-space-cache.c1041 struct extent_io_tree *unpin = NULL; write_pinned_extent_entries() local
1054 unpin = root->fs_info->pinned_extents; write_pinned_extent_entries()
1059 ret = find_first_extent_bit(unpin, start, write_pinned_extent_entries()
H A Dextent-tree.c3450 * other block groups for this transaction, maybe we'll unpin enough cache_save_setup()
6332 struct extent_io_tree *unpin; btrfs_finish_extent_commit() local
6338 unpin = &fs_info->freed_extents[1]; btrfs_finish_extent_commit()
6340 unpin = &fs_info->freed_extents[0]; btrfs_finish_extent_commit()
6344 ret = find_first_extent_bit(unpin, 0, &start, &end, btrfs_finish_extent_commit()
6355 clear_extent_dirty(unpin, start, end, GFP_NOFS); btrfs_finish_extent_commit()
H A Dinode.c2092 * the caller is expected to unpin it and allow it to be merged insert_reserved_file_extent()
/linux-4.4.14/arch/x86/kvm/
H A Diommu.c121 * important because we unmap and unpin in 4kb steps later. kvm_iommu_map_pages()
/linux-4.4.14/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.4.14/drivers/gpu/drm/bochs/
H A Dbochs_mm.c319 DRM_ERROR("unpin bad %p\n", bo); bochs_bo_unpin()
/linux-4.4.14/drivers/gpu/drm/cirrus/
H A Dcirrus_ttm.c386 DRM_ERROR("unpin bad %p\n", bo); cirrus_bo_push_sysram()
/linux-4.4.14/drivers/staging/android/
H A Dashmem.c71 * The lifecycle of this structure is from unpin to pin.
642 * ashmem_unpin - unpin the given range of pages. Returns zero on success.
658 * The user can ask us to unpin pages that are already entirely ashmem_unpin()
/linux-4.4.14/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()
2257 * In local, we only unpin the matching region. In global we unpin all the
2330 * unpin all quorum regions o2hb_region_dec_user()
/linux-4.4.14/drivers/gpu/drm/tegra/
H A Dgem.c88 .unpin = tegra_bo_unpin,
/linux-4.4.14/drivers/media/v4l2-core/
H A Dvideobuf2-dma-sg.c588 pr_err("trying to unpin a not attached buffer\n"); vb2_dma_sg_unmap_dmabuf()
H A Dvideobuf2-dma-contig.c639 pr_err("trying to unpin a not attached buffer\n"); vb2_dc_unmap_dmabuf()
/linux-4.4.14/net/9p/
H A Dtrans_virtio.c499 * Non kernel buffers are pinned, unpin them p9_virtio_zc_request()
/linux-4.4.14/net/rds/
H A Dib_rdma.c698 /* Now we can destroy the DMA mapping and unpin any pages */ rds_ib_flush_mr_pool()
/linux-4.4.14/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.4.14/drivers/misc/genwqe/
H A Dcard_dev.c245 * not call the unpin ioctl, which is supposed to free genwqe_remove_pinnings()
/linux-4.4.14/drivers/gpu/drm/
H A Ddrm_gem.c451 * Use drm_gem_put_pages() to release the array and unpin all pages.
/linux-4.4.14/drivers/staging/lustre/lustre/ptlrpc/
H A Dclient.c192 void __ptlrpc_free_bulk(struct ptlrpc_bulk_desc *desc, int unpin) __ptlrpc_free_bulk() argument
208 if (unpin) { __ptlrpc_free_bulk()
/linux-4.4.14/drivers/staging/rdma/hfi1/
H A Duser_sdma.c990 * so the callback can unpin the pages and free it. */ user_sdma_send_pkts()
/linux-4.4.14/fs/
H A Dfs-writeback.c1476 * Bounce back to the caller to unpin this and writeback_sb_inodes()
/linux-4.4.14/arch/powerpc/kvm/
H A Dbook3s_hv.c504 /* sigh... unpin that one and try again */ kvmppc_update_vpa()
/linux-4.4.14/drivers/staging/lustre/lustre/include/lustre/
H A Dlustre_idl.h2219 __u32 flags; /* from vfs for pin/unpin, LUSTRE_BFLAG close */

Completed in 2126 milliseconds