Searched refs:resv (Results 101 - 125 of 272) sorted by relevance

1234567891011

/linux-master/drivers/gpu/drm/qxl/
H A Dqxl_debugfs.c64 dma_resv_iter_begin(&cursor, bo->tbo.base.resv,
H A Dqxl_object.c160 dma_resv_assert_held(bo->tbo.base.resv);
233 dma_resv_assert_held(bo->tbo.base.resv);
291 dma_resv_assert_held(bo->tbo.base.resv);
308 dma_resv_assert_held(bo->tbo.base.resv);
H A Dqxl_release.c203 ret = dma_resv_reserve_fences(bo->tbo.base.resv, 1);
432 dma_resv_add_fence(bo->base.resv, &release->base,
435 dma_resv_unlock(bo->base.resv);
/linux-master/drivers/gpu/drm/etnaviv/
H A Detnaviv_gem.h9 #include <linux/dma-resv.h>
/linux-master/drivers/gpu/drm/radeon/
H A Dradeon_test.c123 vram_obj->tbo.base.resv);
127 vram_obj->tbo.base.resv);
174 vram_obj->tbo.base.resv);
178 vram_obj->tbo.base.resv);
H A Dsi_dma.c224 * @resv: reservation object to sync to
233 struct dma_resv *resv)
254 radeon_sync_resv(rdev, &sync, resv, false);
230 si_copy_dma(struct radeon_device *rdev, uint64_t src_offset, uint64_t dst_offset, unsigned num_gpu_pages, struct dma_resv *resv) argument
H A Dradeon_object.h140 struct dma_resv *resv,
/linux-master/drivers/gpu/drm/nouveau/
H A Dnouveau_fence.c361 struct dma_resv *resv = nvbo->bo.base.resv; local
364 ret = dma_resv_reserve_fences(resv, 1);
375 dma_resv_for_each_fence(&cursor, resv,
H A Dnouveau_bo.c350 .resv = robj,
471 dma_resv_assert_held(bo->base.resv);
542 dma_resv_assert_held(bo->base.resv);
1005 ret = dma_resv_wait_timeout(bo->base.resv,
1050 ret = dma_resv_get_singleton(bo->base.resv, DMA_RESV_USAGE_WRITE,
1053 dma_resv_wait_timeout(bo->base.resv, DMA_RESV_USAGE_WRITE,
1391 struct dma_resv *resv = nvbo->bo.base.resv; local
1396 dma_resv_add_fence(resv, &fence->base, exclusive ?
/linux-master/drivers/dma-buf/
H A Ddma-resv.c36 #include <linux/dma-resv.h>
71 struct dma_resv *resv, struct dma_fence **fence,
77 resv ? dma_resv_held(resv) : true);
610 * Get a single fence representing all the fences inside the resv object.
613 * Warning: This can't be used like this when adding the fence back to the resv
744 * dma_resv_describe - Dump description of the resv object into seq_file
70 dma_resv_list_entry(struct dma_resv_list *list, unsigned int index, struct dma_resv *resv, struct dma_fence **fence, enum dma_resv_usage *usage) argument
H A Dudmabuf.c5 #include <linux/dma-resv.h>
67 dma_resv_assert_held(buf->resv);
81 dma_resv_assert_held(buf->resv);
/linux-master/drivers/gpu/drm/panthor/
H A Dpanthor_mmu.h8 #include <linux/dma-resv.h>
/linux-master/drivers/gpu/drm/lima/
H A Dlima_gem.c37 dma_resv_lock(bo->base.base.resv, NULL);
45 dma_resv_unlock(bo->base.base.resv);
59 dma_resv_unlock(bo->base.base.resv);
65 dma_resv_unlock(bo->base.base.resv);
/linux-master/drivers/gpu/drm/i915/gem/selftests/
H A Di915_gem_mman.c676 struct drm_mm_node *resv; local
678 resv = kzalloc(sizeof(*resv), GFP_NOWAIT);
679 if (!resv) {
684 resv->start = drm_mm_hole_node_start(hole) + loop;
685 resv->size = hole->hole_size - loop;
686 resv->color = -1ul;
689 if (!resv->size) {
690 kfree(resv);
695 resv
[all...]
/linux-master/io_uring/
H A Dkbuf.c679 if (reg.resv[0] || reg.resv[1] || reg.resv[2])
737 if (reg.resv[0] || reg.resv[1] || reg.resv[2])
762 for (i = 0; i < ARRAY_SIZE(buf_status.resv); i++)
763 if (buf_status.resv[i])
/linux-master/fs/xfs/libxfs/
H A Dxfs_ialloc_btree.c106 enum xfs_ag_resv_type resv)
120 args.resv = resv;
166 enum xfs_ag_resv_type resv)
173 &XFS_RMAP_OINFO_INOBT, resv, false);
101 __xfs_inobt_alloc_block( struct xfs_btree_cur *cur, const union xfs_btree_ptr *start, union xfs_btree_ptr *new, int *stat, enum xfs_ag_resv_type resv) argument
163 __xfs_inobt_free_block( struct xfs_btree_cur *cur, struct xfs_buf *bp, enum xfs_ag_resv_type resv) argument
/linux-master/drivers/iommu/iommufd/
H A Dio_pagetable.c1374 struct iommu_resv_region *resv; local
1387 list_for_each_entry(resv, &resv_regions, list) {
1388 if (resv->type == IOMMU_RESV_DIRECT_RELAXABLE)
1391 if (sw_msi_start && resv->type == IOMMU_RESV_MSI)
1393 if (sw_msi_start && resv->type == IOMMU_RESV_SW_MSI) {
1394 *sw_msi_start = resv->start;
1398 rc = iopt_reserve_iova(iopt, resv->start,
1399 resv->length - 1 + resv->start, dev);
/linux-master/drivers/gpu/drm/i915/
H A Di915_sw_fence.c10 #include <linux/dma-resv.h>
573 struct dma_resv *resv,
585 dma_resv_iter_begin(&cursor, resv, dma_resv_usage_rw(write));
572 i915_sw_fence_await_reservation(struct i915_sw_fence *fence, struct dma_resv *resv, bool write, unsigned long timeout, gfp_t gfp) argument
/linux-master/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_cotable.c192 dma_resv_assert_held(bo->base.resv);
334 dma_resv_assert_held(bo->base.resv);
508 ret = dma_resv_reserve_fences(bo->base.resv, 1);
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_ids.c101 * @resv: reservation object with the fences to wait for
104 * Free the pasid only after all the fences in resv are signaled.
106 void amdgpu_pasid_free_delayed(struct dma_resv *resv, argument
113 r = dma_resv_get_singleton(resv, DMA_RESV_USAGE_BOOKKEEP, &fence);
141 dma_resv_wait_timeout(resv, DMA_RESV_USAGE_BOOKKEEP,
/linux-master/fs/xfs/
H A Dxfs_refcount_item.c446 struct xfs_trans_res resv; local
483 resv = xlog_recover_resv(&M_RES(mp)->tr_itruncate);
484 error = xfs_trans_alloc(mp, &resv, mp->m_refc_maxlevels * 2, 0,
H A Dxfs_exchmaps_item.c427 struct xfs_trans_res resv; local
450 resv = xlog_recover_resv(&M_RES(mp)->tr_write);
451 error = xfs_trans_alloc(mp, &resv, req.resblks, 0, 0, &tp);
/linux-master/include/drm/
H A Ddrm_gpuvm.h28 #include <linux/dma-resv.h>
387 #define drm_gpuvm_resv(gpuvm__) ((gpuvm__)->r_obj->resv)
424 return obj && obj->resv != drm_gpuvm_resv(gpuvm);
575 * drm_gpuvm_exec_unlock() - lock all dma-resv of all assoiciated BOs
578 * Releases all dma-resv locks of all &drm_gem_objects previously acquired
600 * @private_usage: private dma-resv usage
601 * @extobj_usage: extobj dma-resv usage
660 * protected by the &drm_gem_object's dma-resv lock.
/linux-master/drivers/net/ethernet/netronome/nfp/nfpcore/
H A Dnfp_hwinfo.c95 __le32 resv; member in struct:nfp_hwinfo
/linux-master/drivers/net/ethernet/netronome/nfp/crypto/
H A Dtls.c322 memset(front->resv, 0, sizeof(front->resv));
443 memset(req->resv, 0, sizeof(req->resv));

Completed in 617 milliseconds

1234567891011