Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/gpu/drm/v3d/v3d_submit.c v3d_get_cpu_copy_performance_query_params() -> v3d_validate_cpu_job()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | file_priv->driver_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | file_priv->master->lessor | 0 |
| PARAM_VALUE | 0 | file_priv->master_lookup_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | file_priv->minor | 4096-ptr_max |
| PARAM_VALUE | 0 | file_priv->minor->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | job | 0,4096-ptr_max |
| PARAM_VALUE | 1 | job->base.cb.func | 0 |
| PARAM_VALUE | 1 | job->base.cb.node.next | 0 |
| PARAM_VALUE | 1 | job->base.cb.node.prev | 0 |
| PARAM_VALUE | 1 | job->base.credits | 1 |
| PARAM_VALUE | 1 | job->base.dependencies.xa_flags | 33554436 |
| PARAM_VALUE | 1 | job->base.dependencies.xa_head | 0 |
| PARAM_VALUE | 1 | job->base.entity_stats | 0 |
| PARAM_VALUE | 1 | job->base.finish_cb.func | 0 |
| PARAM_VALUE | 1 | job->base.finish_cb.node.next | 0 |
| PARAM_VALUE | 1 | job->base.finish_cb.node.prev | 0 |
| PARAM_VALUE | 1 | job->base.karma.counter | 0 |
| PARAM_VALUE | 1 | job->base.last_dependency | 0 |
| PARAM_VALUE | 1 | job->base.queue_node.next | 0 |
| PARAM_VALUE | 1 | job->base.s_priority | 0 |
| PARAM_VALUE | 1 | job->base.sched | 0 |
| PARAM_VALUE | 1 | job->base.work.data.counter | 0 |
| PARAM_VALUE | 1 | job->base.work.entry.next | 0 |
| PARAM_VALUE | 1 | job->base.work.entry.prev | 0 |
| PARAM_VALUE | 1 | job->base.work.func | 0 |
| PARAM_VALUE | 1 | job->job_type | 1-6 |
| PARAM_VALUE | 1 | job->queue | 5 |
| PARAM_VALUE | 1 | job->refcount.refcount.refs.counter | 1 |
| PARAM_VALUE | 1 | job->v3d | s64min-(-4096),4096-s64max |
| BUF_SIZE | 0 | file_priv | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | file_priv | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | job | (-1),368,400,408,456,464,560 |
| BUF_SIZE | 1 | job | (-1),368,400,408,456,464,560 |
| DATA_SOURCE | 0 | file_priv | $0 |
| DATA_SOURCE | 1 | job | $2 |
| NO_OVERFLOW_SIMPLE | 1 | job->base.entity->num_sched_list |
drivers/gpu/drm/v3d/v3d_submit.c v3d_get_cpu_copy_query_results_params() -> v3d_validate_cpu_job()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | file_priv->driver_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | file_priv->master->lessor | 0 |
| PARAM_VALUE | 0 | file_priv->master_lookup_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | file_priv->minor | 4096-ptr_max |
| PARAM_VALUE | 0 | file_priv->minor->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | job | 0,4096-ptr_max |
| PARAM_VALUE | 1 | job->base.cb.func | 0 |
| PARAM_VALUE | 1 | job->base.cb.node.next | 0 |
| PARAM_VALUE | 1 | job->base.cb.node.prev | 0 |
| PARAM_VALUE | 1 | job->base.credits | 1 |
| PARAM_VALUE | 1 | job->base.dependencies.xa_flags | 33554436 |
| PARAM_VALUE | 1 | job->base.dependencies.xa_head | 0 |
| PARAM_VALUE | 1 | job->base.entity_stats | 0 |
| PARAM_VALUE | 1 | job->base.finish_cb.func | 0 |
| PARAM_VALUE | 1 | job->base.finish_cb.node.next | 0 |
| PARAM_VALUE | 1 | job->base.finish_cb.node.prev | 0 |
| PARAM_VALUE | 1 | job->base.karma.counter | 0 |
| PARAM_VALUE | 1 | job->base.last_dependency | 0 |
| PARAM_VALUE | 1 | job->base.queue_node.next | 0 |
| PARAM_VALUE | 1 | job->base.s_priority | 0 |
| PARAM_VALUE | 1 | job->base.sched | 0 |
| PARAM_VALUE | 1 | job->base.work.data.counter | 0 |
| PARAM_VALUE | 1 | job->base.work.entry.next | 0 |
| PARAM_VALUE | 1 | job->base.work.entry.prev | 0 |
| PARAM_VALUE | 1 | job->base.work.func | 0 |
| PARAM_VALUE | 1 | job->job_type | 1-6 |
| PARAM_VALUE | 1 | job->queue | 5 |
| PARAM_VALUE | 1 | job->refcount.refcount.refs.counter | 1 |
| PARAM_VALUE | 1 | job->v3d | s64min-(-4096),4096-s64max |
| BUF_SIZE | 0 | file_priv | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | file_priv | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | job | (-1),368,400,408,456,464,560 |
| BUF_SIZE | 1 | job | (-1),368,400,408,456,464,560 |
| DATA_SOURCE | 0 | file_priv | $0 |
| DATA_SOURCE | 1 | job | $2 |
| NO_OVERFLOW_SIMPLE | 1 | job->base.entity->num_sched_list |
drivers/gpu/drm/v3d/v3d_submit.c v3d_get_cpu_indirect_csd_params() -> v3d_validate_cpu_job()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | file_priv->driver_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | file_priv->master->lessor | 0 |
| PARAM_VALUE | 0 | file_priv->master_lookup_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | file_priv->minor | 4096-ptr_max |
| PARAM_VALUE | 0 | file_priv->minor->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | job | 0,4096-ptr_max |
| PARAM_VALUE | 1 | job->base.cb.func | 0 |
| PARAM_VALUE | 1 | job->base.cb.node.next | 0 |
| PARAM_VALUE | 1 | job->base.cb.node.prev | 0 |
| PARAM_VALUE | 1 | job->base.credits | 1 |
| PARAM_VALUE | 1 | job->base.dependencies.xa_flags | 33554436 |
| PARAM_VALUE | 1 | job->base.dependencies.xa_head | 0 |
| PARAM_VALUE | 1 | job->base.entity_stats | 0 |
| PARAM_VALUE | 1 | job->base.finish_cb.func | 0 |
| PARAM_VALUE | 1 | job->base.finish_cb.node.next | 0 |
| PARAM_VALUE | 1 | job->base.finish_cb.node.prev | 0 |
| PARAM_VALUE | 1 | job->base.karma.counter | 0 |
| PARAM_VALUE | 1 | job->base.last_dependency | 0 |
| PARAM_VALUE | 1 | job->base.queue_node.next | 0 |
| PARAM_VALUE | 1 | job->base.s_priority | 0 |
| PARAM_VALUE | 1 | job->base.sched | 0 |
| PARAM_VALUE | 1 | job->base.work.data.counter | 0 |
| PARAM_VALUE | 1 | job->base.work.entry.next | 0 |
| PARAM_VALUE | 1 | job->base.work.entry.prev | 0 |
| PARAM_VALUE | 1 | job->base.work.func | 0 |
| PARAM_VALUE | 1 | job->job_type | 1-6 |
| PARAM_VALUE | 1 | job->queue | 5 |
| PARAM_VALUE | 1 | job->refcount.refcount.refs.counter | 1 |
| PARAM_VALUE | 1 | job->v3d | s64min-(-4096),4096-s64max |
| BUF_SIZE | 0 | file_priv | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | file_priv | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | job | (-1),368,400,408,456,464,560 |
| BUF_SIZE | 1 | job | (-1),368,400,408,456,464,560 |
| DATA_SOURCE | 0 | file_priv | $0 |
| DATA_SOURCE | 1 | job | $2 |
| NO_OVERFLOW_SIMPLE | 1 | job->base.entity->num_sched_list |
drivers/gpu/drm/v3d/v3d_submit.c v3d_get_cpu_reset_performance_params() -> v3d_validate_cpu_job()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | file_priv->driver_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | file_priv->master->lessor | 0 |
| PARAM_VALUE | 0 | file_priv->master_lookup_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | file_priv->minor | 4096-ptr_max |
| PARAM_VALUE | 0 | file_priv->minor->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | job | 0,4096-ptr_max |
| PARAM_VALUE | 1 | job->base.cb.func | 0 |
| PARAM_VALUE | 1 | job->base.cb.node.next | 0 |
| PARAM_VALUE | 1 | job->base.cb.node.prev | 0 |
| PARAM_VALUE | 1 | job->base.credits | 1 |
| PARAM_VALUE | 1 | job->base.dependencies.xa_flags | 33554436 |
| PARAM_VALUE | 1 | job->base.dependencies.xa_head | 0 |
| PARAM_VALUE | 1 | job->base.entity_stats | 0 |
| PARAM_VALUE | 1 | job->base.finish_cb.func | 0 |
| PARAM_VALUE | 1 | job->base.finish_cb.node.next | 0 |
| PARAM_VALUE | 1 | job->base.finish_cb.node.prev | 0 |
| PARAM_VALUE | 1 | job->base.karma.counter | 0 |
| PARAM_VALUE | 1 | job->base.last_dependency | 0 |
| PARAM_VALUE | 1 | job->base.queue_node.next | 0 |
| PARAM_VALUE | 1 | job->base.s_priority | 0 |
| PARAM_VALUE | 1 | job->base.sched | 0 |
| PARAM_VALUE | 1 | job->base.work.data.counter | 0 |
| PARAM_VALUE | 1 | job->base.work.entry.next | 0 |
| PARAM_VALUE | 1 | job->base.work.entry.prev | 0 |
| PARAM_VALUE | 1 | job->base.work.func | 0 |
| PARAM_VALUE | 1 | job->job_type | 1-6 |
| PARAM_VALUE | 1 | job->queue | 5 |
| PARAM_VALUE | 1 | job->refcount.refcount.refs.counter | 1 |
| PARAM_VALUE | 1 | job->v3d | s64min-(-4096),4096-s64max |
| BUF_SIZE | 0 | file_priv | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | file_priv | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | job | (-1),368,400,408,456,464,560 |
| BUF_SIZE | 1 | job | (-1),368,400,408,456,464,560 |
| DATA_SOURCE | 0 | file_priv | $0 |
| DATA_SOURCE | 1 | job | $2 |
| NO_OVERFLOW_SIMPLE | 1 | job->base.entity->num_sched_list |
drivers/gpu/drm/v3d/v3d_submit.c v3d_get_cpu_reset_timestamp_params() -> v3d_validate_cpu_job()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | file_priv->driver_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | file_priv->master->lessor | 0 |
| PARAM_VALUE | 0 | file_priv->master_lookup_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | file_priv->minor | 4096-ptr_max |
| PARAM_VALUE | 0 | file_priv->minor->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | job | 0,4096-ptr_max |
| PARAM_VALUE | 1 | job->base.cb.func | 0 |
| PARAM_VALUE | 1 | job->base.cb.node.next | 0 |
| PARAM_VALUE | 1 | job->base.cb.node.prev | 0 |
| PARAM_VALUE | 1 | job->base.credits | 1 |
| PARAM_VALUE | 1 | job->base.dependencies.xa_flags | 33554436 |
| PARAM_VALUE | 1 | job->base.dependencies.xa_head | 0 |
| PARAM_VALUE | 1 | job->base.entity_stats | 0 |
| PARAM_VALUE | 1 | job->base.finish_cb.func | 0 |
| PARAM_VALUE | 1 | job->base.finish_cb.node.next | 0 |
| PARAM_VALUE | 1 | job->base.finish_cb.node.prev | 0 |
| PARAM_VALUE | 1 | job->base.karma.counter | 0 |
| PARAM_VALUE | 1 | job->base.last_dependency | 0 |
| PARAM_VALUE | 1 | job->base.queue_node.next | 0 |
| PARAM_VALUE | 1 | job->base.s_priority | 0 |
| PARAM_VALUE | 1 | job->base.sched | 0 |
| PARAM_VALUE | 1 | job->base.work.data.counter | 0 |
| PARAM_VALUE | 1 | job->base.work.entry.next | 0 |
| PARAM_VALUE | 1 | job->base.work.entry.prev | 0 |
| PARAM_VALUE | 1 | job->base.work.func | 0 |
| PARAM_VALUE | 1 | job->job_type | 1-6 |
| PARAM_VALUE | 1 | job->queue | 5 |
| PARAM_VALUE | 1 | job->refcount.refcount.refs.counter | 1 |
| PARAM_VALUE | 1 | job->v3d | s64min-(-4096),4096-s64max |
| BUF_SIZE | 0 | file_priv | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | file_priv | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | job | (-1),368,400,408,456,464,560 |
| BUF_SIZE | 1 | job | (-1),368,400,408,456,464,560 |
| DATA_SOURCE | 0 | file_priv | $0 |
| DATA_SOURCE | 1 | job | $2 |
| NO_OVERFLOW_SIMPLE | 1 | job->base.entity->num_sched_list |
drivers/gpu/drm/v3d/v3d_submit.c v3d_get_cpu_timestamp_query_params() -> v3d_validate_cpu_job()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | file_priv->driver_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | file_priv->master->lessor | 0 |
| PARAM_VALUE | 0 | file_priv->master_lookup_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | file_priv->minor | 4096-ptr_max |
| PARAM_VALUE | 0 | file_priv->minor->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | job | 0,4096-ptr_max |
| PARAM_VALUE | 1 | job->base.cb.func | 0 |
| PARAM_VALUE | 1 | job->base.cb.node.next | 0 |
| PARAM_VALUE | 1 | job->base.cb.node.prev | 0 |
| PARAM_VALUE | 1 | job->base.credits | 1 |
| PARAM_VALUE | 1 | job->base.dependencies.xa_flags | 33554436 |
| PARAM_VALUE | 1 | job->base.dependencies.xa_head | 0 |
| PARAM_VALUE | 1 | job->base.entity_stats | 0 |
| PARAM_VALUE | 1 | job->base.finish_cb.func | 0 |
| PARAM_VALUE | 1 | job->base.finish_cb.node.next | 0 |
| PARAM_VALUE | 1 | job->base.finish_cb.node.prev | 0 |
| PARAM_VALUE | 1 | job->base.karma.counter | 0 |
| PARAM_VALUE | 1 | job->base.last_dependency | 0 |
| PARAM_VALUE | 1 | job->base.queue_node.next | 0 |
| PARAM_VALUE | 1 | job->base.s_priority | 0 |
| PARAM_VALUE | 1 | job->base.sched | 0 |
| PARAM_VALUE | 1 | job->base.work.data.counter | 0 |
| PARAM_VALUE | 1 | job->base.work.entry.next | 0 |
| PARAM_VALUE | 1 | job->base.work.entry.prev | 0 |
| PARAM_VALUE | 1 | job->base.work.func | 0 |
| PARAM_VALUE | 1 | job->job_type | 1-6 |
| PARAM_VALUE | 1 | job->queue | 5 |
| PARAM_VALUE | 1 | job->refcount.refcount.refs.counter | 1 |
| PARAM_VALUE | 1 | job->v3d | s64min-(-4096),4096-s64max |
| BUF_SIZE | 0 | file_priv | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | file_priv | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | job | (-1),368,400,408,456,464,560 |
| BUF_SIZE | 1 | job | (-1),368,400,408,456,464,560 |
| DATA_SOURCE | 0 | file_priv | $0 |
| DATA_SOURCE | 1 | job | $2 |
| NO_OVERFLOW_SIMPLE | 1 | job->base.entity->num_sched_list |