Documented in 1 files:

Defined in 1 files as a function:

Referenced in 7 files:

Smatch caller information:

drivers/media/test-drivers/vivid/vivid-vid-out.c vivid_s_fmt_vid_out() -> v4l2_rect_map_inside()

Type Parameter Key Value
PARAM_VALUE 0 r 4096-ptr_max
PARAM_VALUE 1 boundary 5591634254025428992
PARAM_VALUE 1 boundary->left 0
PARAM_VALUE 1 boundary->top 0
BUF_SIZE 0 r 16
NOCHECK_CALL
USER_DATA 1 boundary->height 0-u32max[u]
USER_DATA 1 boundary->width 0-u32max[u]
HALF_LOCKED2 lock
HALF_LOCKED2 req_queue_lock

drivers/media/test-drivers/vivid/vivid-vid-out.c vivid_s_fmt_vid_out() -> v4l2_rect_map_inside()

Type Parameter Key Value
PARAM_VALUE 0 r 4096-ptr_max
PARAM_VALUE 1 boundary 4096-ptr_max
BUF_SIZE 0 r 16
NOCHECK_CALL
HALF_LOCKED2 lock
HALF_LOCKED2 req_queue_lock

drivers/media/test-drivers/vivid/vivid-vid-out.c vivid_s_fmt_vid_out() -> v4l2_rect_map_inside()

Type Parameter Key Value
PARAM_VALUE 0 r 4096-ptr_max
PARAM_VALUE 0 r->width 0-1073741823
PARAM_VALUE 1 boundary 4096-ptr_max
BUF_SIZE 0 r 16
NOCHECK_CALL
HALF_LOCKED2 lock
HALF_LOCKED2 req_queue_lock

drivers/media/test-drivers/vivid/vivid-vid-out.c vivid_s_fmt_vid_out() -> v4l2_rect_map_inside()

Type Parameter Key Value
PARAM_VALUE 0 r 4096-ptr_max
PARAM_VALUE 1 boundary 4096-ptr_max
BUF_SIZE 0 r 16
NOCHECK_CALL
USER_DATA 0 r->height 0-u32max[u]
USER_DATA 0 r->width 0-u32max[u]
HALF_LOCKED2 lock
HALF_LOCKED2 req_queue_lock

drivers/media/test-drivers/vivid/vivid-vid-out.c vivid_s_fmt_vid_out() -> v4l2_rect_map_inside()

Type Parameter Key Value
PARAM_VALUE 0 r 4096-ptr_max
PARAM_VALUE 1 boundary 5591634254025428992
PARAM_VALUE 1 boundary->left 0
PARAM_VALUE 1 boundary->top 0
BUF_SIZE 0 r 16
NOCHECK_CALL
USER_DATA 1 boundary->height 0-u32max[u]
USER_DATA 1 boundary->width 0-u32max[u]
HALF_LOCKED2 lock
HALF_LOCKED2 req_queue_lock

drivers/media/test-drivers/vivid/vivid-vid-out.c vivid_s_fmt_vid_out() -> v4l2_rect_map_inside()

Type Parameter Key Value
PARAM_VALUE 0 r 4096-ptr_max
PARAM_VALUE 0 r->height 0-4294967294
PARAM_VALUE 0 r->width 0-4294967294
PARAM_VALUE 1 boundary 4096-ptr_max
BUF_SIZE 0 r 16
NOCHECK_CALL
USER_DATA 0 r->height 0-s32max[c]
USER_DATA 0 r->width 0-s32max[c]
HALF_LOCKED2 lock
HALF_LOCKED2 req_queue_lock

drivers/media/test-drivers/vivid/vivid-vid-out.c vivid_s_fmt_vid_out() -> v4l2_rect_map_inside()

Type Parameter Key Value
PARAM_VALUE 0 r 4096-ptr_max
PARAM_VALUE 0 r->height 0-4294967294
PARAM_VALUE 0 r->width 0-4294967294
PARAM_VALUE 1 boundary 5591634254025428992
PARAM_VALUE 1 boundary->left 0
PARAM_VALUE 1 boundary->top 0
BUF_SIZE 0 r 16
NOCHECK_CALL
USER_DATA 1 boundary->height 0-u32max[u]
USER_DATA 1 boundary->width 0-u32max[u]
HALF_LOCKED2 lock
HALF_LOCKED2 req_queue_lock

drivers/media/test-drivers/vivid/vivid-vid-out.c vivid_vid_out_s_selection() -> v4l2_rect_map_inside()

