Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/media/v4l2-core/v4l2-ctrls-api.c try_set_ext_ctrls_common() -> find_ref()

Type Parameter Key Value
PARAM_VALUE 0 hdl 4096-ptr_max
CAPPED_DATA 0 hdl->lock 1
DATA_SOURCE 0 hdl $1
LOCK2 master->handler->lock
HALF_LOCKED2 lock

drivers/media/v4l2-core/v4l2-ctrls-api.c v4l2_query_ext_ctrl() -> find_ref()

Type Parameter Key Value
PARAM_VALUE 0 hdl 4096-ptr_max
PARAM_VALUE 1 id 0-268435455
CAPPED_DATA 0 hdl->lock 1
DATA_SOURCE 0 hdl $0
USER_DATA 1 id 0-268435455[c]
LOCK2 0 hdl->lock
HALF_LOCKED2 lock

drivers/media/v4l2-core/v4l2-ctrls-core.c find_ref_lock() -> find_ref()

Type Parameter Key Value
PARAM_VALUE 0 hdl 4096-ptr_max
BUF_SIZE 0 hdl (-1),328
BUF_SIZE 0 hdl (-1),328
BUF_SIZE 0 hdl->lock (-1),152
CAPPED_DATA 0 hdl->lock 1
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
LOCK2 0 hdl->lock
HALF_LOCKED2 &mdev->req_queue_mutex

drivers/media/v4l2-core/v4l2-ctrls-request.c v4l2_ctrl_request_setup() -> find_ref()

Type Parameter Key Value
PARAM_VALUE 0 hdl 4096-ptr_max
CAPPED_DATA 0 &hdl->ctrl_refs 1
RX_PATH
TASK_NOT_RUNNING
LOCK2 master->handler->lock
HALF_LOCKED2 &dev->mutex

drivers/media/v4l2-core/v4l2-ctrls-request.c v4l2_ctrl_request_setup() -> find_ref()

Type Parameter Key Value
PARAM_VALUE 0 hdl 4096-ptr_max
CAPPED_DATA 0 &hdl->ctrl_refs 1
RX_PATH
TASK_NOT_RUNNING
LOCK2 master->handler->lock
HALF_LOCKED2 &dev->mutex