Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/media/v4l2-core/v4l2-ctrls-core.c v4l2_ctrl_add_handler() -> handler_new_ref()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdl | 4096-ptr_max |
| PARAM_VALUE | 1 | ctrl | 4096-ptr_max |
| PARAM_VALUE | 1 | ctrl->is_private | 0 |
| PARAM_VALUE | 1 | ctrl->type | 0-5,7-u32max |
| PARAM_VALUE | 2 | ctrl_ref | 0 |
| PARAM_VALUE | 4 | allocate_req | 0 |
| BUF_SIZE | 0 | hdl | (-1),328 |
| BUF_SIZE | 0 | hdl | (-1),328 |
| DATA_SOURCE | 0 | hdl | $0 |
| DATA_SOURCE | 3 | from_other_dev | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | hdl->nr_of_buckets | |
| LOCK2 | add->lock | ||
| HALF_LOCKED2 | &drv->core->lock | ||
| HALF_LOCKED2 | &priv->lock | ||
| HALF_LOCKED2 | global &cx8802_mutex | ||
| HALF_LOCKED2 | global &list_lock | ||
| HALF_LOCKED2 | global &saa7134_devlist_lock |
drivers/media/v4l2-core/v4l2-ctrls-core.c v4l2_ctrl_new() -> handler_new_ref()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdl | 4096-ptr_max |
| PARAM_VALUE | 0 | hdl->error | 0 |
| PARAM_VALUE | 1 | ctrl | 4096-ptr_max |
| PARAM_VALUE | 1 | ctrl->elem_size | 1-u32max |
| PARAM_VALUE | 1 | ctrl->ev_subs.next | 4096-ptr_max |
| PARAM_VALUE | 1 | ctrl->ev_subs.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | ctrl->ev_subs.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | ctrl->ev_subs.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | ctrl->ev_subs.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | ctrl->handler | 4096-ptr_max |
| PARAM_VALUE | 1 | ctrl->handler->error | 0 |
| PARAM_VALUE | 1 | ctrl->id | 1-134217727 |
| PARAM_VALUE | 1 | ctrl->name | 1-u64max |
| PARAM_VALUE | 1 | ctrl->node.next | 1-18446744073709551614 |
| PARAM_VALUE | 1 | ctrl->node.next->next | 1-18446744073709551614 |
| PARAM_VALUE | 1 | ctrl->node.prev | 1-18446744073709551614 |
| PARAM_VALUE | 1 | ctrl->node.prev->next | 1-18446744073709551614 |
| PARAM_VALUE | 1 | ctrl->node.prev->prev | 1-18446744073709551614 |
| PARAM_VALUE | 1 | ctrl->ops->g_volatile_ctrl | 0,4096-ptr_max |
| PARAM_VALUE | 1 | ctrl->ops->try_ctrl | 0,4096-ptr_max |
| PARAM_VALUE | 1 | ctrl->p_cur.p | 4096-ptr_max |
| PARAM_VALUE | 1 | ctrl->p_new.p | 1-18446744073709551614 |
| PARAM_VALUE | 1 | ctrl->type_ops | 4096-ptr_max |
| PARAM_VALUE | 1 | *ctrl->p_cur.p | s32min-s32max |
| PARAM_VALUE | 1 | *ctrl->p_new.p | s32min-s32max |
| PARAM_VALUE | 2 | ctrl_ref | 0 |
| PARAM_VALUE | 3 | from_other_dev | 0 |
| PARAM_VALUE | 4 | allocate_req | 0 |
| BUF_SIZE | 0 | hdl | (-1),328 |
| BUF_SIZE | 0 | hdl | (-1),328 |
| BUF_SIZE | 0 | hdl->lock | (-1),152 |
| BUF_SIZE | 1 | ctrl | 248-4294967543 |
| BUF_SIZE | 1 | ctrl | 248-4294967543 |
| BUF_SIZE | 1 | ctrl->handler | (-1),328 |
| BUF_SIZE | 1 | ctrl->name | (-1),19,21-22,24,27,30,32 |
| BUF_SIZE | 1 | ctrl->ops | (-1),24 |
| BUF_SIZE | 1 | ctrl->p_array | 0-u32max,u64max |
| BUF_SIZE | 1 | ctrl->p_cur.p | (-1),4 |
| BUF_SIZE | 1 | ctrl->p_new.p | 0-u32max,u64max |
| BUF_SIZE | 1 | 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 | 1 | ctrl->qmenu_int | (-1)-0,8-s32max |
| BUF_SIZE | 1 | ctrl->type_ops | (-1),48 |
| CAPPED_DATA | 1 | ctrl->minimum | 1 |
| DATA_SOURCE | 0 | hdl | $0 |
| DATA_SOURCE | 1 | ctrl | r __kvmalloc_node_noprof |
| FUZZY_MAX | 1 | ctrl->elem_size | 2040 |
| HARD_MAX | 1 | ctrl->id | 134217727 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | hdl->nr_of_buckets | |
| NO_OVERFLOW_SIMPLE | 1 | ctrl->default_value | |
| NO_OVERFLOW_SIMPLE | 1 | ctrl->handler->nr_of_buckets | |
| NO_OVERFLOW_SIMPLE | 1 | ctrl->val | |
| NO_OVERFLOW_SIMPLE | 1 | *ctrl->p_new.p |
drivers/media/v4l2-core/v4l2-ctrls-request.c v4l2_ctrl_request_clone() -> handler_new_ref()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdl | 4096-ptr_max |
| PARAM_VALUE | 0 | hdl->_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdl->_lock.first_waiter | 0 |
| PARAM_VALUE | 0 | hdl->_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | hdl->_lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | hdl->_lock.owner.counter | 0 |
| PARAM_VALUE | 0 | hdl->buckets | 16,4096-ptr_max |
| PARAM_VALUE | 0 | hdl->ctrl_refs.next | 4096-ptr_max |
| PARAM_VALUE | 0 | hdl->ctrl_refs.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | hdl->ctrl_refs.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | hdl->ctrl_refs.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdl->ctrls.next | 4096-ptr_max |
| PARAM_VALUE | 0 | hdl->ctrls.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | hdl->ctrls.prev->next | 16,4096-ptr_max |
| PARAM_VALUE | 0 | hdl->ctrls.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdl->lock | 4096-ptr_max |
| PARAM_VALUE | 0 | hdl->lock->first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | hdl->lock->first_waiter->list.prev->prev | 0,5159360019465732096 |
| PARAM_VALUE | 0 | hdl->lock->first_waiter->magic | 5159360019465732096 |
| PARAM_VALUE | 0 | hdl->req_obj.completed | 0 |
| PARAM_VALUE | 0 | hdl->req_obj.kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | hdl->req_obj.list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | hdl->req_obj.list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | hdl->req_obj.list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdl->req_obj.list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | hdl->req_obj.list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdl->req_obj.ops | 0 |
| PARAM_VALUE | 0 | hdl->req_obj.priv | 0 |
| PARAM_VALUE | 0 | hdl->req_obj.req | 0 |
| PARAM_VALUE | 0 | hdl->request_is_queued | 0 |
| PARAM_VALUE | 0 | hdl->requests.next | 4096-ptr_max |
| PARAM_VALUE | 0 | hdl->requests.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | hdl->requests.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdl->requests.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | hdl->requests.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdl->requests_queued.next | 4096-ptr_max |
| PARAM_VALUE | 0 | hdl->requests_queued.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | hdl->requests_queued.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdl->requests_queued.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | hdl->requests_queued.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 2 | ctrl_ref | 7441647352333922304 |
| PARAM_VALUE | 3 | from_other_dev | 0 |
| PARAM_VALUE | 4 | allocate_req | 1 |
| BUF_SIZE | 0 | hdl | 328 |
| CAPPED_DATA | 0 | hdl | 1 |
| CAPPED_DATA | 0 | hdl->lock | 1 |
| DATA_SOURCE | 0 | hdl | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | hdl->nr_of_buckets | |
| LOCK2 | from->lock |