Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/media/v4l2-core/v4l2-subdev.c call_get_selection() -> check_selection()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sd | 4096-ptr_max |
| PARAM_VALUE | 0 | sd->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | sd->ops->pad | 4096-ptr_max |
| PARAM_VALUE | 0 | sd->ops->pad->get_selection | 4096-ptr_max |
| PARAM_VALUE | 1 | state | 0,4096-ptr_max |
| PARAM_VALUE | 2 | sel | 4096-ptr_max |
| PARAM_VALUE | 2 | sel->stream | 0 |
| BUF_SIZE | 0 | sd | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | sd | s32min-(-1),1-s32max |
| BUF_SIZE | 2 | sel | (-1),128-16383 |
| BUF_SIZE | 2 | sel | (-1),128-16383 |
| DATA_SOURCE | 0 | sd | $0 |
| DATA_SOURCE | 1 | state | $1 |
| DATA_SOURCE | 2 | sel | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_PTR | 2 | sel | |
| HALF_LOCKED2 | global &list_lock | ||
| HALF_LOCKED2 | 0 | sd->active_state->lock |
drivers/media/v4l2-core/v4l2-subdev.c call_set_selection() -> check_selection()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sd | 4096-ptr_max |
| PARAM_VALUE | 0 | sd->ops | 4096-ptr_max |
| PARAM_VALUE | 1 | state | 0,4096-ptr_max |
| PARAM_VALUE | 2 | sel | 4096-ptr_max |
| PARAM_VALUE | 2 | sel->stream | 0 |
| BUF_SIZE | 0 | sd | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | sd | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | state | (-1),208 |
| BUF_SIZE | 1 | state | (-1),208 |
| BUF_SIZE | 2 | sel | (-1),128-16383 |
| BUF_SIZE | 2 | sel | (-1),128-16383 |
| DATA_SOURCE | 0 | sd | $0 |
| DATA_SOURCE | 1 | state | $1 |
| DATA_SOURCE | 2 | sel | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | sel->r.height | 0-u32max[c] |
| USER_DATA | 2 | sel->r.width | 0-u32max[c] |
| USER_PTR | 2 | sel | |
| HALF_LOCKED2 | &video->mutex | ||
| HALF_LOCKED2 | global &list_lock | ||
| HALF_LOCKED2 | 0 | sd->active_state->lock |