Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/media/platform/ti/omap3isp/ispvideo.c isp_video_get_selection() -> (struct v4l2_subdev_pad_ops)->get_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 sd_state 0
PARAM_VALUE 2 sel 6312695884204077056
PARAM_VALUE 2 sel->flags 0
PARAM_VALUE 2 sel->pad 0-u16max
PARAM_VALUE 2 sel->r.height 0
PARAM_VALUE 2 sel->r.left 0
PARAM_VALUE 2 sel->r.top 0
PARAM_VALUE 2 sel->r.width 0
PARAM_VALUE 2 sel->stream 0
PARAM_VALUE 2 sel->which 1
HALF_LOCKED2 lock
HALF_LOCKED2 req_queue_lock

drivers/media/platform/ti/omap3isp/ispvideo.c isp_video_get_selection() -> (struct v4l2_subdev_pad_ops)->get_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 sd_state 0
PARAM_VALUE 2 sel 6312695884204077056
PARAM_VALUE 2 sel->flags 0
PARAM_VALUE 2 sel->pad 0-u16max
PARAM_VALUE 2 sel->r.height 0
PARAM_VALUE 2 sel->r.left 0
PARAM_VALUE 2 sel->r.top 0
PARAM_VALUE 2 sel->r.width 0
PARAM_VALUE 2 sel->stream 0
PARAM_VALUE 2 sel->which 1
CONTAINER 0 -40-56-160+0 $(-1)
HALF_LOCKED2 lock
HALF_LOCKED2 req_queue_lock

drivers/media/platform/st/stm32/stm32-dcmi.c dcmi_get_sensor_bounds() -> (struct v4l2_subdev_pad_ops)->get_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 sd_state 0
PARAM_VALUE 2 sel 4911126844662575104
PARAM_VALUE 2 sel->flags 0
PARAM_VALUE 2 sel->pad 0
PARAM_VALUE 2 sel->r.height 0
PARAM_VALUE 2 sel->r.left 0
PARAM_VALUE 2 sel->r.top 0
PARAM_VALUE 2 sel->r.width 0
PARAM_VALUE 2 sel->stream 0
PARAM_VALUE 2 sel->target 2
PARAM_VALUE 2 sel->which 1
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &list_lock
HALF_LOCKED2 &device->clients_lock

drivers/media/platform/st/stm32/stm32-dcmi.c dcmi_get_sensor_bounds() -> (struct v4l2_subdev_pad_ops)->get_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 sd_state 0
PARAM_VALUE 2 sel 4911126844662575104
PARAM_VALUE 2 sel->flags 0
PARAM_VALUE 2 sel->pad 0
PARAM_VALUE 2 sel->r.height 0
PARAM_VALUE 2 sel->r.left 0
PARAM_VALUE 2 sel->r.top 0
PARAM_VALUE 2 sel->r.width 0
PARAM_VALUE 2 sel->stream 0
PARAM_VALUE 2 sel->target 2
PARAM_VALUE 2 sel->which 1
CONTAINER 0 -40-56-160+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &list_lock
HALF_LOCKED2 &device->clients_lock

drivers/media/v4l2-core/v4l2-subdev.c call_get_selection() -> (struct v4l2_subdev_pad_ops)->get_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 sd_state 0,4096-ptr_max
PARAM_VALUE 2 sel 4096-ptr_max
PARAM_VALUE 2 sel->pad 0-65534
PARAM_VALUE 2 sel->stream 0
PARAM_VALUE 2 sel->which 0-1
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
CAPPED_DATA 0 sd->entity.num_pads 1
CAPPED_DATA 2 sel->pad 1
DATA_SOURCE 0 sd $0
DATA_SOURCE 1 sd_state $1
DATA_SOURCE 2 sel $2
CONTAINER 0 -40-56-160+0 $(-1)
PARAM_COMPARE 0 sd->entity.num_pads >= $2->pad
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 subdev_do_ioctl() -> (struct v4l2_subdev_pad_ops)->get_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 sd_state 0,4096-ptr_max
PARAM_VALUE 1 sd_state->lock->dep_map->name 0-255
PARAM_VALUE 1 sd_state->lock->first_waiter 0,4096-ptr_max
PARAM_VALUE 1 sd_state->lock->first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 sd_state->lock->first_waiter->task->blocked_on 0
PARAM_VALUE 1 sd_state->lock->osq.tail.counter 0-s32max
PARAM_VALUE 1 sd_state->lock->wait_lock.dep_map->name 0-255
PARAM_VALUE 1 sd_state->lock->wait_lock.owner (-1)
PARAM_VALUE 1 sd_state->lock->wait_lock.owner_cpu u32max
PARAM_VALUE 2 sel 165138012048265216
PARAM_VALUE 2 sel->target 0
BUF_SIZE 0 sd s32min-(-2),1-s32max
BUF_SIZE 0 sd s32min-(-2),1-s32max
DATA_SOURCE 1 sd_state $3
MEM_ZERO 2 sel
HALF_LOCKED2 lock
HALF_LOCKED2 1 sd_state->lock