Type Parameter Key Value
PARAM_VALUE 0 r 4096-ptr_max
PARAM_VALUE 0 r->height 0-1080
PARAM_VALUE 0 r->width 0-1024
PARAM_VALUE 1 boundary 4096-ptr_max
BUF_SIZE 0 r 16
NOCHECK_CALL
USER_DATA 0 r->height 1-1080[c]
USER_DATA 0 r->width 1-1024[c]
HALF_LOCKED2 lock
HALF_LOCKED2 req_queue_lock

drivers/media/test-drivers/vivid/vivid-vid-out.c vivid_vid_out_s_selection() -> v4l2_rect_map_inside()

Type Parameter Key Value
PARAM_VALUE 0 r 4096-ptr_max
PARAM_VALUE 0 r->height 0-4320
PARAM_VALUE 0 r->width 0-4096
PARAM_VALUE 1 boundary 4096-ptr_max
BUF_SIZE 0 r 16
NOCHECK_CALL
USER_DATA 0 r->height 2-4320[c]
USER_DATA 0 r->width 2-4096[c]
HALF_LOCKED2 lock
HALF_LOCKED2 req_queue_lock

drivers/media/test-drivers/vivid/vivid-vid-out.c vivid_vid_out_s_selection() -> v4l2_rect_map_inside()

Type Parameter Key Value
PARAM_VALUE 0 r 4096-ptr_max
PARAM_VALUE 0 r->left 0-65534
PARAM_VALUE 0 r->top 0-131068
PARAM_VALUE 1 boundary 4096-ptr_max
NOCHECK_CALL
USER_DATA 0 r->height 1-4320[c]
USER_DATA 0 r->left 0-65534[c]
USER_DATA 0 r->top 0-131068[c]
USER_DATA 0 r->width 2-4096[c]
HALF_LOCKED2 lock
HALF_LOCKED2 req_queue_lock

drivers/media/test-drivers/vivid/vivid-vid-out.c vivid_vid_out_s_selection() -> v4l2_rect_map_inside()

Type Parameter Key Value
PARAM_VALUE 0 r 4096-ptr_max
PARAM_VALUE 0 r->height 0-2160
PARAM_VALUE 0 r->left 0-65534
PARAM_VALUE 0 r->top 0-65534
PARAM_VALUE 0 r->width 0-4096
PARAM_VALUE 1 boundary 4096-ptr_max
NOCHECK_CALL
USER_DATA 0 r->height 2-2160[c]
USER_DATA 0 r->left 0-65534[c]
USER_DATA 0 r->top 0-65534[c]
USER_DATA 0 r->width 2-4096[c]
HALF_LOCKED2 lock
HALF_LOCKED2 req_queue_lock

drivers/media/test-drivers/vivid/vivid-vid-out.c vivid_vid_out_s_selection() -> v4l2_rect_map_inside()

Type Parameter Key Value
PARAM_VALUE 0 r 4096-ptr_max
PARAM_VALUE 0 r->height 0-4294967294
PARAM_VALUE 0 r->width 0-4294967294
PARAM_VALUE 1 boundary 4096-ptr_max
PARAM_VALUE 1 boundary->height 0-4294967294
PARAM_VALUE 1 boundary->width 0-4294967294
BUF_SIZE 0 r 16
NOCHECK_CALL
HALF_LOCKED2 lock
HALF_LOCKED2 req_queue_lock

drivers/media/test-drivers/vivid/vivid-vid-out.c vivid_vid_out_s_selection() -> v4l2_rect_map_inside()

Type Parameter Key Value
PARAM_VALUE 0 r 4096-ptr_max
PARAM_VALUE 0 r->height 0-4294967294
PARAM_VALUE 0 r->width 0-4294967294
PARAM_VALUE 1 boundary 4096-ptr_max
PARAM_VALUE 1 boundary->height 0-4294967294
PARAM_VALUE 1 boundary->width 0-4294967294
BUF_SIZE 0 r 16
NOCHECK_CALL
HALF_LOCKED2 lock
HALF_LOCKED2 req_queue_lock

drivers/media/platform/renesas/rcar-vin/rcar-v4l2.c rvin_s_selection() -> v4l2_rect_map_inside()

