Home
last modified time | relevance | path

Searched refs:resv (Results 251 - 275 of 469) sorted by relevance

1...<<111213141516171819

/kernel/linux/linux-6.6/fs/xfs/
H A Dxfs_rmap_item.c510 struct xfs_trans_res resv; in xfs_rui_item_recover() local
534 resv = xlog_recover_resv(&M_RES(mp)->tr_itruncate); in xfs_rui_item_recover()
535 error = xfs_trans_alloc(mp, &resv, mp->m_rmap_maxlevels, 0, in xfs_rui_item_recover()
/kernel/linux/linux-6.6/drivers/gpu/drm/etnaviv/
H A Detnaviv_gem.c386 if (!dma_resv_test_signaled(obj->resv, in etnaviv_gem_cpu_prep()
392 ret = dma_resv_wait_timeout(obj->resv, dma_resv_usage_rw(write), in etnaviv_gem_cpu_prep()
435 struct dma_resv *robj = obj->resv; in etnaviv_gem_describe()
/kernel/linux/linux-6.6/drivers/gpu/drm/panfrost/
H A Dpanfrost_drv.c323 ret = dma_resv_wait_timeout(gem_obj->resv, DMA_RESV_USAGE_READ, in panfrost_ioctl_wait_bo()
411 ret = dma_resv_lock_interruptible(bo->base.base.resv, NULL); in panfrost_ioctl_madvise()
452 dma_resv_unlock(bo->base.base.resv); in panfrost_ioctl_madvise()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_cs.c785 .resv = bo->tbo.base.resv in amdgpu_cs_bo_validate()
1191 struct dma_resv *resv = bo->tbo.base.resv; in amdgpu_cs_sync_rings() local
1196 r = amdgpu_sync_resv(p->adev, &p->sync, resv, sync_mode, in amdgpu_cs_sync_rings()
1314 dma_resv_add_fence(gobj->resv, in amdgpu_cs_submit()
1320 dma_resv_add_fence(gobj->resv, p->fence, DMA_RESV_USAGE_WRITE); in amdgpu_cs_submit()
1774 if (dma_resv_locking_ctx((*bo)->tbo.base.resv) != &parser->exec.ticket) in amdgpu_cs_find_mapping()
H A Damdgpu_hmm.c81 r = dma_resv_wait_timeout(bo->tbo.base.resv, DMA_RESV_USAGE_BOOKKEEP, in amdgpu_hmm_invalidate_gfx()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/
H A Di915_vma.c123 vma->resv = obj->base.resv; in vma_create()
421 * part of the obj->resv->excl_fence as it only affects in i915_vma_bind()
1240 dma_resv_add_excl_fence(vma->resv, &rq->fence); in i915_vma_move_to_active()
1244 err = dma_resv_reserve_shared(vma->resv, 1); in i915_vma_move_to_active()
1248 dma_resv_add_shared_fence(vma->resv, &rq->fence); in i915_vma_move_to_active()
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/
H A Dmsm_gem.c718 fobj = dma_resv_get_list(obj->resv); in msm_gem_sync_object()
720 fence = dma_resv_get_excl(obj->resv); in msm_gem_sync_object()
734 dma_resv_held(obj->resv)); in msm_gem_sync_object()
779 ret = dma_resv_wait_timeout_rcu(obj->resv, write, in msm_gem_cpu_prep()
811 struct dma_resv *robj = obj->resv; in msm_gem_describe()
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/
H A Dnouveau_bo.c1057 struct dma_fence *fence = dma_resv_get_excl(bo->base.resv); in nouveau_bo_vm_cleanup()
1400 struct dma_resv *resv = nvbo->bo.base.resv; in nouveau_bo_fence() local
1403 dma_resv_add_excl_fence(resv, &fence->base); in nouveau_bo_fence()
1405 dma_resv_add_shared_fence(resv, &fence->base); in nouveau_bo_fence()
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gem/
H A Di915_gem_ttm.c613 err = dma_resv_wait_timeout(bo->base.resv, DMA_RESV_USAGE_BOOKKEEP, in i915_ttm_truncate()
1061 dma_resv_unlock(bo->base.resv); in vm_fault_ttm()
1082 dma_resv_unlock(bo->base.resv); in vm_fault_ttm()
1106 dma_resv_unlock(bo->base.resv); in vm_fault_ttm()
1145 dma_resv_unlock(bo->base.resv); in vm_fault_ttm()
/kernel/linux/linux-6.6/drivers/iommu/
H A Dvirtio-iommu.c385 struct iommu_resv_region *resv; in viommu_domain_map_identity() local
394 list_for_each_entry(resv, &vdev->resv_regions, list) { in viommu_domain_map_identity()
395 u64 resv_start = ALIGN_DOWN(resv->start, granule); in viommu_domain_map_identity()
396 u64 resv_end = ALIGN(resv->start + resv->length, granule) - 1; in viommu_domain_map_identity()
488 dev_warn(vdev->dev, "unknown resv mem subtype 0x%x\n", in viommu_add_resv_mem()
H A Dmtk_iommu.c972 const struct mtk_iommu_iova_region *resv, *curdom; in mtk_iommu_get_resv_regions() local
980 resv = data->plat_data->iova_region + i; in mtk_iommu_get_resv_regions()
983 if (resv->iova_base <= curdom->iova_base || in mtk_iommu_get_resv_regions()
984 resv->iova_base + resv->size >= curdom->iova_base + curdom->size) in mtk_iommu_get_resv_regions()
987 region = iommu_alloc_resv_region(resv->iova_base, resv->size, in mtk_iommu_get_resv_regions()
/drivers/hdf_core/framework/include/wifi/
H A Dhdf_wifi_event.h59 uint8_t resv; /**< Reserved */ member
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_benchmark.c87 bp.resv = NULL; in amdgpu_benchmark_move()
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/nfpcore/
H A Dnfp_hwinfo.c95 __le32 resv; member
/kernel/linux/linux-5.10/fs/xfs/libxfs/
H A Dxfs_alloc.h77 enum xfs_ag_resv_type resv; /* block reservation to use */ member
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
H A Dradeon_object.h143 struct dma_resv *resv,
H A Dr600_dma.c438 * @resv: reservation object to sync to
447 struct dma_resv *resv) in r600_copy_dma()
468 radeon_sync_resv(rdev, &sync, resv, false); in r600_copy_dma()
444 r600_copy_dma(struct radeon_device *rdev, uint64_t src_offset, uint64_t dst_offset, unsigned num_gpu_pages, struct dma_resv *resv) r600_copy_dma() argument
/kernel/linux/linux-6.6/drivers/net/ethernet/netronome/nfp/nfpcore/
H A Dnfp_hwinfo.c95 __le32 resv; member
/kernel/linux/linux-6.6/io_uring/
H A Dfiletable.c170 if (range.resv || end > ctx->nr_user_files) in io_register_file_alloc_range()
/kernel/linux/linux-6.6/drivers/gpu/drm/msm/
H A Dmsm_gem_shrinker.c79 return dma_resv_wait_timeout(obj->resv, usage, false, 1000) > 0; in wait_for_idle()
/kernel/linux/linux-6.6/drivers/gpu/drm/radeon/
H A Dradeon_object.h140 struct dma_resv *resv,
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/
H A Dnouveau_uvmm.c1425 dma_resv_add_fence(obj->resv, job->done_fence, job->resv_usage); in nouveau_uvmm_bind_job_armed_submit()
1781 dma_resv_assert_held(obj->resv); in nouveau_uvmm_bo_map_all()
1797 dma_resv_assert_held(obj->resv); in nouveau_uvmm_bo_unmap_all()
1815 dma_resv_init(&uvmm->resv); in nouveau_uvmm_init()
1889 dma_resv_lock(obj->resv, NULL); in nouveau_uvmm_fini()
1891 dma_resv_unlock(obj->resv); in nouveau_uvmm_fini()
1916 dma_resv_fini(&uvmm->resv); in nouveau_uvmm_fini()
/kernel/linux/linux-5.10/fs/xfs/
H A Dxfs_trace.h1614 xfs_extlen_t len, enum xfs_ag_resv_type resv, int haveleft,
1616 TP_ARGS(mp, agno, agbno, len, resv, haveleft, haveright),
1622 __field(int, resv)
1631 __entry->resv = resv;
1635 TP_printk("dev %d:%d agno %u agbno %u len %u resv %d %s",
1640 __entry->resv,
1667 __field(int, resv)
1688 __entry->resv = args->resv;
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_blit.c463 dma_resv_assert_held(dst->base.resv); in vmw_bo_cpu_blit()
465 dma_resv_assert_held(src->base.resv); in vmw_bo_cpu_blit()
H A Dvmwgfx_cotable.c176 dma_resv_assert_held(bo->base.resv); in vmw_cotable_unscrub()
318 dma_resv_assert_held(bo->base.resv); in vmw_cotable_unbind()

Completed in 29 milliseconds

1...<<111213141516171819