drivers/media/v4l2-core/v4l2-subdev.c subdev_do_ioctl() -> (struct v4l2_subdev_pad_ops)->get_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 sd_state 0,4096-ptr_max
PARAM_VALUE 1 sd_state->lock->dep_map->name 0-255
PARAM_VALUE 1 sd_state->lock->first_waiter 0,4096-ptr_max
PARAM_VALUE 1 sd_state->lock->first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 sd_state->lock->first_waiter->task->blocked_on 0
PARAM_VALUE 1 sd_state->lock->osq.tail.counter 0-s32max
PARAM_VALUE 1 sd_state->lock->wait_lock.dep_map->name 0-255
PARAM_VALUE 1 sd_state->lock->wait_lock.owner (-1)
PARAM_VALUE 1 sd_state->lock->wait_lock.owner_cpu u32max
PARAM_VALUE 2 sel 165138012048265216
PARAM_VALUE 2 sel->target 0
BUF_SIZE 0 sd s32min-(-2),1-s32max
BUF_SIZE 0 sd s32min-(-2),1-s32max
DATA_SOURCE 1 sd_state $3
CONTAINER 0 -40-56-160+0 $(-1)
MEM_ZERO 2 sel
HALF_LOCKED2 lock
HALF_LOCKED2 1 sd_state->lock

drivers/staging/media/atomisp/pci/atomisp_v4l2.c atomisp_init_sensor() -> (struct v4l2_subdev_pad_ops)->get_selection()

Type Parameter Key Value
PARAM_VALUE 0 sd 4096-ptr_max
PARAM_VALUE 0 sd->active_state 0,4096-ptr_max
PARAM_VALUE 0 sd->internal_ops 0,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 sd_state 0,4096-ptr_max
PARAM_VALUE 1 sd_state->lock->dep_map->name 0-255
PARAM_VALUE 1 sd_state->lock->first_waiter 0,4096-ptr_max
PARAM_VALUE 1 sd_state->lock->first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 sd_state->lock->first_waiter->task->blocked_on 0
PARAM_VALUE 1 sd_state->lock->osq.tail.counter 0-s32max
PARAM_VALUE 1 sd_state->lock->wait_lock.dep_map->name 0-255
PARAM_VALUE 1 sd_state->lock->wait_lock.owner (-1)
PARAM_VALUE 1 sd_state->lock->wait_lock.owner_cpu u32max
PARAM_VALUE 2 sel 5364775028235665408
PARAM_VALUE 2 sel->flags 0
PARAM_VALUE 2 sel->pad 0
PARAM_VALUE 2 sel->r.height 0
PARAM_VALUE 2 sel->r.left 0
PARAM_VALUE 2 sel->r.top 0
PARAM_VALUE 2 sel->r.width 0
PARAM_VALUE 2 sel->stream 0
PARAM_VALUE 2 sel->target 3
PARAM_VALUE 2 sel->which 1
DATA_SOURCE 1 sd_state r v4l2_subdev_lock_and_get_active_state
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &list_lock
HALF_LOCKED2 &device->clients_lock
HALF_LOCKED2 input->sensor->active_state->lock

drivers/staging/media/atomisp/pci/atomisp_v4l2.c atomisp_init_sensor() -> (struct v4l2_subdev_pad_ops)->get_selection()

