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/ttm/ttm_bo.c ttm_bo_flush_all_fences() -> dma_resv_iter_first_unlocked()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cursor | 9162040439498129408 |
| 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 |
drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c amdgpu_sync_kfd() -> dma_resv_iter_first_unlocked()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cursor | 1169567783942823936 |
| PARAM_VALUE | 0 | cursor->fence | 0 |
| PARAM_VALUE | 0 | cursor->usage | 3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &process_info->lock | ||
| HALF_LOCKED2 | resv |
drivers/dma-buf/st-dma-resv.c test_for_each_unlocked() -> dma_resv_iter_first_unlocked()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cursor | 9107314995502845952 |
| PARAM_VALUE | 0 | cursor->fence | 0 |
| PARAM_VALUE | 0 | cursor->obj | 8851153869575045120 |
drivers/gpu/drm/i915/gem/i915_gem_busy.c i915_gem_busy_ioctl() -> dma_resv_iter_first_unlocked()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cursor | 5449529901670625280 |
| PARAM_VALUE | 0 | cursor->fence | 0 |
| PARAM_VALUE | 0 | cursor->usage | 2 |
| LOCK2 | rcu_read |
drivers/dma-buf/dma-resv.c dma_resv_copy_fences() -> dma_resv_iter_first_unlocked()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cursor | 3497898048392564736 |
| PARAM_VALUE | 0 | cursor->fence | 0 |
| PARAM_VALUE | 0 | cursor->usage | 3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &bo->base._resv |
drivers/dma-buf/dma-resv.c dma_resv_get_fences() -> dma_resv_iter_first_unlocked()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cursor | 4098083011645616128 |
| PARAM_VALUE | 0 | cursor->fence | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &crtc->mutex | ||
| HALF_LOCKED2 | &plane->mutex | ||
| HALF_LOCKED2 | obj |
drivers/dma-buf/dma-resv.c dma_resv_set_deadline() -> dma_resv_iter_first_unlocked()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cursor | 8964724273401716736 |
| PARAM_VALUE | 0 | cursor->fence | 0 |
| PARAM_VALUE | 0 | cursor->usage | 1-2 |
drivers/dma-buf/dma-resv.c dma_resv_test_signaled() -> dma_resv_iter_first_unlocked()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cursor | 103694042999562240 |
| PARAM_VALUE | 0 | cursor->fence | 0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &driver_migrate_lock | ||
| HALF_LOCKED2 | &file->table_lock | ||
| HALF_LOCKED2 | &m->lock | ||
| HALF_LOCKED2 | &mm->mmap_lock | ||
| HALF_LOCKED2 | &qdev->surf_evict_mutex | ||
| HALF_LOCKED2 | &resv | ||
| HALF_LOCKED2 | &vdev->bo_list_lock | ||
| HALF_LOCKED2 | &vm->lock | ||
| HALF_LOCKED2 | global &drm_unplug_srcu | ||
| HALF_LOCKED2 | obj | ||
| HALF_LOCKED2 | tbo->base.resv |
drivers/dma-buf/dma-resv.c dma_resv_wait_timeout() -> dma_resv_iter_first_unlocked()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cursor | 8700547195645128704 |
| PARAM_VALUE | 0 | cursor->fence | 0 |
| PARAM_VALUE | 0 | cursor->usage | 0-3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &adev->notifier_lock | ||
| HALF_LOCKED2 | &driver_migrate_lock | ||
| HALF_LOCKED2 | &entry->dmabufs_lock | ||
| HALF_LOCKED2 | &file_priv->driver_priv->mutex | ||
| HALF_LOCKED2 | &gpusvm->notifier_lock | ||
| HALF_LOCKED2 | &mm->mmap_lock | ||
| HALF_LOCKED2 | &obj->lock.base | ||
| HALF_LOCKED2 | &rdev->exclusive_lock | ||
| HALF_LOCKED2 | &uverbs_dmabuf->mmap_entry->dmabufs_lock | ||
| HALF_LOCKED2 | &vm->lock | ||
| HALF_LOCKED2 | global &drm_unplug_srcu | ||
| HALF_LOCKED2 | obj | ||
| HALF_LOCKED2 | obj->base.resv | ||
| HALF_LOCKED2 | resv |
drivers/gpu/drm/ttm/tests/ttm_bo_validate_test.c threaded_dma_resv_signal() -> dma_resv_iter_first_unlocked()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cursor | 7245872866234765312 |
| PARAM_VALUE | 0 | cursor->fence | 0 |
| PARAM_VALUE | 0 | cursor->usage | 3 |
drivers/gpu/drm/xe/xe_bo.c xe_bo_trigger_rebind() -> dma_resv_iter_first_unlocked()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cursor | 4793442589971742720 |
| PARAM_VALUE | 0 | cursor->fence | 0 |
| PARAM_VALUE | 0 | cursor->usage | 3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &vm->lock | ||
| HALF_LOCKED2 | bo->ttm.base.resv |
drivers/gpu/drm/xe/xe_userptr.c xe_vma_userptr_invalidate_pass1() -> dma_resv_iter_first_unlocked()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cursor | 28928079856238592 |
| PARAM_VALUE | 0 | cursor->fence | 0 |
| PARAM_VALUE | 0 | cursor->usage | 3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &vm->svm.gpusvm.notifier_lock | ||
| HALF_LOCKED2 | &vm->svm.gpusvm.notifier_lock | ||
| TYPE_LOCK | (struct drm_gpusvm)->notifier_lock |
drivers/gpu/drm/qxl/qxl_debugfs.c qxl_debugfs_buffers_info() -> dma_resv_iter_first_unlocked()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cursor | 3621564621656686592 |
| PARAM_VALUE | 0 | cursor->fence | 0 |
| PARAM_VALUE | 0 | cursor->usage | 3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &m->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
drivers/gpu/drm/amd/amdgpu/amdgpu_vm_sdma.c amdgpu_vm_sdma_update() -> dma_resv_iter_first_unlocked()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cursor | 475501871286444032 |
| PARAM_VALUE | 0 | cursor->fence | 0 |
| PARAM_VALUE | 0 | cursor->usage | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &drm_unplug_srcu | ||
| HALF_LOCKED2 | &vm->eviction_lock |
drivers/gpu/drm/i915/gem/i915_gem_wait.c i915_gem_object_boost() -> dma_resv_iter_first_unlocked()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cursor | 7589211876425703424 |
| PARAM_VALUE | 0 | cursor->fence | 0 |
| PARAM_VALUE | 0 | cursor->usage | 1-2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | resv |
drivers/gpu/drm/i915/gem/i915_gem_wait.c i915_gem_object_wait_priority() -> dma_resv_iter_first_unlocked()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cursor | 2217641543561555968 |
| PARAM_VALUE | 0 | cursor->fence | 0 |
| PARAM_VALUE | 0 | cursor->usage | 1-2 |
drivers/gpu/drm/i915/gem/i915_gem_wait.c i915_gem_object_wait_reservation() -> dma_resv_iter_first_unlocked()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cursor | 3539526524514545664 |
| PARAM_VALUE | 0 | cursor->fence | 0 |
| PARAM_VALUE | 0 | cursor->usage | 1-2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | resv |
drivers/gpu/drm/i915/i915_sw_fence.c i915_sw_fence_await_reservation() -> dma_resv_iter_first_unlocked()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cursor | 8470618408115404800 |
| PARAM_VALUE | 0 | cursor->fence | 0 |
| PARAM_VALUE | 0 | cursor->usage | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | resv |