Searched refs:num_cs_references (Results 1 – 10 of 10) sorted by relevance
104 int num_refs = bo->num_cs_references; in radeon_bo_is_referenced_by_cs()115 if (!bo->num_cs_references) in radeon_bo_is_referenced_by_cs_for_write()131 return bo->num_cs_references != 0; in radeon_bo_is_referenced_by_any_cs()
120 p_atomic_dec(&csc->relocs_bo[i].bo->num_cs_references); in radeon_cs_context_cleanup()124 p_atomic_dec(&csc->slab_buffers[i].bo->num_cs_references); in radeon_cs_context_cleanup()271 p_atomic_inc(&bo->num_cs_references); in radeon_lookup_or_add_real_buffer()324 p_atomic_inc(&bo->num_cs_references); in radeon_lookup_or_add_slab_buffer()403 p_atomic_dec(&cs->csc->relocs_bo[i].bo->num_cs_references); in radeon_drm_cs_validate()506 assert(fence->num_cs_references); in radeon_bo_slab_fence()511 if (bo->u.slab.fences[src]->num_cs_references) { in radeon_bo_slab_fence()725 if (!bo->num_cs_references) in radeon_bo_is_referenced()
66 int num_cs_references; member
222 int num_refs = bo->num_cs_references; in amdgpu_bo_is_referenced_by_cs()235 if (!bo->num_cs_references) in amdgpu_bo_is_referenced_by_cs_with_usage()252 return bo->num_cs_references != 0; in amdgpu_bo_is_referenced_by_any_cs()
99 int num_cs_references; member
446 p_atomic_inc(&bo->num_cs_references); in amdgpu_do_add_real_buffer()515 p_atomic_inc(&bo->num_cs_references); in amdgpu_lookup_or_add_slab_buffer()558 p_atomic_inc(&bo->num_cs_references); in amdgpu_lookup_or_add_sparse_buffer()829 p_atomic_dec(&cs->real_buffers[i].bo->num_cs_references); in amdgpu_cs_context_cleanup()833 p_atomic_dec(&cs->slab_buffers[i].bo->num_cs_references); in amdgpu_cs_context_cleanup()837 p_atomic_dec(&cs->sparse_buffers[i].bo->num_cs_references); in amdgpu_cs_context_cleanup()
41 int num_cs_references; member
224 res->num_cs_references = 0; in virgl_drm_winsys_resource_create()461 res->num_cs_references = 0; in virgl_drm_winsys_resource_create_handle()633 p_atomic_inc(&res->num_cs_references); in virgl_drm_add_res()643 p_atomic_dec(&cbuf->res_bo[i]->num_cs_references); in virgl_drm_release_all_res()668 if (!res->num_cs_references) in virgl_drm_res_is_ref()
57 int num_cs_references; member
450 p_atomic_dec(&cbuf->res_bo[i]->num_cs_references); in virgl_vtest_release_all_res()472 p_atomic_inc(&res->num_cs_references); in virgl_vtest_add_res()512 if (!res->num_cs_references) in virgl_vtest_res_is_ref()