Type Parameter Key Value
PARAM_VALUE 0 sd 4096-ptr_max
PARAM_VALUE 0 sd->active_state 0,4096-ptr_max
PARAM_VALUE 0 sd->internal_ops 0,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 sd_state 0,4096-ptr_max
PARAM_VALUE 1 sd_state->lock->dep_map->name 0-255
PARAM_VALUE 1 sd_state->lock->first_waiter 0,4096-ptr_max
PARAM_VALUE 1 sd_state->lock->first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 sd_state->lock->first_waiter->task->blocked_on 0
PARAM_VALUE 1 sd_state->lock->osq.tail.counter 0-s32max
PARAM_VALUE 1 sd_state->lock->wait_lock.dep_map->name 0-255
PARAM_VALUE 1 sd_state->lock->wait_lock.owner (-1)
PARAM_VALUE 1 sd_state->lock->wait_lock.owner_cpu u32max
PARAM_VALUE 2 sel 5364775028235665408
PARAM_VALUE 2 sel->flags 0
PARAM_VALUE 2 sel->pad 0
PARAM_VALUE 2 sel->r.height 0
PARAM_VALUE 2 sel->r.left 0
PARAM_VALUE 2 sel->r.top 0
PARAM_VALUE 2 sel->r.width 0
PARAM_VALUE 2 sel->stream 0
PARAM_VALUE 2 sel->target 3
PARAM_VALUE 2 sel->which 1
DATA_SOURCE 1 sd_state r v4l2_subdev_lock_and_get_active_state
CONTAINER 0 -40-56-160+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &list_lock
HALF_LOCKED2 &device->clients_lock
HALF_LOCKED2 input->sensor->active_state->lock

drivers/staging/media/atomisp/pci/atomisp_v4l2.c atomisp_init_sensor() -> (struct v4l2_subdev_pad_ops)->get_selection()

Type Parameter Key Value
PARAM_VALUE 0 sd 4096-ptr_max
PARAM_VALUE 0 sd->active_state 0,4096-ptr_max
PARAM_VALUE 0 sd->internal_ops 0,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 sd_state 0,4096-ptr_max
PARAM_VALUE 1 sd_state->lock->dep_map->name 0-255
PARAM_VALUE 1 sd_state->lock->first_waiter 0,4096-ptr_max
PARAM_VALUE 1 sd_state->lock->first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 sd_state->lock->first_waiter->task->blocked_on 0
PARAM_VALUE 1 sd_state->lock->osq.tail.counter 0-s32max
PARAM_VALUE 1 sd_state->lock->wait_lock.dep_map->name 0-255
PARAM_VALUE 1 sd_state->lock->wait_lock.owner (-1)
PARAM_VALUE 1 sd_state->lock->wait_lock.owner_cpu u32max
PARAM_VALUE 2 sel 5364775028235665408
PARAM_VALUE 2 sel->flags 0
PARAM_VALUE 2 sel->pad 0
PARAM_VALUE 2 sel->r.height 0
PARAM_VALUE 2 sel->r.left 0
PARAM_VALUE 2 sel->r.top 0
PARAM_VALUE 2 sel->r.width 0
PARAM_VALUE 2 sel->stream 0
PARAM_VALUE 2 sel->target 1
PARAM_VALUE 2 sel->which 1
DATA_SOURCE 1 sd_state r v4l2_subdev_lock_and_get_active_state
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &list_lock
HALF_LOCKED2 &device->clients_lock
HALF_LOCKED2 input->sensor->active_state->lock

drivers/staging/media/atomisp/pci/atomisp_v4l2.c atomisp_init_sensor() -> (struct v4l2_subdev_pad_ops)->get_selection()

