Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 6 files:
- drivers/accel/amdxdna/aie2_ctx.c, line 158
- drivers/dma-buf/dma-fence-chain.c, line 110
- drivers/dma-buf/st-dma-fence-chain.c
- drivers/gpu/drm/drm_syncobj.c
- drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c, line 2861
- drivers/gpu/drm/xe/xe_sync.c, line 183
Smatch caller information:
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c add_timeline_fence_array() -> dma_fence_chain_find_seqno()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pfence | 9035327308518498304 |
| PARAM_VALUE | 0 | *pfence | 4096-ptr_max |
drivers/gpu/drm/xe/xe_sync.c xe_sync_entry_parse() -> dma_fence_chain_find_seqno()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pfence | 4096-ptr_max |
| PARAM_VALUE | 0 | *pfence | 4096-ptr_max |
| PARAM_VALUE | 1 | seqno | 1-u64max |
| USER_DATA | 1 | seqno | 1-u64max |
| HALF_LOCKED2 | &vm->lock |
drivers/dma-buf/st-dma-fence-chain.c __find_race() -> dma_fence_chain_find_seqno()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pfence | 2807398771011043328 |
| PARAM_VALUE | 0 | *pfence | 0,4096-ptr_max |
| PARAM_VALUE | 1 | seqno | 0-s32max,18446744071562067968-u64max |
| DATA_SOURCE | 1 | seqno | r get_random_u32_inclusive |
drivers/dma-buf/st-dma-fence-chain.c __find_race() -> dma_fence_chain_find_seqno()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pfence | 2807398771011043328 |
| PARAM_VALUE | 0 | *pfence | 4096-ptr_max |
| PARAM_VALUE | 1 | seqno | 0-s32max,18446744071562067968-u64max |
| CAPPED_DATA | 1 | seqno | 1 |
| DATA_SOURCE | 1 | seqno | r get_random_u32_inclusive |
| UNITS | 1 | seqno | unit_array_size |
drivers/dma-buf/st-dma-fence-chain.c test_find_gap() -> dma_fence_chain_find_seqno()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pfence | 7940198707914743808 |
| PARAM_VALUE | 0 | *pfence | 4096-ptr_max |
| PARAM_VALUE | 1 | seqno | 1-8191 |
drivers/dma-buf/st-dma-fence-chain.c test_find_gap() -> dma_fence_chain_find_seqno()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pfence | 7940198707914743808 |
| PARAM_VALUE | 0 | *pfence | 0,4096-ptr_max |
| PARAM_VALUE | 1 | seqno | 0-s32max,18446744071562067968-u64max |
drivers/dma-buf/st-dma-fence-chain.c test_find_out_of_order() -> dma_fence_chain_find_seqno()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pfence | 464567657123037184 |
| PARAM_VALUE | 0 | *pfence | 4096-ptr_max |
| PARAM_VALUE | 1 | seqno | 2 |
drivers/dma-buf/st-dma-fence-chain.c test_find_seqno() -> dma_fence_chain_find_seqno()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pfence | 1931096838354903040 |
| PARAM_VALUE | 0 | *pfence | 4096-ptr_max |
| PARAM_VALUE | 1 | seqno | 0 |
drivers/dma-buf/st-dma-fence-chain.c test_find_seqno() -> dma_fence_chain_find_seqno()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pfence | 1931096838354903040 |
| PARAM_VALUE | 0 | *pfence | 4096-ptr_max |
| PARAM_VALUE | 1 | seqno | 1-4096 |
drivers/dma-buf/st-dma-fence-chain.c test_find_seqno() -> dma_fence_chain_find_seqno()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pfence | 1931096838354903040 |
| PARAM_VALUE | 0 | *pfence | 0,4096-ptr_max |
| PARAM_VALUE | 1 | seqno | 0-s32max,18446744071562067968-u64max |
drivers/dma-buf/st-dma-fence-chain.c test_find_seqno() -> dma_fence_chain_find_seqno()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pfence | 1931096838354903040 |
| PARAM_VALUE | 0 | *pfence | 0,4096-ptr_max |
| PARAM_VALUE | 1 | seqno | 0-s32max,18446744071562067968-u64max |
drivers/dma-buf/st-dma-fence-chain.c test_find_seqno() -> dma_fence_chain_find_seqno()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pfence | 1931096838354903040 |
| PARAM_VALUE | 0 | *pfence | 0,4096-ptr_max |
| NO_OVERFLOW_SIMPLE | 1 | seqno | |
| UNITS | 1 | seqno | unit_array_size |
drivers/dma-buf/st-dma-fence-chain.c test_find_signaled() -> dma_fence_chain_find_seqno()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pfence | 3601120040287305728 |
| PARAM_VALUE | 0 | *pfence | 4096-ptr_max |
| PARAM_VALUE | 1 | seqno | 1 |
drivers/dma-buf/st-dma-fence-chain.c test_find_signaled() -> dma_fence_chain_find_seqno()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pfence | 3601120040287305728 |
| PARAM_VALUE | 0 | *pfence | 4096-ptr_max |
| PARAM_VALUE | 1 | seqno | 1 |
drivers/gpu/drm/drm_syncobj.c drm_syncobj_array_wait_timeout() -> dma_fence_chain_find_seqno()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pfence | 2003976292021768192 |
| PARAM_VALUE | 0 | *pfence | 4096-ptr_max |
| USER_DATA | 1 | seqno | 0-u64max |
drivers/gpu/drm/drm_syncobj.c drm_syncobj_fence_add_wait() -> dma_fence_chain_find_seqno()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pfence | 5757428543209754624 |
| PARAM_VALUE | 0 | *pfence | 1-u64max |
| PREEMPT_ADD | <- disables preempt | ||
| USER_DATA | 1 | seqno | 0-u64max |
| LOCK2 | &syncobj->lock | ||
| TYPE_LOCK | (struct drm_syncobj)->lock |
drivers/gpu/drm/drm_syncobj.c drm_syncobj_find_fence() -> dma_fence_chain_find_seqno()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pfence | 4096-ptr_max |
| PARAM_VALUE | 0 | *pfence | 4096-ptr_max |
| PARAM_VALUE | 0 | *pfence->refcount.refcount.refs.counter | (-1073741824),0-s32max |
| DATA_SOURCE | 0 | pfence | $4 |
| DATA_SOURCE | 1 | seqno | $2 |
| USER_DATA | 1 | seqno | 0-u64max |
| HALF_LOCKED2 | &fpriv->lock | ||
| HALF_LOCKED2 | global &drm_unplug_srcu |
drivers/gpu/drm/drm_syncobj.c syncobj_eventfd_entry_func() -> dma_fence_chain_find_seqno()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pfence | 5446728545848360960 |
| PARAM_VALUE | 0 | *pfence | 1-u64max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | seqno | 0-u64max[u] |
| LOCK2 | &syncobj->lock | ||
| TYPE_LOCK | (struct drm_syncobj)->lock |
drivers/gpu/drm/drm_syncobj.c syncobj_wait_syncobj_func() -> dma_fence_chain_find_seqno()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pfence | 8164860625268998144 |
| PARAM_VALUE | 0 | *pfence | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &syncobj->lock | ||
| HALF_LOCKED2 | &p->adev->notifier_lock | ||
| HALF_LOCKED2 | &queue->lock | ||
| HALF_LOCKED2 | &sched->mutex | ||
| HALF_LOCKED2 | global &drm_unplug_srcu | ||
| TYPE_LOCK | (struct drm_syncobj)->lock |
drivers/accel/amdxdna/aie2_ctx.c aie2_cmd_get_out_fence() -> dma_fence_chain_find_seqno()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pfence | 5320076020419354624 |
| PARAM_VALUE | 0 | *pfence | 4096-ptr_max |
| DATA_SOURCE | 1 | seqno | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &hwctx->priv->job_sem | ||
| HALF_LOCKED2 | &xdna->client_lock | ||
| HALF_LOCKED2 | &xdna->dev_lock |