Type Parameter Key Value
PARAM_VALUE 0 r 3760276857702883328
PARAM_VALUE 0 r->height 2-u32max
PARAM_VALUE 0 r->width 6-u32max
PARAM_VALUE 1 boundary 7129918464189911040
PARAM_VALUE 1 boundary->height 0
PARAM_VALUE 1 boundary->left 0
PARAM_VALUE 1 boundary->top 0
PARAM_VALUE 1 boundary->width 0
NOCHECK_CALL
USER_DATA 0 r->height 2-u32max[u]
USER_DATA 0 r->left s32min-s32max[u]
USER_DATA 0 r->top s32min-s32max[u]
USER_DATA 0 r->width 6-u32max[u]
HALF_LOCKED2 lock
HALF_LOCKED2 req_queue_lock

drivers/media/platform/renesas/rcar-vin/rcar-v4l2.c rvin_s_selection() -> v4l2_rect_map_inside()

Type Parameter Key Value
PARAM_VALUE 0 r 3760276857702883328
PARAM_VALUE 0 r->height 2-u32max
PARAM_VALUE 0 r->width 6-u32max
PARAM_VALUE 1 boundary 7129918464189911040
PARAM_VALUE 1 boundary->left 0
PARAM_VALUE 1 boundary->top 0
NOCHECK_CALL
USER_DATA 0 r->height 2-u32max[u]
USER_DATA 0 r->left s32min-s32max[u]
USER_DATA 0 r->top s32min-s32max[u]
USER_DATA 0 r->width 6-u32max[u]
HALF_LOCKED2 lock
HALF_LOCKED2 req_queue_lock

drivers/media/platform/rockchip/rkisp1/rkisp1-common.c rkisp1_sd_adjust_crop_rect() -> v4l2_rect_map_inside()

Type Parameter Key Value
PARAM_VALUE 0 r 4096-ptr_max
PARAM_VALUE 0 r->height 32-u32max
PARAM_VALUE 0 r->width 32-u32max
PARAM_VALUE 1 boundary 0,4096-ptr_max
BUF_SIZE 0 r (-1),16
BUF_SIZE 0 r (-1),16
BUF_SIZE 1 boundary (-1),16
BUF_SIZE 1 boundary (-1),16
DATA_SOURCE 0 r $0
DATA_SOURCE 1 boundary $1
BIT_INFO 0 r->left 0x0,0xfffffffe
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 sd_state->lock

drivers/media/test-drivers/vimc/vimc-scaler.c vimc_scaler_adjust_sink_crop() -> v4l2_rect_map_inside()

Type Parameter Key Value
PARAM_VALUE 0 r 4096-ptr_max
PARAM_VALUE 0 r->height 16-u32max
PARAM_VALUE 0 r->width 16-u32max
PARAM_VALUE 1 boundary 7806806292657758208
DATA_SOURCE 0 r $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &video->mutex
HALF_LOCKED2 global &list_lock

drivers/media/platform/st/stm32/stm32-dcmi.c dcmi_s_selection() -> v4l2_rect_map_inside()

Type Parameter Key Value
PARAM_VALUE 0 r 7720623344022618112
PARAM_VALUE 1 boundary 7394840080309813248
PARAM_VALUE 1 boundary->left 0
PARAM_VALUE 1 boundary->top 0
NOCHECK_CALL
USER_DATA 0 r->height 0-u32max[u]
USER_DATA 0 r->left s32min-s32max[u]
USER_DATA 0 r->top s32min-s32max[u]
USER_DATA 0 r->width 0-u32max[u]
HALF_LOCKED2 lock
HALF_LOCKED2 req_queue_lock

drivers/media/platform/st/stm32/stm32-dcmi.c dcmi_try_fmt() -> v4l2_rect_map_inside()

Type Parameter Key Value
PARAM_VALUE 0 r 6896792040264675328
PARAM_VALUE 1 boundary 4899090080499470336
PARAM_VALUE 1 boundary->left 0
PARAM_VALUE 1 boundary->top 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 1 boundary->height 17-2591[u]
USER_DATA 1 boundary->width 17-2591[u]
HALF_LOCKED2 global &list_lock

drivers/media/test-drivers/vivid/vivid-vid-cap.c vivid_s_fmt_vid_cap() -> v4l2_rect_map_inside()

Type Parameter Key Value
PARAM_VALUE 0 r 4096-ptr_max
PARAM_VALUE 1 boundary 8134497053079224320
PARAM_VALUE 1 boundary->left 0
PARAM_VALUE 1 boundary->top 0
BUF_SIZE 0 r 16
NOCHECK_CALL
USER_DATA 1 boundary->height 0-u32max[u]
USER_DATA 1 boundary->width 0-u32max[u]
HALF_LOCKED2 lock
HALF_LOCKED2 req_queue_lock

drivers/media/test-drivers/vivid/vivid-vid-cap.c vivid_s_fmt_vid_cap() -> v4l2_rect_map_inside()

