Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/media/v4l2-core/v4l2-ctrls-api.c __v4l2_ctrl_modify_dimensions() -> (struct v4l2_ctrl_type_ops)->init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctrl | 4096-ptr_max |
| PARAM_VALUE | 0 | ctrl->elems | 1-u32max |
| PARAM_VALUE | 0 | ctrl->handler | 4096-ptr_max |
| PARAM_VALUE | 0 | ctrl->handler->lock->dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctrl->handler->lock->first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ctrl->handler->lock->osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ctrl->handler->lock->wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctrl->handler->lock->wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | ctrl->handler->lock->wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | ctrl->is_array | 1 |
| PARAM_VALUE | 0 | ctrl->is_dyn_array | 0 |
| PARAM_VALUE | 0 | ctrl->new_elems | 1-u32max |
| PARAM_VALUE | 0 | ctrl->p_array | 1-18446744073709551614 |
| PARAM_VALUE | 0 | ctrl->p_array_alloc_elems | 1-u32max |
| PARAM_VALUE | 0 | ctrl->p_cur.p | 4096-ptr_max |
| PARAM_VALUE | 0 | ctrl->p_new.p | 1-18446744073709551614 |
| PARAM_VALUE | 0 | ctrl->type_ops | 4096-ptr_max |
| PARAM_VALUE | 1 | from_idx | 0 |
| BUF_SIZE | 0 | ctrl->p_array | 0-u32max |
| BUF_SIZE | 0 | ctrl->p_new.p | 0-u32max |
| CAPPED_DATA | 0 | ctrl->handler->lock | 1 |
| CAPPED_DATA | 0 | ctrl->nr_of_dims | 1 |
| DATA_SOURCE | 0 | ctrl | $0 |
| CONTAINER | 0 | -8-64+0 | $(-1) |
| CONTAINER | 2 | *(-8-64+240) | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | ctrl->handler->lock |
drivers/media/v4l2-core/v4l2-ctrls-api.c def_to_user() -> (struct v4l2_ctrl_type_ops)->init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctrl | 4096-ptr_max |
| PARAM_VALUE | 0 | ctrl->type_ops | 4096-ptr_max |
| PARAM_VALUE | 1 | from_idx | 0 |
| DATA_SOURCE | 0 | ctrl | $1 |
| CONTAINER | 0 | -8-64+0 | $(-1) |
| CONTAINER | 2 | *(-8-64+232) | $(-1) |
| NOCHECK_CALL | |||
| LOCK2 | master->handler->lock | ||
| HALF_LOCKED2 | &video->stream_lock | ||
| HALF_LOCKED2 | lock |
drivers/media/v4l2-core/v4l2-ctrls-api.c user_to_new() -> (struct v4l2_ctrl_type_ops)->init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctrl | 4096-ptr_max |
| PARAM_VALUE | 0 | ctrl->is_array | 1 |
| PARAM_VALUE | 0 | ctrl->is_dyn_array | 0 |
| PARAM_VALUE | 0 | ctrl->is_new | 1 |
| PARAM_VALUE | 0 | ctrl->is_ptr | 1 |
| PARAM_VALUE | 0 | ctrl->is_string | 0 |
| PARAM_VALUE | 0 | ctrl->type_ops | 4096-ptr_max |
| DATA_SOURCE | 0 | ctrl | $1 |
| CONTAINER | 0 | -8-64+0 | $(-1) |
| CONTAINER | 2 | *(-8-64+232) | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | *ctrl->p_new.p | s64min-s64max |
| USER_PTR | 0 | ctrl->p_new.p | |
| HALF_LOCKED2 | master->handler->lock | ||
| HALF_LOCKED2 | 0 | ctrl->handler->lock |
drivers/media/v4l2-core/v4l2-ctrls-core.c v4l2_ctrl_new() -> (struct v4l2_ctrl_type_ops)->init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctrl | 4096-ptr_max |
| PARAM_VALUE | 0 | ctrl->elem_size | 1-u32max |
| PARAM_VALUE | 0 | ctrl->ev_subs.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctrl->ev_subs.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctrl->ev_subs.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ctrl->ev_subs.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctrl->ev_subs.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ctrl->handler | 4096-ptr_max |
| PARAM_VALUE | 0 | ctrl->handler->error | 0 |
| PARAM_VALUE | 0 | ctrl->id | 1-134217727 |
| PARAM_VALUE | 0 | ctrl->name | 1-u64max |
| PARAM_VALUE | 0 | ctrl->node.next | 1-18446744073709551614 |
| PARAM_VALUE | 0 | ctrl->node.next->next | 1-18446744073709551614 |
| PARAM_VALUE | 0 | ctrl->node.prev | 1-18446744073709551614 |
| PARAM_VALUE | 0 | ctrl->node.prev->next | 1-18446744073709551614 |
| PARAM_VALUE | 0 | ctrl->node.prev->prev | 1-18446744073709551614 |
| PARAM_VALUE | 0 | ctrl->ops->g_volatile_ctrl | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ctrl->ops->try_ctrl | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ctrl->p_cur.p | 4096-ptr_max |
| PARAM_VALUE | 0 | ctrl->p_new.p | 1-18446744073709551614 |
| PARAM_VALUE | 0 | ctrl->type_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | *ctrl->p_cur.p | s32min-s32max |
| PARAM_VALUE | 0 | *ctrl->p_new.p | s32min-s32max |
| PARAM_VALUE | 1 | from_idx | 0 |
| BUF_SIZE | 0 | ctrl | 248-4294967543 |
| BUF_SIZE | 0 | ctrl | 248-4294967543 |
| BUF_SIZE | 0 | ctrl->handler | (-1),328 |
| BUF_SIZE | 0 | ctrl->name | (-1),19,21-22,24,27,30,32 |
| BUF_SIZE | 0 | ctrl->ops | (-1),24 |
| BUF_SIZE | 0 | ctrl->p_array | 0-u32max,u64max |
| BUF_SIZE | 0 | ctrl->p_cur.p | (-1),4 |
| BUF_SIZE | 0 | ctrl->p_new.p | 0-u32max,u64max |
| BUF_SIZE | 0 | ctrl->qmenu | (-1)-0,16,24,32,40,48,56,64,72,80,88,104,112,120,128,136,152,160,168,200 |
| BUF_SIZE | 0 | ctrl->qmenu_int | (-1)-0,8-s32max |
| BUF_SIZE | 0 | ctrl->type_ops | (-1),48 |
| CAPPED_DATA | 0 | ctrl->minimum | 1 |
| DATA_SOURCE | 0 | ctrl | r __kvmalloc_node_noprof |
| FUZZY_MAX | 0 | ctrl->elem_size | 2040 |
| CONTAINER | 0 | -8-64+0 | $(-1) |
| CONTAINER | 2 | *(-8-64+240) | $(-1) |
| HARD_MAX | 0 | ctrl->id | 134217727 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | ctrl->default_value | |
| NO_OVERFLOW_SIMPLE | 0 | ctrl->handler->nr_of_buckets | |
| NO_OVERFLOW_SIMPLE | 0 | ctrl->val | |
| NO_OVERFLOW_SIMPLE | 0 | *ctrl->p_new.p |