Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/media/v4l2-core/v4l2-ctrls-api.c
- drivers/media/v4l2-core/v4l2-ctrls-core.c
- drivers/media/v4l2-core/v4l2-ctrls-request.c, line 144
Smatch caller information:
drivers/media/v4l2-core/v4l2-ctrls-api.c class_check() -> find_ref_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdl | 1-u64max |
| PARAM_VALUE | 1 | id | 65537-251658240,251854850-268369921 |
| DATA_SOURCE | 0 | hdl | $0 |
| BIT_INFO | 1 | id | 0x1,0xfff0001 |
| USER_DATA | 1 | id | 65537-251658240,251854850-268369921[c] |
| HALF_LOCKED2 | lock |
drivers/media/v4l2-core/v4l2-ctrls-api.c prepare_ext_ctrls() -> find_ref_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdl | 1-u64max |
| PARAM_VALUE | 1 | id | 0-134217727 |
| DATA_SOURCE | 0 | hdl | $0 |
| HARD_MAX | 1 | id | 134217727 |
| HALF_LOCKED2 | lock |
drivers/media/v4l2-core/v4l2-ctrls-api.c prepare_ext_ctrls() -> find_ref_lock()
| 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,4096-ptr_max |
| PARAM_VALUE | 0 | hdl->lock->first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | hdl->lock->first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | hdl->lock->osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | hdl->lock->wait_lock.dep_map->name | 0-255 |
| CAPPED_DATA | 0 | hdl->lock | 1 |
| DATA_SOURCE | 0 | hdl | $0 |
| HALF_LOCKED2 | lock |
drivers/media/v4l2-core/v4l2-ctrls-core.c handler_new_ref() -> find_ref_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdl | 4096-ptr_max |
| PARAM_VALUE | 0 | hdl->error | 0 |
| PARAM_VALUE | 1 | id | 1,65537-268369921 |
| BUF_SIZE | 0 | hdl | (-1),328 |
| BUF_SIZE | 0 | hdl | (-1),328 |
| BUF_SIZE | 0 | hdl->lock | (-1),152 |
| CAPPED_DATA | 0 | hdl | 1 |
| DATA_SOURCE | 0 | hdl | $0 |
| BIT_INFO | 1 | id | 0x1,0xfff0001 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | hdl->nr_of_buckets | |
| UNITS | 1 | id | unit_array_size |
| HALF_LOCKED2 | add->lock | ||
| HALF_LOCKED2 | from->lock |
drivers/media/v4l2-core/v4l2-ctrls-core.c v4l2_ctrl_find() -> find_ref_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | hdl | (-1),328 |
| BUF_SIZE | 0 | hdl | (-1),328 |
| DATA_SOURCE | 0 | hdl | $0 |
| DATA_SOURCE | 1 | id | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | id | 0-u32max |
| NO_OVERFLOW_SIMPLE | 0 | hdl->nr_of_buckets | |
| UNITS | 1 | id | unit_array_size |
| HALF_LOCKED2 | &chip->reg_lock | ||
| HALF_LOCKED2 | &csi2->lock | ||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &fh->subscribe_lock | ||
| HALF_LOCKED2 | &inst->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &vfe->power_lock | ||
| HALF_LOCKED2 | global &em28xx_devlist_mutex | ||
| HALF_LOCKED2 | irq |
drivers/media/v4l2-core/v4l2-ctrls-request.c v4l2_ctrl_request_hdl_ctrl_find() -> find_ref_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdl | 4096-ptr_max |
| DATA_SOURCE | 0 | hdl | $0 |
| DATA_SOURCE | 1 | id | $1 |
| LOCK2 | &mdev->req_queue_mutex | ||
| TYPE_LOCK | (struct media_device)->req_queue_mutex |