Type Parameter Key Value
PARAM_VALUE 0 r 4096-ptr_max
PARAM_VALUE 1 boundary 4096-ptr_max
BUF_SIZE 0 r 16
NOCHECK_CALL
HALF_LOCKED2 lock
HALF_LOCKED2 req_queue_lock

drivers/media/test-drivers/vivid/vivid-vid-cap.c vivid_s_fmt_vid_cap() -> v4l2_rect_map_inside()

Type Parameter Key Value
PARAM_VALUE 0 r 4096-ptr_max
PARAM_VALUE 0 r->width 0-1073741823
PARAM_VALUE 1 boundary 4096-ptr_max
BUF_SIZE 0 r 16
NOCHECK_CALL
HALF_LOCKED2 lock
HALF_LOCKED2 req_queue_lock

drivers/media/test-drivers/vivid/vivid-vid-cap.c vivid_s_fmt_vid_cap() -> v4l2_rect_map_inside()

Type Parameter Key Value
PARAM_VALUE 0 r 4096-ptr_max
PARAM_VALUE 1 boundary 4096-ptr_max
BUF_SIZE 0 r 16
NOCHECK_CALL
USER_DATA 0 r->height 0-u32max[u]
USER_DATA 0 r->width 0-u32max[u]
HALF_LOCKED2 lock
HALF_LOCKED2 req_queue_lock

drivers/media/test-drivers/vivid/vivid-vid-cap.c vivid_s_fmt_vid_cap() -> v4l2_rect_map_inside()

Type Parameter Key Value
PARAM_VALUE 0 r 4096-ptr_max
PARAM_VALUE 1 boundary 8134497053079224320
PARAM_VALUE 1 boundary->left 0
PARAM_VALUE 1 boundary->top 0
BUF_SIZE 0 r 16
NOCHECK_CALL
USER_DATA 1 boundary->height 0-u32max[u]
USER_DATA 1 boundary->width 0-u32max[u]
HALF_LOCKED2 lock
HALF_LOCKED2 req_queue_lock

drivers/media/test-drivers/vivid/vivid-vid-cap.c vivid_s_fmt_vid_cap() -> v4l2_rect_map_inside()

Type Parameter Key Value
PARAM_VALUE 0 r 4096-ptr_max
PARAM_VALUE 0 r->height 0-4294967294
PARAM_VALUE 0 r->width 0-4294967294
PARAM_VALUE 1 boundary 4096-ptr_max
BUF_SIZE 0 r 16
NOCHECK_CALL
USER_DATA 0 r->height 0-s32max[c]
USER_DATA 0 r->width 0-s32max[c]
HALF_LOCKED2 lock
HALF_LOCKED2 req_queue_lock

drivers/media/test-drivers/vivid/vivid-vid-cap.c vivid_s_fmt_vid_cap() -> v4l2_rect_map_inside()

Type Parameter Key Value
PARAM_VALUE 0 r 4096-ptr_max
PARAM_VALUE 0 r->height 0-4294967294
PARAM_VALUE 0 r->width 0-4294967294
PARAM_VALUE 1 boundary 8134497053079224320
PARAM_VALUE 1 boundary->left 0
PARAM_VALUE 1 boundary->top 0
BUF_SIZE 0 r 16
NOCHECK_CALL
USER_DATA 1 boundary->height 0-u32max[u]
USER_DATA 1 boundary->width 0-u32max[u]
HALF_LOCKED2 lock
HALF_LOCKED2 req_queue_lock

drivers/media/test-drivers/vivid/vivid-vid-cap.c vivid_vid_cap_s_selection() -> v4l2_rect_map_inside()

Type Parameter Key Value
PARAM_VALUE 0 r 4096-ptr_max
PARAM_VALUE 0 r->height 0-2160
PARAM_VALUE 0 r->left 0-65534
PARAM_VALUE 0 r->top 0-65534
PARAM_VALUE 0 r->width 0-4096
PARAM_VALUE 1 boundary 4096-ptr_max
NOCHECK_CALL
USER_DATA 0 r->height 2-2160[c]
USER_DATA 0 r->left 0-65534[c]
USER_DATA 0 r->top 0-65534[c]
USER_DATA 0 r->width 2-4096[c]
HALF_LOCKED2 lock
HALF_LOCKED2 req_queue_lock

drivers/media/test-drivers/vivid/vivid-vid-cap.c vivid_vid_cap_s_selection() -> v4l2_rect_map_inside()

