Documented in 1 files:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/dma-buf/dma-fence-array.c
- drivers/gpu/drm/i915/gem/i915_gem_busy.c, line 61
- drivers/gpu/drm/i915/gem/i915_gem_wait.c, line 119
- drivers/gpu/drm/i915/i915_request.c
Smatch caller information:
drivers/gpu/drm/i915/gem/i915_gem_busy.c __busy_set_if_active() -> to_dma_fence_array()
| 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 |
| DATA_SOURCE | 0 | fence | $0 |
| LOCK2 | rcu_read |
drivers/dma-buf/dma-fence-array.c dma_fence_array_enable_signaling() -> to_dma_fence_array()
| 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 | 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 | |
| LOCK2 | flags | ||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &vm->lock | ||
| HALF_LOCKED2 | global &drm_unplug_srcu |
drivers/dma-buf/dma-fence-array.c dma_fence_array_first() -> to_dma_fence_array()
| 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,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 |
| BUF_SIZE | 0 | fence | (-1)-0,32-s32max |
| BUF_SIZE | 0 | fence | (-1)-0,32-s32max |
| DATA_SOURCE | 0 | fence | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/dma-buf/dma-fence-array.c dma_fence_array_next() -> to_dma_fence_array()
| 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,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 |
| BUF_SIZE | 0 | fence | (-1)-0,128 |
| BUF_SIZE | 0 | fence | (-1)-0,128 |
| DATA_SOURCE | 0 | fence | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/dma-buf/dma-fence-array.c dma_fence_array_release() -> to_dma_fence_array()
| 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-array.c dma_fence_array_set_deadline() -> to_dma_fence_array()
| 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)-0,128 |
| BUF_SIZE | 0 | fence | (-1)-0,128 |
| DATA_SOURCE | 0 | fence | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &pool->lock |
drivers/dma-buf/dma-fence-array.c dma_fence_array_signaled() -> to_dma_fence_array()
| 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 | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fence->ops->set_deadline | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fence->ops->signaled | 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 |
| CAPPED_DATA | 0 | fence->ops | 1 |
| 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 | |
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &adev->reset_domain->sem | ||
| HALF_LOCKED2 | &attr->mutex | ||
| HALF_LOCKED2 | &cli->lock | ||
| HALF_LOCKED2 | &fctx->lock | ||
| HALF_LOCKED2 | &fence_drv->fence_list_lock | ||
| HALF_LOCKED2 | &id_mgr->lock | ||
| HALF_LOCKED2 | &irq->lock | ||
| HALF_LOCKED2 | &man->eviction_lock | ||
| HALF_LOCKED2 | &obj->lock | ||
| HALF_LOCKED2 | &p->adev->notifier_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &s->lock | ||
| HALF_LOCKED2 | &sched->job_list_lock | ||
| HALF_LOCKED2 | &sched->lock | ||
| HALF_LOCKED2 | &ttm_bo->base._resv | ||
| HALF_LOCKED2 | &v3d->sched_lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | global &drm_unplug_srcu | ||
| HALF_LOCKED2 | global &sync_timeline_list_lock | ||
| HALF_LOCKED2 | irq | ||
| HALF_LOCKED2 | obj->base.resv |
drivers/dma-buf/dma-fence-array.c dma_fence_match_context() -> to_dma_fence_array()
| 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 |
| BUF_SIZE | 0 | fence | (-1)-0,32-s32max |
| BUF_SIZE | 0 | fence | (-1)-0,32-s32max |
| DATA_SOURCE | 0 | fence | $0 |
drivers/gpu/drm/i915/i915_request.c i915_request_await_dma_fence() -> to_dma_fence_array()
| 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 |
| DATA_SOURCE | 0 | fence | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | batch->obj->base.resv |
drivers/gpu/drm/i915/i915_request.c i915_request_await_execution() -> to_dma_fence_array()
| 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 |
| DATA_SOURCE | 0 | fence | $1 |
drivers/gpu/drm/i915/gem/i915_gem_wait.c i915_gem_fence_wait_priority() -> to_dma_fence_array()
| 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 |
| DATA_SOURCE | 0 | fence | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | bh |