Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 6 files:
- drivers/dma-buf/dma-fence.c, line 749
- drivers/dma-buf/st-dma-fence.c
- drivers/dma-buf/sync_file.c
- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c, line 5715
- drivers/gpu/drm/amd/amdgpu/amdgpu_job.c, line 165
- drivers/gpu/drm/nouveau/nouveau_gem.c, line 941
Smatch caller information:
drivers/dma-buf/sync_file.c sync_file_ioctl_fence_info() -> dma_fence_get_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fence | 0,4096-ptr_max |
drivers/dma-buf/sync_file.c sync_fill_fence_info() -> dma_fence_get_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fence | 4096-ptr_max |
| PARAM_VALUE | 0 | fence->ops | 0,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 |
| BUF_SIZE | 0 | fence | (-1)-0,32-s32max |
| BUF_SIZE | 0 | fence | (-1)-0,32-s32max |
| CAPPED_DATA | 0 | fence->ops | 1 |
| DATA_SOURCE | 0 | fence | $0 |
| LOCK2 | rcu_read |
drivers/gpu/drm/nouveau/nouveau_gem.c nouveau_gem_ioctl_pushbuf() -> dma_fence_get_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fence | 4096-ptr_max |
| PARAM_VALUE | 0 | fence->context | 0-u32max |
| PARAM_VALUE | 0 | fence->seqno | 0-u32max |
| LOCK2 | &file_priv->driver_priv->mutex |
drivers/dma-buf/st-dma-fence.c test_error() -> dma_fence_get_status()
| 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->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | fence->context | 0 |
| PARAM_VALUE | 0 | fence->error | (-5) |
| 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 |
| BUF_SIZE | 0 | fence | 128 |
| DATA_SOURCE | 0 | fence | r mock_fence |
drivers/dma-buf/st-dma-fence.c test_error() -> dma_fence_get_status()
| 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->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->rcu.node.node.next | 0 |
| PARAM_VALUE | 0 | fence->rcu.node.node.prev | 0 |
| PARAM_VALUE | 0 | fence->seqno | 0 |
| BUF_SIZE | 0 | fence | 128 |
| DATA_SOURCE | 0 | fence | r mock_fence |
drivers/dma-buf/st-dma-fence.c test_error() -> dma_fence_get_status()
| 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->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.node.node.next | 0 |
| PARAM_VALUE | 0 | fence->rcu.node.node.prev | 0 |
| PARAM_VALUE | 0 | fence->seqno | 0 |
| BUF_SIZE | 0 | fence | 128 |
| DATA_SOURCE | 0 | fence | r mock_fence |
drivers/dma-buf/st-dma-fence.c test_status() -> dma_fence_get_status()
| 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->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 |
| BUF_SIZE | 0 | fence | 128 |
| DATA_SOURCE | 0 | fence | r mock_fence |
drivers/dma-buf/st-dma-fence.c test_status() -> dma_fence_get_status()
| 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->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->rcu.node.node.next | 0 |
| PARAM_VALUE | 0 | fence->rcu.node.node.prev | 0 |
| PARAM_VALUE | 0 | fence->seqno | 0 |
| BUF_SIZE | 0 | fence | 128 |
| DATA_SOURCE | 0 | fence | r mock_fence |
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c amdgpu_device_gpu_recover() -> dma_fence_get_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| LOCK2 | global &drm_unplug_srcu | ||
| HALF_LOCKED2 | &hive->hive_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &tmp_adev->reset_domain->sem |
drivers/gpu/drm/amd/amdgpu/amdgpu_job.c amdgpu_job_timedout() -> dma_fence_get_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fence | 4096-ptr_max |
| LOCK2 | global &drm_unplug_srcu | ||
| HALF_LOCKED2 | &pool->lock |