Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 10 files:
- drivers/dma-buf/dma-fence.c
- drivers/dma-buf/st-dma-fence.c
- drivers/dma-buf/sync_file.c, line 190
- drivers/gpu/drm/drm_syncobj.c, line 1184
- drivers/gpu/drm/i915/i915_request.c, line 2093
- drivers/gpu/drm/radeon/radeon_fence.c, line 1047
- drivers/gpu/drm/scheduler/sched_entity.c, line 379
- drivers/gpu/drm/scheduler/sched_main.c, line 416
- drivers/gpu/drm/xe/xe_range_fence.c, line 99
- drivers/gpu/host1x/job.c, line 97
Smatch caller information:
drivers/gpu/drm/radeon/radeon_fence.c radeon_fence_default_wait() -> dma_fence_remove_callback()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fence | 4096-ptr_max |
| PARAM_VALUE | 0 | fence->cb_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | fence->ops->enable_signaling | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fence->ops->get_driver_name | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fence->ops->get_timeline_name | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fence->ops->release | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fence->ops->set_deadline | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fence->ops->signaled | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fence->ops->wait | 0,4096-ptr_max |
| PARAM_VALUE | 1 | cb | 2608101115194777600 |
| PARAM_VALUE | 1 | cb->func | 6977523273133527040 |
| BUF_SIZE | 0 | fence | (-1)-s32max |
| BUF_SIZE | 0 | fence | (-1)-s32max |
| DATA_SOURCE | 0 | fence | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | fence->seqno | 0 |
| HALF_LOCKED2 | &adev->benchmark_mutex | ||
| HALF_LOCKED2 | &adev->mman.default_entity.lock | ||
| HALF_LOCKED2 | &attr->mutex | ||
| HALF_LOCKED2 | &dqm->lock_hidden | ||
| HALF_LOCKED2 | &fpriv->lock | ||
| HALF_LOCKED2 | &group->mode_sem | ||
| HALF_LOCKED2 | &hwctx->priv->job_sem | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &prange->migrate_mutex | ||
| HALF_LOCKED2 | &rdev->exclusive_lock | ||
| HALF_LOCKED2 | &vm->lock | ||
| HALF_LOCKED2 | &xdna->client_lock | ||
| HALF_LOCKED2 | &xdna->dev_lock | ||
| HALF_LOCKED2 | bo->base.resv | ||
| HALF_LOCKED2 | bo->tbo.base.resv | ||
| HALF_LOCKED2 | bo->ttm.base.resv | ||
| HALF_LOCKED2 | global &drm_unplug_srcu | ||
| HALF_LOCKED2 | nvbo->bo.base.resv | ||
| HALF_LOCKED2 | vps->cursor.mob->tbo.base.resv |
drivers/dma-buf/sync_file.c sync_file_release() -> dma_fence_remove_callback()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cb | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/scheduler/sched_entity.c drm_sched_entity_fini() -> dma_fence_remove_callback()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fence | 1-u64max |
| PARAM_VALUE | 1 | cb | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/dma-buf/dma-fence.c dma_fence_wait_any_timeout() -> dma_fence_remove_callback()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/dma-buf/st-dma-fence.c test_late_rm_callback() -> dma_fence_remove_callback()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fence | 4096-ptr_max |
| PARAM_VALUE | 0 | fence->cb_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | fence->cb_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | fence->cb_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | fence->cb_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | fence->context | 0 |
| PARAM_VALUE | 0 | fence->extern_lock | 1-u64max |
| PARAM_VALUE | 0 | fence->ops->enable_signaling | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fence->ops->get_driver_name | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fence->ops->get_timeline_name | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fence->ops->release | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fence->ops->set_deadline | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fence->ops->signaled | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fence->ops->wait | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fence->rcu.entry.next | s64max |
| PARAM_VALUE | 0 | fence->rcu.flags | 0-4294967295 |
| PARAM_VALUE | 0 | fence->rcu.is_hard | 0-1 |
| PARAM_VALUE | 0 | fence->rcu.is_lazy | 0-1 |
| PARAM_VALUE | 0 | fence->rcu.is_queued | 0-1 |
| PARAM_VALUE | 0 | fence->rcu.is_soft | 0-1 |
| PARAM_VALUE | 0 | fence->seqno | 0 |
| PARAM_VALUE | 1 | cb | 7987472533957787648 |
| PARAM_VALUE | 1 | cb->func | 537113443540967424 |
| BUF_SIZE | 0 | fence | 128 |
| DATA_SOURCE | 0 | fence | r mock_fence |
drivers/dma-buf/st-dma-fence.c test_rm_callback() -> dma_fence_remove_callback()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fence | 4096-ptr_max |
| PARAM_VALUE | 0 | fence->cb_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | fence->cb_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | fence->cb_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | fence->cb_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | fence->context | 0 |
| PARAM_VALUE | 0 | fence->extern_lock | 1-u64max |
| PARAM_VALUE | 0 | fence->ops->enable_signaling | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fence->ops->get_driver_name | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fence->ops->get_timeline_name | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fence->ops->release | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fence->ops->set_deadline | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fence->ops->signaled | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fence->ops->wait | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fence->seqno | 0 |
| PARAM_VALUE | 1 | cb | 6852479922596155392 |
| PARAM_VALUE | 1 | cb->func | 537113443540967424 |
| BUF_SIZE | 0 | fence | 128 |
| DATA_SOURCE | 0 | fence | r mock_fence |
drivers/gpu/host1x/job.c job_free() -> dma_fence_remove_callback()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fence | 1-u64max |
| PARAM_VALUE | 1 | cb | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &cdma->lock | ||
| HALF_LOCKED2 | &fpriv->lock |
drivers/gpu/drm/drm_syncobj.c drm_syncobj_array_wait_timeout() -> dma_fence_remove_callback()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cb | 4096-ptr_max |
| PARAM_VALUE | 1 | cb->func | 1-u64max |
| NOCHECK_CALL |
drivers/gpu/drm/xe/xe_range_fence.c xe_range_fence_tree_remove_all() -> dma_fence_remove_callback()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cb | 64,4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/i915/i915_request.c i915_request_wait_timeout() -> dma_fence_remove_callback()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cb | 848596429095116800 |
| PARAM_VALUE | 1 | cb->func | 686930188889726976 |
| RX_PATH | |||
| NOCHECK_CALL |
drivers/gpu/drm/scheduler/sched_main.c drm_sched_stop() -> dma_fence_remove_callback()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fence | 1-u64max |
| PARAM_VALUE | 1 | cb | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &adev->grbm_idx_mutex | ||
| HALF_LOCKED2 | &adev->reset_domain->sem | ||
| HALF_LOCKED2 | &guc->submission_state.lock | ||
| HALF_LOCKED2 | &ptdev->mmu->vm.lock | ||
| HALF_LOCKED2 | &v3d->reset_lock |