Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 6 files:
- drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c
- drivers/gpu/drm/drm_exec.c, line 333
- drivers/gpu/drm/drm_gpuvm.c, line 1400
- drivers/gpu/drm/tests/drm_exec_test.c, line 170
- drivers/gpu/drm/v3d/v3d_submit.c, line 36
- drivers/gpu/drm/vc4/vc4_gem.c, line 595
Smatch caller information:
drivers/gpu/drm/v3d/v3d_submit.c v3d_submit_lock_reservations() -> drm_exec_prepare_array()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | exec | 7382000971369357328,7606521116666306576,7840147954759598096,9012588022552735760 |
| PARAM_VALUE | 0 | exec->contended | 0 |
| PARAM_VALUE | 0 | exec->flags | 3 |
| PARAM_VALUE | 3 | num_fences | 1 |
| BUF_SIZE | 1 | objects | 8-s32max |
| UNITS | 2 | num_objects | unit_array_size |
drivers/gpu/drm/vc4/vc4_gem.c vc4_lock_bo_reservations() -> drm_exec_prepare_array()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | exec | 290998352502140928 |
| PARAM_VALUE | 0 | exec->contended | 0,4096-ptr_max |
| PARAM_VALUE | 0 | exec->contended->resv->lock->base.first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | exec->contended->resv->lock.base.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | exec->contended->resv->lock.base.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | exec->contended->resv->lock.base.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | exec->contended->resv->lock.base.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | exec->contended->resv->lock.base.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | exec->contended->resv->lock.base.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | exec->flags | 1 |
| PARAM_VALUE | 0 | exec->num_objects | 0 |
| PARAM_VALUE | 0 | exec->prelocked | 0 |
| PARAM_VALUE | 0 | exec->ticket.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | exec->ticket.first_lock_dep_map->name | 0-255 |
| PARAM_VALUE | 0 | exec->ticket.ww_class->acquire_name | 0,4096-ptr_max |
| PARAM_VALUE | 0 | exec->ticket.ww_class->is_wait_die | 0-s32max |
| PARAM_VALUE | 0 | exec->ticket.ww_class->mutex_name | 0,4096-ptr_max |
| PARAM_VALUE | 1 | objects | 4096-ptr_max |
| PARAM_VALUE | 2 | num_objects | 1-s32max |
| PARAM_VALUE | 3 | num_fences | 1 |
| CAPPED_DATA | 2 | num_objects | 1 |
| DATA_SOURCE | 0 | exec | $1 |
| NOSPEC | 0 | exec->max_objects | |
| USER_DATA | 0 | exec->max_objects | 1-131072[c] |
| UNITS | 2 | num_objects | unit_array_size |
drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c amdgpu_userq_signal_ioctl() -> drm_exec_prepare_array()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | exec | 6394079011062140928 |
| PARAM_VALUE | 0 | exec->contended | 0 |
| PARAM_VALUE | 0 | exec->flags | 1 |
| PARAM_VALUE | 0 | exec->num_objects | 0 |
| PARAM_VALUE | 0 | exec->objects | 0,16,4096-ptr_max |
| PARAM_VALUE | 0 | exec->prelocked | 0 |
| PARAM_VALUE | 0 | exec->ticket.acquired | 0 |
| PARAM_VALUE | 0 | exec->ticket.contending_lock | 0 |
| PARAM_VALUE | 0 | exec->ticket.deadlock_inject_countdown | 0-15 |
| PARAM_VALUE | 0 | exec->ticket.deadlock_inject_interval | 1 |
| PARAM_VALUE | 0 | exec->ticket.done_acquire | 0 |
| PARAM_VALUE | 0 | exec->ticket.wounded | 0 |
| PARAM_VALUE | 0 | exec->ticket.ww_class | 8825623990767841280 |
| PARAM_VALUE | 1 | objects | 0,16,4096-ptr_max |
| PARAM_VALUE | 2 | num_objects | 0-65536 |
| PARAM_VALUE | 3 | num_fences | 1 |
| CAPPED_DATA | 2 | num_objects | 1 |
| NOSPEC | 2 | num_objects | |
| NOSPEC | 2 | num_objects | |
| USER_DATA | 2 | num_objects | 0-65536[c] |
drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c amdgpu_userq_signal_ioctl() -> drm_exec_prepare_array()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | exec | 6394079011062140928 |
| PARAM_VALUE | 0 | exec->contended | 0 |
| PARAM_VALUE | 0 | exec->flags | 1 |
| PARAM_VALUE | 1 | objects | 0,16,4096-ptr_max |
| PARAM_VALUE | 2 | num_objects | 0-65536 |
| PARAM_VALUE | 3 | num_fences | 1 |
| CAPPED_DATA | 2 | num_objects | 1 |
| NOSPEC | 2 | num_objects | |
| NOSPEC | 2 | num_objects | |
| USER_DATA | 2 | num_objects | 0-65536[c] |
drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c amdgpu_userq_wait_count_fences() -> drm_exec_prepare_array()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | exec | 7627378260204695552 |
| PARAM_VALUE | 0 | exec->contended | 0 |
| PARAM_VALUE | 0 | exec->flags | 1 |
| PARAM_VALUE | 0 | exec->num_objects | 0 |
| PARAM_VALUE | 0 | exec->objects | 0,16,4096-ptr_max |
| PARAM_VALUE | 0 | exec->prelocked | 0 |
| PARAM_VALUE | 0 | exec->ticket.acquired | 0 |
| PARAM_VALUE | 0 | exec->ticket.contending_lock | 0 |
| PARAM_VALUE | 0 | exec->ticket.deadlock_inject_countdown | 0-15 |
| PARAM_VALUE | 0 | exec->ticket.deadlock_inject_interval | 1 |
| PARAM_VALUE | 0 | exec->ticket.done_acquire | 0 |
| PARAM_VALUE | 0 | exec->ticket.wounded | 0 |
| PARAM_VALUE | 0 | exec->ticket.ww_class | 8825623990767841280 |
| PARAM_VALUE | 1 | objects | 0,16,4096-ptr_max |
| PARAM_VALUE | 2 | num_objects | 0-65536 |
| PARAM_VALUE | 3 | num_fences | 1 |
| CAPPED_DATA | 2 | num_objects | 1 |
| DATA_SOURCE | 1 | objects | $6 |
| USER_DATA | 2 | num_objects | 0-65536[c][u] |
drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c amdgpu_userq_wait_count_fences() -> drm_exec_prepare_array()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | exec | 7627378260204695552 |
| PARAM_VALUE | 0 | exec->contended | 0 |
| PARAM_VALUE | 0 | exec->flags | 1 |
| PARAM_VALUE | 1 | objects | 0,16,4096-ptr_max |
| PARAM_VALUE | 2 | num_objects | 0-65536 |
| PARAM_VALUE | 3 | num_fences | 1 |
| CAPPED_DATA | 2 | num_objects | 1 |
| DATA_SOURCE | 1 | objects | $5 |
| USER_DATA | 2 | num_objects | 0-65536[c][u] |
drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c amdgpu_userq_wait_return_fence_info() -> drm_exec_prepare_array()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | exec | 1481558536177508352 |
| PARAM_VALUE | 0 | exec->contended | 0 |
| PARAM_VALUE | 0 | exec->flags | 1 |
| PARAM_VALUE | 0 | exec->num_objects | 0 |
| PARAM_VALUE | 0 | exec->objects | 0,16,4096-ptr_max |
| PARAM_VALUE | 0 | exec->prelocked | 0 |
| PARAM_VALUE | 0 | exec->ticket.acquired | 0 |
| PARAM_VALUE | 0 | exec->ticket.contending_lock | 0 |
| PARAM_VALUE | 0 | exec->ticket.deadlock_inject_countdown | 0-15 |
| PARAM_VALUE | 0 | exec->ticket.deadlock_inject_interval | 1 |
| PARAM_VALUE | 0 | exec->ticket.done_acquire | 0 |
| PARAM_VALUE | 0 | exec->ticket.wounded | 0 |
| PARAM_VALUE | 0 | exec->ticket.ww_class | 8825623990767841280 |
| PARAM_VALUE | 1 | objects | 0,16,4096-ptr_max |
| PARAM_VALUE | 2 | num_objects | 0-65536 |
| PARAM_VALUE | 3 | num_fences | 1 |
| CAPPED_DATA | 2 | num_objects | 1 |
| DATA_SOURCE | 1 | objects | $7 |
| USER_DATA | 2 | num_objects | 0-65536[c][u] |
drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c amdgpu_userq_wait_return_fence_info() -> drm_exec_prepare_array()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | exec | 1481558536177508352 |
| PARAM_VALUE | 0 | exec->contended | 0 |
| PARAM_VALUE | 0 | exec->flags | 1 |
| PARAM_VALUE | 1 | objects | 0,16,4096-ptr_max |
| PARAM_VALUE | 2 | num_objects | 0-65536 |
| PARAM_VALUE | 3 | num_fences | 1 |
| CAPPED_DATA | 2 | num_objects | 1 |
| DATA_SOURCE | 1 | objects | $6 |
| USER_DATA | 2 | num_objects | 0-65536[c][u] |
drivers/gpu/drm/drm_gpuvm.c fn_lock_array() -> drm_exec_prepare_array()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | exec | 4096-ptr_max |
| PARAM_VALUE | 0 | exec->contended | 0 |
| PARAM_VALUE | 0 | exec->ticket.deadlock_inject_countdown | 0-3758096380,u32max |
| PARAM_VALUE | 0 | exec->ticket.deadlock_inject_interval | 0-3758096380,u32max |
| PARAM_VALUE | 3 | num_fences | 0-1 |
| HALF_LOCKED2 | &ctx->val->lock | ||
| HALF_LOCKED2 | &vm->lock |
drivers/gpu/drm/tests/drm_exec_test.c test_prepare_array() -> drm_exec_prepare_array()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | exec | 992431882791477248 |
| PARAM_VALUE | 0 | exec->flags | 1 |
| PARAM_VALUE | 0 | exec->num_objects | 0 |
| PARAM_VALUE | 0 | exec->prelocked | 0 |
| PARAM_VALUE | 1 | objects | 4096-ptr_max |
| PARAM_VALUE | 2 | num_objects | 2 |
| PARAM_VALUE | 3 | num_fences | 1 |
| BUF_SIZE | 1 | objects | 16 |
| UNITS | 2 | num_objects | unit_array_size |