Defined in 1 files as a prototype:
Defined in 1 files as a member:
Defined in 2 files as a function:
- drivers/media/v4l2-core/v4l2-ctrls-core.c, line 56 (as a function)
- samples/uhid/uhid-example.c, line 278 (as a function)
Referenced in 19 files:
- drivers/hid/hid-sensor-custom.c, line 979
- drivers/hid/hid-sensor-hub.c
- drivers/iio/accel/hid-sensor-accel-3d.c, line 384
- drivers/iio/gyro/hid-sensor-gyro-3d.c, line 321
- drivers/iio/humidity/hid-sensor-humidity.c, line 188
- drivers/iio/light/hid-sensor-als.c, line 406
- drivers/iio/light/hid-sensor-prox.c, line 309
- drivers/iio/magnetometer/hid-sensor-magn-3d.c, line 508
- drivers/iio/orientation/hid-sensor-incl-3d.c, line 353
- drivers/iio/orientation/hid-sensor-rotation.c, line 366
- drivers/iio/position/hid-sensor-custom-intel-hinge.c, line 320
- drivers/iio/pressure/hid-sensor-press.c, line 288
- drivers/iio/temperature/hid-sensor-temperature.c, line 185
- drivers/media/v4l2-core/v4l2-ctrls-api.c
- drivers/media/v4l2-core/v4l2-ctrls-core.c
- drivers/net/team/team_core.c
- drivers/rtc/rtc-hid-sensor-time.c, line 256
- drivers/staging/media/imx/imx-media-fim.c
- samples/uhid/uhid-example.c
Smatch caller information:
drivers/media/v4l2-core/v4l2-ctrls-api.c __v4l2_ctrl_modify_dimensions() -> send_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fh | 0 |
| PARAM_VALUE | 1 | ctrl | 4096-ptr_max |
| PARAM_VALUE | 1 | ctrl->elems | 1-u32max |
| PARAM_VALUE | 1 | ctrl->handler | 4096-ptr_max |
| PARAM_VALUE | 1 | ctrl->handler->lock->dep_map->name | 0-255 |
| PARAM_VALUE | 1 | ctrl->handler->lock->first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | ctrl->handler->lock->osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | ctrl->handler->lock->wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | ctrl->handler->lock->wait_lock.owner | (-1) |
| PARAM_VALUE | 1 | ctrl->handler->lock->wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | ctrl->is_array | 1 |
| PARAM_VALUE | 1 | ctrl->is_dyn_array | 0 |
| PARAM_VALUE | 1 | ctrl->p_array | 1-18446744073709551614 |
| PARAM_VALUE | 1 | ctrl->p_array_alloc_elems | 1-u32max |
| 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 | 2 | changes | 9 |
| BUF_SIZE | 1 | ctrl->p_array | 0-u32max |
| BUF_SIZE | 1 | ctrl->p_new.p | 0-u32max |
| CAPPED_DATA | 1 | ctrl->elems | 1 |
| CAPPED_DATA | 1 | ctrl->handler->lock | 1 |
| CAPPED_DATA | 1 | ctrl->nr_of_dims | 1 |
| DATA_SOURCE | 1 | ctrl | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 1 | ctrl->handler->lock |
drivers/media/v4l2-core/v4l2-ctrls-api.c __v4l2_ctrl_modify_range() -> send_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fh | 0 |
| PARAM_VALUE | 1 | ctrl | 4096-ptr_max |
| PARAM_VALUE | 1 | ctrl->handler | 4096-ptr_max |
| PARAM_VALUE | 1 | ctrl->is_array | 0 |
| PARAM_VALUE | 1 | ctrl->minimum | 0-s64max |
| PARAM_VALUE | 1 | ctrl->p_cur.p_s32 | 4096-ptr_max |
| PARAM_VALUE | 1 | ctrl->type | 1-3,5,8-9,256-258 |
| PARAM_VALUE | 1 | ctrl->type_ops | 4096-ptr_max |
| PARAM_VALUE | 1 | ctrl->type_ops->validate | 4096-ptr_max |
| PARAM_VALUE | 2 | changes | 4 |
| CAPPED_DATA | 1 | ctrl->minimum | 1 |
| DATA_SOURCE | 1 | ctrl | $0 |
| FUZZY_MAX | 1 | ctrl->type | 5 |
| NOCHECK_CALL |
drivers/media/v4l2-core/v4l2-ctrls-core.c __v4l2_ctrl_grab() -> send_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fh | 0 |
| PARAM_VALUE | 1 | ctrl | 4096-ptr_max |
| PARAM_VALUE | 1 | ctrl->handler | 4096-ptr_max |
| PARAM_VALUE | 2 | changes | 2 |
| BUF_SIZE | 1 | ctrl | (-1),248-s32max |
| BUF_SIZE | 1 | ctrl | (-1),248-s32max |
| DATA_SOURCE | 1 | ctrl | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &imx319->mutex | ||
| HALF_LOCKED2 | &ov08d10->mutex | ||
| HALF_LOCKED2 | &sensor->lock | ||
| HALF_LOCKED2 | 1 | ctrl->handler->lock |
drivers/media/v4l2-core/v4l2-ctrls-core.c new_to_cur() -> send_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fh | 0,4096-ptr_max |
| PARAM_VALUE | 1 | ctrl | 4096-ptr_max |
| PARAM_VALUE | 2 | changes | 0-7 |
| BUF_SIZE | 0 | fh | s32min-s32max |
| DATA_SOURCE | 0 | fh | $0 [m] |
| DATA_SOURCE | 1 | ctrl | $1 |
| STR_LEN | 0 | fh | (-1)-0 |
| STR_LEN | 0 | fh | (-1)-0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | master->handler->lock |
drivers/media/v4l2-core/v4l2-ctrls-core.c v4l2_ctrl_activate() -> send_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fh | 0 |
| PARAM_VALUE | 1 | ctrl | 4096-ptr_max |
| PARAM_VALUE | 2 | changes | 2 |
| BUF_SIZE | 1 | ctrl | (-1),248-s32max |
| BUF_SIZE | 1 | ctrl | (-1),248-s32max |
| DATA_SOURCE | 1 | ctrl | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &isc->awb_mutex | ||
| HALF_LOCKED2 | &ov965x->lock | ||
| HALF_LOCKED2 | ctrls->handler.lock | ||
| HALF_LOCKED2 | global &list_lock |