Type Parameter Key Value
PARAM_VALUE 0 r 4096-ptr_max
PARAM_VALUE 1 boundary 6533912702519803904
PARAM_VALUE 1 boundary->height 0-4294967294
PARAM_VALUE 1 boundary->width 0-4294967294
BUF_SIZE 0 r 16
NOCHECK_CALL
HALF_LOCKED2 lock
HALF_LOCKED2 req_queue_lock

drivers/media/test-drivers/vivid/vivid-vid-cap.c vivid_vid_cap_s_selection() -> v4l2_rect_map_inside()

Type Parameter Key Value
PARAM_VALUE 0 r 4096-ptr_max
PARAM_VALUE 0 r->height 0-4294967294
PARAM_VALUE 0 r->width 0-4294967294
PARAM_VALUE 1 boundary 4096-ptr_max
PARAM_VALUE 1 boundary->height 0-4294967294
PARAM_VALUE 1 boundary->width 0-4294967294
BUF_SIZE 0 r 16
NOCHECK_CALL
HALF_LOCKED2 lock
HALF_LOCKED2 req_queue_lock

drivers/media/test-drivers/vivid/vivid-vid-cap.c vivid_vid_cap_s_selection() -> v4l2_rect_map_inside()

Type Parameter Key Value
PARAM_VALUE 0 r 4096-ptr_max
PARAM_VALUE 0 r->height 0-4294967294
PARAM_VALUE 0 r->width 0-4294967294
PARAM_VALUE 1 boundary 4096-ptr_max
PARAM_VALUE 1 boundary->height 0-4294967294
PARAM_VALUE 1 boundary->width 0-4294967294
BUF_SIZE 0 r 16
NOCHECK_CALL
HALF_LOCKED2 lock
HALF_LOCKED2 req_queue_lock

drivers/media/test-drivers/vivid/vivid-vid-cap.c vivid_vid_cap_s_selection() -> v4l2_rect_map_inside()

Type Parameter Key Value
PARAM_VALUE 0 r 4096-ptr_max
PARAM_VALUE 0 r->height 0-1080
PARAM_VALUE 0 r->width 0-1024
PARAM_VALUE 1 boundary 4096-ptr_max
BUF_SIZE 0 r 16
NOCHECK_CALL
USER_DATA 0 r->height 1-1080[c]
USER_DATA 0 r->width 1-1024[c]
HALF_LOCKED2 lock
HALF_LOCKED2 req_queue_lock

drivers/media/test-drivers/vivid/vivid-vid-cap.c vivid_vid_cap_s_selection() -> v4l2_rect_map_inside()

Type Parameter Key Value
PARAM_VALUE 0 r 4096-ptr_max
PARAM_VALUE 0 r->height 0-4320
PARAM_VALUE 0 r->width 0-4096
PARAM_VALUE 1 boundary 4096-ptr_max
BUF_SIZE 0 r 16
NOCHECK_CALL
USER_DATA 0 r->height 2-4320[c]
USER_DATA 0 r->width 2-4096[c]
HALF_LOCKED2 lock
HALF_LOCKED2 req_queue_lock

drivers/media/test-drivers/vivid/vivid-vid-cap.c vivid_vid_cap_s_selection() -> v4l2_rect_map_inside()

Type Parameter Key Value
PARAM_VALUE 0 r 4096-ptr_max
PARAM_VALUE 0 r->left 0-65534
PARAM_VALUE 0 r->top 0-131068
PARAM_VALUE 1 boundary 4096-ptr_max
NOCHECK_CALL
USER_DATA 0 r->height 1-4320[c]
USER_DATA 0 r->left 0-65534[c]
USER_DATA 0 r->top 0-131068[c]
USER_DATA 0 r->width 2-4096[c]
HALF_LOCKED2 lock
HALF_LOCKED2 req_queue_lock

drivers/media/platform/st/stm32/stm32-dcmipp/dcmipp-byteproc.c dcmipp_byteproc_adjust_crop() -> v4l2_rect_map_inside()

Type Parameter Key Value
PARAM_VALUE 0 r 4096-ptr_max
PARAM_VALUE 0 r->height 16-u32max
PARAM_VALUE 0 r->width 16-u32max
PARAM_VALUE 1 boundary 0,4096-ptr_max
BUF_SIZE 1 boundary (-1),16
BUF_SIZE 1 boundary (-1),16
DATA_SOURCE 0 r $0
DATA_SOURCE 1 boundary $1
RX_PATH
NOCHECK_CALL
HALF_LOCKED2 &video->mutex
HALF_LOCKED2 lock