Documented in 1 files:
Defined in 1 files as a function:
Referenced in 5 files:
- drivers/dma-buf/dma-fence-chain.c
- drivers/gpu/drm/drm_syncobj.c
- drivers/gpu/drm/i915/gem/i915_gem_wait.c, line 129
- drivers/gpu/drm/i915/i915_request.c
- include/linux/dma-fence-chain.h, line 78
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c dma_fence_chain_contained() -> to_dma_fence_chain()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fence | 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 |
| DATA_SOURCE | 0 | fence | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &process_info->lock | ||
| HALF_LOCKED2 | resv |
drivers/dma-buf/dma-fence-chain.c dma_fence_chain_contained() -> to_dma_fence_chain()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fence | 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)-s32max |
| BUF_SIZE | 0 | fence | (-1)-s32max |
| DATA_SOURCE | 0 | fence | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | fence->seqno | 0-u32max |
| NO_OVERFLOW_SIMPLE | 0 | fence->num_fences | |
| NO_OVERFLOW_SIMPLE | 0 | fence->num_pending.counter | |
| HALF_LOCKED2 | rcu_read |
drivers/dma-buf/dma-fence-chain.c dma_fence_chain_enable_signaling() -> to_dma_fence_chain()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fence | 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)-s32max |
| BUF_SIZE | 0 | fence | (-1)-s32max |
| DATA_SOURCE | 0 | fence | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | fence->seqno | 0-u32max |
| NO_OVERFLOW_SIMPLE | 0 | fence->num_fences | |
| NO_OVERFLOW_SIMPLE | 0 | fence->num_pending.counter | |
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | rcu_read |
drivers/dma-buf/dma-fence-chain.c dma_fence_chain_find_seqno() -> to_dma_fence_chain()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &syncobj->lock |
drivers/dma-buf/dma-fence-chain.c dma_fence_chain_find_seqno() -> to_dma_fence_chain()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fence | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &syncobj->lock |
drivers/dma-buf/dma-fence-chain.c dma_fence_chain_init() -> to_dma_fence_chain()
| Type | Parameter | Key | Value |
|---|---|---|---|
| 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),128 |
| BUF_SIZE | 0 | fence | (-1),128 |
| DATA_SOURCE | 0 | fence | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &syncobj->lock |
drivers/dma-buf/dma-fence-chain.c dma_fence_chain_release() -> to_dma_fence_chain()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fence | 4096-ptr_max |
| PARAM_VALUE | 0 | fence->ops | 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 | 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 |
| DATA_SOURCE | 0 | fence | $0 |
| LOCK2 | rcu_read |
drivers/dma-buf/dma-fence-chain.c dma_fence_chain_release() -> to_dma_fence_chain()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fence | 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,2004285741546172416,2071105144755478528,2853440610722889728,3558081686514302976,5221404334427111424 |
| PARAM_VALUE | 0 | fence->ops->signaled | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fence->ops->wait | 0,3162960082638938112,3576649960670945280,4783308308267675648,5257098353859239936 |
| LOCK2 | rcu_read |
drivers/dma-buf/dma-fence-chain.c dma_fence_chain_walk() -> to_dma_fence_chain()
| Type | Parameter | Key | Value |
|---|---|---|---|
| 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)-s32max |
| BUF_SIZE | 0 | fence | (-1)-s32max |
| DATA_SOURCE | 0 | fence | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | fence->seqno | 0-u32max |
| NO_OVERFLOW_SIMPLE | 0 | fence->num_fences | |
| NO_OVERFLOW_SIMPLE | 0 | fence->num_pending.counter | |
| HALF_LOCKED2 | rcu_read |
drivers/dma-buf/dma-fence-chain.c dma_fence_chain_walk() -> to_dma_fence_chain()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fence | 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 |
| DATA_SOURCE | 0 | fence | r dma_fence_chain_get_prev |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | rcu_read |
drivers/gpu/drm/xe/xe_sched_job.c dma_fence_chain_contained() -> to_dma_fence_chain()
| Type | Parameter | Key | Value |
|---|---|---|---|
| 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 |
| DATA_SOURCE | 0 | fence | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &guc->submission_state.lock |
drivers/gpu/drm/drm_syncobj.c drm_syncobj_query_ioctl() -> to_dma_fence_chain()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fence | 0,4096-ptr_max |
| DATA_SOURCE | 0 | fence | r drm_syncobj_fence_get |
drivers/gpu/drm/drm_syncobj.c drm_syncobj_query_ioctl() -> to_dma_fence_chain()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fence | 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,2004285741546172416,2071105144755478528,2853440610722889728,3558081686514302976,5221404334427111424 |
| PARAM_VALUE | 0 | fence->ops->signaled | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fence->ops->wait | 0,3162960082638938112,3576649960670945280,4783308308267675648,5257098353859239936 |
drivers/gpu/drm/i915/i915_request.c i915_request_await_external() -> to_dma_fence_chain()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fence | 4096-ptr_max |
| PARAM_VALUE | 0 | fence->ops | 0-770600201147228159,770600201147228161-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 |
| DATA_SOURCE | 0 | fence | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/i915/i915_request.c i915_request_await_external() -> to_dma_fence_chain()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fence | 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,2004285741546172416,2071105144755478528,2853440610722889728,3558081686514302976,5221404334427111424 |
| PARAM_VALUE | 0 | fence->ops->signaled | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fence->ops->wait | 0,3162960082638938112,3576649960670945280,4783308308267675648,5257098353859239936 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/accel/amdxdna/aie2_ctx.c dma_fence_chain_contained() -> to_dma_fence_chain()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fence | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fence->ops->set_deadline | 0,2004285741546172416,2071105144755478528,2853440610722889728,3558081686514302976,5221404334427111424 |
| PARAM_VALUE | 0 | fence->ops->wait | 0,3162960082638938112,3576649960670945280,4783308308267675648,5257098353859239936 |
| DATA_SOURCE | 0 | fence | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &hwctx->priv->job_sem | ||
| HALF_LOCKED2 | &xdna->client_lock | ||
| HALF_LOCKED2 | &xdna->dev_lock |
drivers/dma-buf/dma-fence-unwrap.c dma_fence_chain_contained() -> to_dma_fence_chain()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fence | 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 |
| DATA_SOURCE | 0 | fence | $0 |
| PREEMPT_ADD | |||
| HALF_LOCKED2 | dmabuf->resv |
drivers/gpu/drm/i915/gem/i915_gem_wait.c i915_gem_fence_wait_priority() -> to_dma_fence_chain()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fence | 4096-ptr_max |
| DATA_SOURCE | 0 | fence | r dma_fence_get |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | bh |