Type Parameter Key Value
PARAM_VALUE 0 sd 4096-ptr_max
PARAM_VALUE 0 sd->active_state 0,4096-ptr_max
PARAM_VALUE 0 sd->internal_ops 0,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 sd_state 0,4096-ptr_max
PARAM_VALUE 1 sd_state->lock->dep_map->name 0-255
PARAM_VALUE 1 sd_state->lock->first_waiter 0,4096-ptr_max
PARAM_VALUE 1 sd_state->lock->first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 sd_state->lock->first_waiter->task->blocked_on 0
PARAM_VALUE 1 sd_state->lock->osq.tail.counter 0-s32max
PARAM_VALUE 1 sd_state->lock->wait_lock.dep_map->name 0-255
PARAM_VALUE 1 sd_state->lock->wait_lock.owner (-1)
PARAM_VALUE 1 sd_state->lock->wait_lock.owner_cpu u32max
PARAM_VALUE 2 sel 5364775028235665408
PARAM_VALUE 2 sel->flags 0
PARAM_VALUE 2 sel->pad 0
PARAM_VALUE 2 sel->r.height 0
PARAM_VALUE 2 sel->r.left 0
PARAM_VALUE 2 sel->r.top 0
PARAM_VALUE 2 sel->r.width 0
PARAM_VALUE 2 sel->stream 0
PARAM_VALUE 2 sel->target 1
PARAM_VALUE 2 sel->which 1
DATA_SOURCE 1 sd_state r v4l2_subdev_lock_and_get_active_state
CONTAINER 0 -40-56-160+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &list_lock
HALF_LOCKED2 &device->clients_lock
HALF_LOCKED2 input->sensor->active_state->lock

drivers/staging/media/tegra-video/vi.c __tegra_channel_try_format() -> (struct v4l2_subdev_pad_ops)->get_selection()

Type Parameter Key Value
PARAM_VALUE 0 sd 4096-ptr_max
PARAM_VALUE 0 sd->internal_ops 0,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 sd_state 0
PARAM_VALUE 2 sel 6527631527417393152
PARAM_VALUE 2 sel->flags 0
PARAM_VALUE 2 sel->pad 0
PARAM_VALUE 2 sel->r.height 0
PARAM_VALUE 2 sel->r.left 0
PARAM_VALUE 2 sel->r.top 0
PARAM_VALUE 2 sel->r.width 0
PARAM_VALUE 2 sel->stream 0
PARAM_VALUE 2 sel->target 2
PARAM_VALUE 2 sel->which 1
HALF_LOCKED2 lock
HALF_LOCKED2 req_queue_lock

drivers/staging/media/tegra-video/vi.c __tegra_channel_try_format() -> (struct v4l2_subdev_pad_ops)->get_selection()

Type Parameter Key Value
PARAM_VALUE 0 sd 4096-ptr_max
PARAM_VALUE 0 sd->internal_ops 0,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 sd_state 0
PARAM_VALUE 2 sel 6527631527417393152
PARAM_VALUE 2 sel->flags 0
PARAM_VALUE 2 sel->pad 0
PARAM_VALUE 2 sel->r.height 0
PARAM_VALUE 2 sel->r.left 0
PARAM_VALUE 2 sel->r.top 0
PARAM_VALUE 2 sel->r.width 0
PARAM_VALUE 2 sel->stream 0
PARAM_VALUE 2 sel->target 2
PARAM_VALUE 2 sel->which 1
CONTAINER 0 -40-56-160+0 $(-1)
HALF_LOCKED2 lock
HALF_LOCKED2 req_queue_lock

drivers/staging/media/tegra-video/vi.c tegra_channel_g_selection() -> (struct v4l2_subdev_pad_ops)->get_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 sd_state 0
PARAM_VALUE 2 sel 5858386245485076480
PARAM_VALUE 2 sel->flags 0
PARAM_VALUE 2 sel->pad 0
PARAM_VALUE 2 sel->r.height 0
PARAM_VALUE 2 sel->r.left 0
PARAM_VALUE 2 sel->r.top 0
PARAM_VALUE 2 sel->r.width 0
PARAM_VALUE 2 sel->stream 0
PARAM_VALUE 2 sel->which 1
HALF_LOCKED2 lock
HALF_LOCKED2 req_queue_lock

drivers/staging/media/tegra-video/vi.c tegra_channel_g_selection() -> (struct v4l2_subdev_pad_ops)->get_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 sd_state 0
PARAM_VALUE 2 sel 5858386245485076480
PARAM_VALUE 2 sel->flags 0
PARAM_VALUE 2 sel->pad 0
PARAM_VALUE 2 sel->r.height 0
PARAM_VALUE 2 sel->r.left 0
PARAM_VALUE 2 sel->r.top 0
PARAM_VALUE 2 sel->r.width 0
PARAM_VALUE 2 sel->stream 0
PARAM_VALUE 2 sel->which 1
CONTAINER 0 -40-56-160+0 $(-1)
HALF_LOCKED2 lock
HALF_LOCKED2 req_queue_lock