Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c amdgpu_sync_resv() -> dma_resv_iter_first()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cursor | 3180836487547883520 |
| PARAM_VALUE | 0 | cursor->fence | 0 |
| PARAM_VALUE | 0 | cursor->obj | 1-u64max |
| PARAM_VALUE | 0 | cursor->usage | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &process_info->lock | ||
| HALF_LOCKED2 | resv |
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c amdgpu_ttm_bo_eviction_valuable() -> dma_resv_iter_first()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cursor | 2926820501494304768 |
| PARAM_VALUE | 0 | cursor->fence | 0 |
| PARAM_VALUE | 0 | cursor->usage | 3 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c amdgpu_vm_prt_fini() -> dma_resv_iter_first()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cursor | 8842827517177036800 |
| PARAM_VALUE | 0 | cursor->fence | 0 |
| PARAM_VALUE | 0 | cursor->usage | 3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | root->tbo.base.resv |
drivers/dma-buf/st-dma-resv.c test_for_each() -> dma_resv_iter_first()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cursor | 6947162786790502400 |
| PARAM_VALUE | 0 | cursor->fence | 0 |
| PARAM_VALUE | 0 | cursor->obj | 8394793644915007488 |
| LOCK2 | &resv |
drivers/dma-buf/dma-buf.c dma_buf_poll_add_cb() -> dma_resv_iter_first()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cursor | 3779060333301370880 |
| PARAM_VALUE | 0 | cursor->fence | 0 |
| PARAM_VALUE | 0 | cursor->obj | 1-u64max |
| PARAM_VALUE | 0 | cursor->usage | 1-2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | resv | ||
| HALF_LOCKED2 | &kvm->irq_srcu | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &vm->irqfds_lock | ||
| HALF_LOCKED2 | global &irqfds_srcu |
drivers/dma-buf/dma-resv.c dma_resv_describe() -> dma_resv_iter_first()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cursor | 4321763910361423872 |
| PARAM_VALUE | 0 | cursor->fence | 0 |
| PARAM_VALUE | 0 | cursor->usage | 2 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &seq->lock | ||
| HALF_LOCKED2 | &dev->filelist_mutex | ||
| HALF_LOCKED2 | &priv->gem_lock | ||
| HALF_LOCKED2 | global &dmabuf_list_mutex | ||
| HALF_LOCKED2 | obj | ||
| HALF_LOCKED2 | obj->resv | ||
| TYPE_LOCK | (struct seq_file)->lock |
drivers/gpu/drm/xe/xe_bo.c xe_ttm_bo_release_notify() -> dma_resv_iter_first()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cursor | 7198307614481936384 |
| PARAM_VALUE | 0 | cursor->fence | 0 |
| PARAM_VALUE | 0 | cursor->obj | 4096-ptr_max |
| PARAM_VALUE | 0 | cursor->usage | 3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ttm_bo->base._resv | ||
| TYPE_LOCK | (struct drm_gem_object)->_resv |
drivers/gpu/drm/radeon/radeon_sync.c radeon_sync_resv() -> dma_resv_iter_first()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cursor | 7160123609187274752 |
| PARAM_VALUE | 0 | cursor->fence | 0 |
| PARAM_VALUE | 0 | cursor->usage | 1-2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &rdev->exclusive_lock | ||
| HALF_LOCKED2 | &rdev->ring_lock | ||
| HALF_LOCKED2 | &vm->mutex |
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c amdgpu_amdkfd_gpuvm_restore_process_bos() -> dma_resv_iter_first()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cursor | 8579719083166294016 |
| PARAM_VALUE | 0 | cursor->fence | 0 |
| PARAM_VALUE | 0 | cursor->usage | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &process_info->lock | ||
| HALF_LOCKED2 | global &kfd_processes_mutex | ||
| HALF_LOCKED2 | global &kfd_processes_srcu | ||
| TYPE_LOCK | (struct amdkfd_process_info)->lock |
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c amdgpu_amdkfd_remove_all_eviction_fences() -> dma_resv_iter_first()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cursor | 8841534860676685824 |
| PARAM_VALUE | 0 | cursor->fence | 0 |
| PARAM_VALUE | 0 | cursor->obj | 4096-ptr_max |
| PARAM_VALUE | 0 | cursor->usage | 3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &bo->base._resv | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct drm_gem_object)->_resv |
drivers/gpu/drm/i915/i915_request.c i915_request_await_object() -> dma_resv_iter_first()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cursor | 3072587366418948096 |
| PARAM_VALUE | 0 | cursor->fence | 0 |
| PARAM_VALUE | 0 | cursor->usage | 1-2 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/scheduler/sched_main.c drm_sched_job_add_resv_dependencies() -> dma_resv_iter_first()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cursor | 7093696955699056640 |
| PARAM_VALUE | 0 | cursor->fence | 0 |
| PARAM_VALUE | 0 | cursor->usage | 0-3 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c amdgpu_userq_wait_count_fences() -> dma_resv_iter_first()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cursor | 6761770753573756928 |
| PARAM_VALUE | 0 | cursor->fence | 0 |
| PARAM_VALUE | 0 | cursor->usage | 2 |
drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c amdgpu_userq_wait_count_fences() -> dma_resv_iter_first()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cursor | 6761770753573756928 |
| PARAM_VALUE | 0 | cursor->fence | 0 |
| PARAM_VALUE | 0 | cursor->usage | 1 |
drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c amdgpu_userq_wait_return_fence_info() -> dma_resv_iter_first()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cursor | 2574661504132050944 |
| PARAM_VALUE | 0 | cursor->fence | 0 |
| PARAM_VALUE | 0 | cursor->usage | 2 |
drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c amdgpu_userq_wait_return_fence_info() -> dma_resv_iter_first()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cursor | 2574661504132050944 |
| PARAM_VALUE | 0 | cursor->fence | 0 |
| PARAM_VALUE | 0 | cursor->usage | 1 |
drivers/gpu/drm/nouveau/nouveau_fence.c nouveau_fence_sync() -> dma_resv_iter_first()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cursor | 7208466155508953088 |
| PARAM_VALUE | 0 | cursor->fence | 0 |
| PARAM_VALUE | 0 | cursor->usage | 1-2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &cli->mutex | ||
| HALF_LOCKED2 | &crtc->mutex | ||
| HALF_LOCKED2 | &file_priv->driver_priv->mutex | ||
| HALF_LOCKED2 | &plane->mutex | ||
| HALF_LOCKED2 | nvbo->bo.base.resv |
drivers/gpu/drm/i915/i915_deps.c i915_deps_add_resv() -> dma_resv_iter_first()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cursor | 1159320197545537536 |
| PARAM_VALUE | 0 | cursor->fence | 0 |
| PARAM_VALUE | 0 | cursor->usage | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | dst->base.resv | ||
| HALF_LOCKED2 | src->base.resv |