Documented in 1 files:
Defined in 1 files as a function:
Referenced in 5 files:
- drivers/dma-buf/dma-fence-chain.c, line 286
- drivers/gpu/drm/i915/gem/i915_gem_wait.c, line 124
- drivers/gpu/drm/xe/xe_sched_job.c, line 207
- include/linux/dma-fence-chain.h, line 62
- include/linux/dma-fence.h, line 790
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c to_dma_fence_chain() -> dma_fence_is_chain()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fence | 1-u64max |
| 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_init() -> dma_fence_is_chain()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | fence | (-1)-0,32-s32max |
| BUF_SIZE | 0 | fence | (-1)-0,32-s32max |
| DATA_SOURCE | 0 | fence | $2 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | fence->num_fences | |
| NO_OVERFLOW_SIMPLE | 0 | fence->num_pending.counter | |
| HALF_LOCKED2 | &syncobj->lock |
drivers/dma-buf/dma-fence-chain.c to_dma_fence_chain() -> dma_fence_is_chain()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fence | 1-u64max |
| 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-resv.c dma_fence_is_container() -> dma_fence_is_chain()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fence | 4096-ptr_max |
| BUF_SIZE | 0 | fence | (-1)-0,32-s32max |
| BUF_SIZE | 0 | fence | (-1)-0,32-s32max |
| DATA_SOURCE | 0 | fence | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | fence->seqno | 0-u64max |
| HALF_LOCKED2 | &(*mem)->process_info->lock | ||
| HALF_LOCKED2 | &bo->base._resv | ||
| HALF_LOCKED2 | &client->hwctx_srcu | ||
| HALF_LOCKED2 | &epfile->ffs->eps_lock | ||
| HALF_LOCKED2 | &hwctx->priv->io_lock | ||
| HALF_LOCKED2 | &hwctx->priv->job_sem | ||
| HALF_LOCKED2 | &man->eviction_lock | ||
| HALF_LOCKED2 | &p->adev->notifier_lock | ||
| HALF_LOCKED2 | &p->mutex | ||
| HALF_LOCKED2 | &process_info->lock | ||
| HALF_LOCKED2 | &queue->lock | ||
| HALF_LOCKED2 | &rdev->exclusive_lock | ||
| HALF_LOCKED2 | &resv | ||
| HALF_LOCKED2 | &vc4->job_lock | ||
| HALF_LOCKED2 | &vgdev->ctrlq.qlock | ||
| HALF_LOCKED2 | &vm->eviction_lock | ||
| HALF_LOCKED2 | &vm->lock | ||
| HALF_LOCKED2 | &xdna->notifier_lock | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | dst->base.resv | ||
| HALF_LOCKED2 | global &drm_unplug_srcu | ||
| HALF_LOCKED2 | irq | ||
| HALF_LOCKED2 | irqflags | ||
| HALF_LOCKED2 | obj | ||
| HALF_LOCKED2 | src->base.resv |
drivers/dma-buf/dma-fence-array.c dma_fence_is_container() -> dma_fence_is_chain()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fence | 4096-ptr_max |
| DATA_SOURCE | 0 | fence | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &vm->lock |
drivers/gpu/drm/xe/xe_sched_job.c to_dma_fence_chain() -> dma_fence_is_chain()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fence | 1-u64max |
| DATA_SOURCE | 0 | fence | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &guc->submission_state.lock | ||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/xe/xe_sched_job.c xe_sched_job_set_error() -> dma_fence_is_chain()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fence | 4096-ptr_max |
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/drm_syncobj.c to_dma_fence_chain() -> dma_fence_is_chain()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fence | 4096-ptr_max |
| DATA_SOURCE | 0 | fence | $0 |
drivers/gpu/drm/i915/i915_request.c to_dma_fence_chain() -> dma_fence_is_chain()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fence | 4096-ptr_max |
| DATA_SOURCE | 0 | fence | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/accel/amdxdna/aie2_ctx.c to_dma_fence_chain() -> dma_fence_is_chain()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fence | 4096-ptr_max |
| 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 to_dma_fence_chain() -> dma_fence_is_chain()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fence | 4096-ptr_max |
| BUF_SIZE | 0 | fence | (-1)-0,128 |
| BUF_SIZE | 0 | fence | (-1)-0,128 |
| 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() -> dma_fence_is_chain()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fence | 4096-ptr_max |
| DATA_SOURCE | 0 | fence | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | bh |
drivers/gpu/drm/i915/gem/i915_gem_wait.c to_dma_fence_chain() -> dma_fence_is_chain()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fence | 4096-ptr_max |
| DATA_SOURCE | 0 | fence | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | bh |