Documented in 1 files:
Defined in 1 files as a function:
Referenced in 40 files:
- drivers/media/platform/amlogic/meson-ge2d/ge2d.c, line 288
- drivers/media/platform/chips-media/coda/coda-bit.c
- drivers/media/platform/chips-media/coda/coda-jpeg.c
- drivers/media/platform/chips-media/wave5/wave5-vpu-enc.c, line 172
- drivers/media/platform/imagination/e5010-jpeg-enc.c, line 1349
- drivers/media/platform/m2m-deinterlace.c, line 222
- drivers/media/platform/mediatek/jpeg/mtk_jpeg_core.c
- drivers/media/platform/mediatek/mdp/mtk_mdp_m2m.c, line 465
- drivers/media/platform/mediatek/mdp3/mtk-mdp3-m2m.c, line 87
- drivers/media/platform/mediatek/vcodec/decoder/mtk_vcodec_dec_stateful.c, line 294
- drivers/media/platform/mediatek/vcodec/decoder/mtk_vcodec_dec_stateless.c, line 276
- drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_av1_req_lat_if.c
- drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_h264_req_multi_if.c
- drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_hevc_req_multi_if.c, line 850
- drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_vp9_req_lat_if.c
- drivers/media/platform/nvidia/tegra-vde/h264.c, line 755
- drivers/media/platform/nxp/dw100/dw100.c, line 1450
- drivers/media/platform/nxp/imx-jpeg/mxc-jpeg.c
- drivers/media/platform/nxp/imx-pxp.c, line 1071
- drivers/media/platform/nxp/imx8-isi/imx8-isi-m2m.c, line 169
- drivers/media/platform/nxp/mx2_emmaprp.c, line 284
- drivers/media/platform/renesas/rcar_jpu.c, line 1350
- drivers/media/platform/rockchip/rga/rga.c, line 53
- drivers/media/platform/rockchip/rkvdec/rkvdec.c
- drivers/media/platform/samsung/exynos-gsc/gsc-m2m.c, line 134
- drivers/media/platform/samsung/exynos4-is/fimc-m2m.c, line 119
- drivers/media/platform/samsung/s5p-g2d/g2d.c, line 508
- drivers/media/platform/samsung/s5p-jpeg/jpeg-core.c
- drivers/media/platform/st/sti/bdisp/bdisp-v4l2.c, line 298
- drivers/media/platform/st/stm32/dma2d/dma2d.c, line 477
- drivers/media/platform/sunxi/sun8i-di/sun8i-di.c, line 71
- drivers/media/platform/sunxi/sun8i-rotate/sun8i_rotate.c, line 70
- drivers/media/platform/verisilicon/hantro.h, line 480
- drivers/media/platform/verisilicon/hantro_drv.c, line 69
- drivers/media/platform/verisilicon/hantro_postproc.c, line 92
- drivers/media/test-drivers/vim2m.c, line 604
- drivers/media/test-drivers/visl/visl-dec.c, line 570
- drivers/media/v4l2-core/v4l2-mem2mem.c
- drivers/staging/media/imx/imx-media-csc-scaler.c, line 125
- drivers/staging/media/sunxi/cedrus/cedrus_dec.c, line 34
Smatch caller information:
drivers/media/platform/samsung/s5p-jpeg/jpeg-core.c exynos3250_jpeg_set_img_addr() -> v4l2_m2m_next_dst_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ctx->jpeg->slock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct s5p_jpeg)->slock |
drivers/media/platform/samsung/s5p-jpeg/jpeg-core.c exynos3250_jpeg_set_jpeg_addr() -> v4l2_m2m_next_dst_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m2m_ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | m2m_ctx->cap_q_ctx.rdy_spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | m2m_ctx->out_q_ctx.rdy_spinlock.rlock.dep_map->name | 0-255 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ctx->jpeg->slock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct s5p_jpeg)->slock |
drivers/media/platform/samsung/s5p-jpeg/jpeg-core.c exynos4_jpeg_set_img_addr() -> v4l2_m2m_next_dst_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &jpeg->slock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct s5p_jpeg)->slock |
drivers/media/platform/samsung/s5p-jpeg/jpeg-core.c exynos4_jpeg_set_jpeg_addr() -> v4l2_m2m_next_dst_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m2m_ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | m2m_ctx->cap_q_ctx.rdy_spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | m2m_ctx->out_q_ctx.rdy_spinlock.rlock.dep_map->name | 0-255 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &jpeg->slock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct s5p_jpeg)->slock |
drivers/media/platform/samsung/s5p-jpeg/jpeg-core.c s5p_jpeg_device_run() -> v4l2_m2m_next_dst_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m2m_ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | m2m_ctx->out_q_ctx.rdy_spinlock.rlock.dep_map->name | 0-255 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ctx->jpeg->slock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct s5p_jpeg)->slock |
drivers/media/platform/verisilicon/rockchip_vpu981_hw_av1_dec.c hantro_get_dst_buf() -> v4l2_m2m_next_dst_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m2m_ctx | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/media/platform/verisilicon/hantro_g1_h264_dec.c hantro_get_dst_buf() -> v4l2_m2m_next_dst_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m2m_ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | m2m_ctx->cap_q_ctx.rdy_spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | m2m_ctx->out_q_ctx.rdy_spinlock.rlock.dep_map->name | 0-255 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
drivers/media/platform/mediatek/vcodec/decoder/mtk_vcodec_dec_stateless.c vdec_get_cap_buffer() -> v4l2_m2m_next_dst_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/media/platform/renesas/rcar_jpu.c jpu_device_run() -> v4l2_m2m_next_dst_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m2m_ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | m2m_ctx->out_q_ctx.rdy_spinlock.rlock.dep_map->name | 0-255 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ctx->jpu->lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct jpu)->lock |
drivers/media/platform/mediatek/jpeg/mtk_jpeg_core.c mtk_jpeg_dec_device_run() -> v4l2_m2m_next_dst_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m2m_ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | m2m_ctx->out_q_ctx.rdy_spinlock.rlock.dep_map->name | 0-255 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/media/platform/mediatek/jpeg/mtk_jpeg_core.c mtk_jpeg_enc_device_run() -> v4l2_m2m_next_dst_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m2m_ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | m2m_ctx->out_q_ctx.rdy_spinlock.rlock.dep_map->name | 0-255 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/media/platform/mediatek/jpeg/mtk_jpeg_core.c mtk_jpegdec_worker() -> v4l2_m2m_next_dst_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m2m_ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | m2m_ctx->out_q_ctx.rdy_spinlock.rlock.dep_map->name | 0-255 |
| PARAM_COMPARE | 0 | &m2m_ctx->out_q_ctx.rdy_queue | != $0->out_q_ctx.rdy_queue.next |
| HALF_LOCKED2 | &pool->lock |
drivers/media/platform/mediatek/jpeg/mtk_jpeg_core.c mtk_jpegenc_worker() -> v4l2_m2m_next_dst_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m2m_ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | m2m_ctx->out_q_ctx.rdy_spinlock.rlock.dep_map->name | 0-255 |
| PARAM_COMPARE | 0 | &m2m_ctx->out_q_ctx.rdy_queue | != $0->out_q_ctx.rdy_queue.next |
| HALF_LOCKED2 | &pool->lock |
drivers/media/platform/chips-media/wave5/wave5-vpu-enc.c start_encode() -> v4l2_m2m_next_dst_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/media/platform/m2m-deinterlace.c deinterlace_issue_dma() -> v4l2_m2m_next_dst_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m2m_ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | m2m_ctx->out_q_ctx.rdy_spinlock.rlock.dep_map->name | 0-255 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/media/platform/chips-media/coda/coda-jpeg.c coda9_jpeg_prepare_decode() -> v4l2_m2m_next_dst_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m2m_ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | m2m_ctx->out_q_ctx.rdy_spinlock.rlock.dep_map->name | 0-255 |
| LOCK2 | &ctx->buffer_mutex | ||
| LOCK2 | &dev->coda_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct coda_ctx)->buffer_mutex | ||
| TYPE_LOCK | (struct coda_dev)->coda_mutex |
drivers/media/platform/chips-media/coda/coda-jpeg.c coda9_jpeg_prepare_encode() -> v4l2_m2m_next_dst_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m2m_ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | m2m_ctx->out_q_ctx.rdy_spinlock.rlock.dep_map->name | 0-255 |
| LOCK2 | &ctx->buffer_mutex | ||
| LOCK2 | &dev->coda_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct coda_ctx)->buffer_mutex | ||
| TYPE_LOCK | (struct coda_dev)->coda_mutex |
drivers/media/platform/verisilicon/hantro_g2_hevc_dec.c hantro_get_dst_buf() -> v4l2_m2m_next_dst_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m2m_ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | m2m_ctx->cap_q_ctx.rdy_spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | m2m_ctx->out_q_ctx.rdy_spinlock.rlock.dep_map->name | 0-255 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
drivers/media/platform/nxp/mx2_emmaprp.c emmaprp_device_run() -> v4l2_m2m_next_dst_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m2m_ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | m2m_ctx->out_q_ctx.rdy_spinlock.rlock.dep_map->name | 0-255 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/media/platform/st/sti/bdisp/bdisp-v4l2.c bdisp_get_bufs() -> v4l2_m2m_next_dst_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m2m_ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | m2m_ctx->out_q_ctx.rdy_spinlock.rlock.dep_map->name | 0-255 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &bdisp->slock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct bdisp_dev)->slock |
drivers/media/platform/nvidia/tegra-vde/h264.c tegra_vde_h264_setup_frames() -> v4l2_m2m_next_dst_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m2m_ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | m2m_ctx->out_q_ctx.rdy_spinlock.rlock.dep_map->name | 0-255 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
drivers/media/test-drivers/vim2m.c device_run() -> v4l2_m2m_next_dst_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m2m_ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | m2m_ctx->out_q_ctx.rdy_spinlock.rlock.dep_map->name | 0-255 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/media/platform/verisilicon/rockchip_vpu2_hw_h264_dec.c hantro_get_dst_buf() -> v4l2_m2m_next_dst_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m2m_ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | m2m_ctx->cap_q_ctx.rdy_spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | m2m_ctx->out_q_ctx.rdy_spinlock.rlock.dep_map->name | 0-255 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
drivers/media/platform/verisilicon/hantro_postproc.c hantro_get_dst_buf() -> v4l2_m2m_next_dst_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m2m_ctx | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/media/platform/verisilicon/hantro_postproc.c hantro_postproc_g1_enable() -> v4l2_m2m_next_dst_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m2m_ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | m2m_ctx->out_q_ctx.rdy_spinlock.rlock.dep_map->name | 0-255 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
drivers/media/platform/chips-media/coda/coda-bit.c coda_finish_encode() -> v4l2_m2m_next_dst_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m2m_ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | m2m_ctx->cap_q_ctx.rdy_spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | m2m_ctx->out_q_ctx.rdy_spinlock.rlock.dep_map->name | 0-255 |
| LOCK2 | &ctx->buffer_mutex | ||
| LOCK2 | &ctx->wakeup_mutex | ||
| LOCK2 | &dev->coda_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct coda_ctx)->buffer_mutex | ||
| TYPE_LOCK | (struct coda_ctx)->wakeup_mutex | ||
| TYPE_LOCK | (struct coda_dev)->coda_mutex |
drivers/media/platform/chips-media/coda/coda-bit.c coda_prepare_decode() -> v4l2_m2m_next_dst_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| LOCK2 | &ctx->buffer_mutex | ||
| LOCK2 | &dev->coda_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct coda_ctx)->buffer_mutex | ||
| TYPE_LOCK | (struct coda_dev)->coda_mutex |
drivers/media/platform/chips-media/coda/coda-bit.c coda_prepare_encode() -> v4l2_m2m_next_dst_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m2m_ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | m2m_ctx->out_q_ctx.rdy_spinlock.rlock.dep_map->name | 0-255 |
| LOCK2 | &ctx->buffer_mutex | ||
| LOCK2 | &dev->coda_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct coda_ctx)->buffer_mutex | ||
| TYPE_LOCK | (struct coda_dev)->coda_mutex |
drivers/media/platform/chips-media/coda/coda-bit.c coda_start_encoding() -> v4l2_m2m_next_dst_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dmxdev->mutex | ||
| HALF_LOCKED2 | q->lock |
drivers/media/platform/chips-media/coda/coda-bit.c coda_start_encoding() -> v4l2_m2m_next_dst_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m2m_ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | m2m_ctx->cap_q_ctx.rdy_spinlock.rlock.dep_map->name | 0-255 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &dev->coda_mutex | ||
| HALF_LOCKED2 | &dmxdev->mutex | ||
| HALF_LOCKED2 | q->lock | ||
| TYPE_LOCK | (struct coda_dev)->coda_mutex |
drivers/media/platform/mediatek/mdp/mtk_mdp_m2m.c mtk_mdp_m2m_get_bufs() -> v4l2_m2m_next_dst_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m2m_ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | m2m_ctx->out_q_ctx.rdy_spinlock.rlock.dep_map->name | 0-255 |
| HALF_LOCKED2 | &pool->lock |
drivers/media/platform/samsung/s5p-g2d/g2d.c device_run() -> v4l2_m2m_next_dst_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m2m_ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | m2m_ctx->out_q_ctx.rdy_spinlock.rlock.dep_map->name | 0-255 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/media/v4l2-core/v4l2-mem2mem.c __v4l2_m2m_try_queue() -> v4l2_m2m_next_dst_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m2m_ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | m2m_ctx->out_q_ctx.q.streaming | 1 |
| PARAM_VALUE | 0 | m2m_ctx->out_q_ctx.rdy_spinlock.rlock.dep_map->name | 0-255 |
| BUF_SIZE | 0 | m2m_ctx->last_src_buf | (-1),1168 |
| CAPPED_DATA | 0 | m2m_ctx | 1 |
| DATA_SOURCE | 0 | m2m_ctx | $1 |
| BIT_INFO | 0 | m2m_ctx->job_flags | 0x0,0xfffffffffffffffa |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &m2m_dev->job_spinlock | ||
| LOCK2 | flags_job | ||
| TYPE_LOCK | (struct v4l2_m2m_dev)->job_spinlock |
drivers/media/v4l2-core/v4l2-mem2mem.c __v4l2_m2m_try_queue() -> v4l2_m2m_next_dst_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m2m_ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | m2m_ctx->cap_q_ctx.rdy_spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | m2m_ctx->new_frame | 1 |
| PARAM_VALUE | 0 | m2m_ctx->out_q_ctx.q.streaming | 1 |
| PARAM_VALUE | 0 | m2m_ctx->out_q_ctx.rdy_spinlock.rlock.dep_map->name | 0-255 |
| BUF_SIZE | 0 | m2m_ctx->last_src_buf | (-1),1168 |
| CAPPED_DATA | 0 | m2m_ctx | 1 |
| DATA_SOURCE | 0 | m2m_ctx | $1 |
| PARAM_COMPARE | 0 | &m2m_ctx->cap_q_ctx.rdy_queue | != $0->cap_q_ctx.rdy_queue.next |
| PARAM_COMPARE | 0 | &m2m_ctx->out_q_ctx.rdy_queue | != $0->out_q_ctx.rdy_queue.next |
| BIT_INFO | 0 | m2m_ctx->job_flags | 0x0,0xfffffffffffffffa |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &m2m_dev->job_spinlock | ||
| LOCK2 | flags_job | ||
| TYPE_LOCK | (struct v4l2_m2m_dev)->job_spinlock |
drivers/media/v4l2-core/v4l2-mem2mem.c v4l2_m2m_buf_done_and_job_finish() -> v4l2_m2m_next_dst_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m2m_ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | m2m_ctx->out_q_ctx.rdy_spinlock.rlock.dep_map->name | 0-255 |
| DATA_SOURCE | 0 | m2m_ctx | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &m2m_dev->job_spinlock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct v4l2_m2m_dev)->job_spinlock |
drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_h264_req_multi_if.c vdec_h264_slice_core_decode() -> v4l2_m2m_next_dst_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m2m_ctx->cap_q_ctx.rdy_spinlock.rlock.dep_map->name | 0-255 |
| PARAM_COMPARE | 0 | &m2m_ctx->cap_q_ctx.rdy_queue | != $0->cap_q_ctx.rdy_queue.next |
| HALF_LOCKED2 | &pool->lock |
drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_h264_req_multi_if.c vdec_h264_slice_setup_core_buffer_ext() -> v4l2_m2m_next_dst_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m2m_ctx->cap_q_ctx.rdy_spinlock.rlock.dep_map->name | 0-255 |
| PARAM_COMPARE | 0 | &m2m_ctx->cap_q_ctx.rdy_queue | != $0->cap_q_ctx.rdy_queue.next |
| HALF_LOCKED2 | &pool->lock |
drivers/media/platform/verisilicon/hantro_drv.c hantro_get_dst_buf() -> v4l2_m2m_next_dst_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m2m_ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | m2m_ctx->out_q_ctx.rdy_spinlock.rlock.dep_map->name | 0-255 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/media/platform/verisilicon/hantro_drv.c hantro_job_finish_no_pm() -> v4l2_m2m_next_dst_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m2m_ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | m2m_ctx->out_q_ctx.rdy_spinlock.rlock.dep_map->name | 0-255 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_av1_req_lat_if.c vdec_av1_slice_setup_core_buffer() -> v4l2_m2m_next_dst_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m2m_ctx | 4096-ptr_max |
| HALF_LOCKED2 | &pool->lock |
drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_av1_req_lat_if.c vdec_av1_slice_setup_core_to_dst_buf() -> v4l2_m2m_next_dst_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| HALF_LOCKED2 | &pool->lock |
drivers/media/platform/verisilicon/hantro_h264.c hantro_get_dst_buf() -> v4l2_m2m_next_dst_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m2m_ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | m2m_ctx->cap_q_ctx.rdy_spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | m2m_ctx->out_q_ctx.rdy_spinlock.rlock.dep_map->name | 0-255 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
drivers/media/platform/imagination/e5010-jpeg-enc.c e5010_device_run() -> v4l2_m2m_next_dst_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m2m_ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | m2m_ctx->out_q_ctx.rdy_spinlock.rlock.dep_map->name | 0-255 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &e5010->hw_lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct e5010_dev)->hw_lock |
drivers/staging/media/sunxi/cedrus/cedrus_dec.c cedrus_device_run() -> v4l2_m2m_next_dst_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m2m_ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | m2m_ctx->out_q_ctx.rdy_spinlock.rlock.dep_map->name | 0-255 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/media/platform/nxp/imx-jpeg/mxc-jpeg.c mxc_jpeg_dec_irq() -> v4l2_m2m_next_dst_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &jpeg->hw_lock | ||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct mxc_jpeg_dev)->hw_lock |
drivers/media/platform/nxp/imx-jpeg/mxc-jpeg.c mxc_jpeg_device_run() -> v4l2_m2m_next_dst_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m2m_ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | m2m_ctx->out_q_ctx.rdy_spinlock.rlock.dep_map->name | 0-255 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ctx->mxc_jpeg->hw_lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct mxc_jpeg_dev)->hw_lock |
drivers/media/platform/nxp/imx-jpeg/mxc-jpeg.c mxc_jpeg_job_finish() -> v4l2_m2m_next_dst_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ctx->mxc_jpeg->hw_lock | ||
| HALF_LOCKED2 | &jpeg->hw_lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct mxc_jpeg_dev)->hw_lock |
drivers/media/platform/verisilicon/hantro_g1_mpeg2_dec.c hantro_get_dst_buf() -> v4l2_m2m_next_dst_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m2m_ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | m2m_ctx->cap_q_ctx.rdy_spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | m2m_ctx->out_q_ctx.rdy_spinlock.rlock.dep_map->name | 0-255 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
drivers/media/platform/sunxi/sun8i-rotate/sun8i_rotate.c rotate_device_run() -> v4l2_m2m_next_dst_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m2m_ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | m2m_ctx->out_q_ctx.rdy_spinlock.rlock.dep_map->name | 0-255 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/media/test-drivers/visl/visl-dec.c visl_device_run() -> v4l2_m2m_next_dst_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m2m_ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | m2m_ctx->out_q_ctx.rdy_spinlock.rlock.dep_map->name | 0-255 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/media/platform/verisilicon/hantro_h1_jpeg_enc.c hantro_get_dst_buf() -> v4l2_m2m_next_dst_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/media/platform/rockchip/rkvdec/rkvdec.c rkvdec_job_finish_no_pm() -> v4l2_m2m_next_dst_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m2m_ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | m2m_ctx->out_q_ctx.rdy_spinlock.rlock.dep_map->name | 0-255 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/media/platform/rockchip/rkvdec/rkvdec.c rkvdec_run_preamble() -> v4l2_m2m_next_dst_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m2m_ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | m2m_ctx->out_q_ctx.rdy_spinlock.rlock.dep_map->name | 0-255 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
drivers/media/platform/verisilicon/rockchip_vpu2_hw_vp8_dec.c hantro_get_dst_buf() -> v4l2_m2m_next_dst_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m2m_ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | m2m_ctx->cap_q_ctx.rdy_spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | m2m_ctx->out_q_ctx.rdy_spinlock.rlock.dep_map->name | 0-255 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
drivers/media/platform/verisilicon/rockchip_vpu2_hw_jpeg_enc.c hantro_get_dst_buf() -> v4l2_m2m_next_dst_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/media/platform/mediatek/vcodec/decoder/mtk_vcodec_dec_stateful.c mtk_vdec_worker() -> v4l2_m2m_next_dst_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m2m_ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | m2m_ctx->out_q_ctx.rdy_spinlock.rlock.dep_map->name | 0-255 |
| PARAM_COMPARE | 0 | &m2m_ctx->out_q_ctx.rdy_queue | != $0->out_q_ctx.rdy_queue.next |
| HALF_LOCKED2 | &pool->lock |
drivers/media/platform/samsung/exynos4-is/fimc-m2m.c fimc_device_run() -> v4l2_m2m_next_dst_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m2m_ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | m2m_ctx->out_q_ctx.rdy_spinlock.rlock.dep_map->name | 0-255 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &fimc->slock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct fimc_dev)->slock |
drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_hevc_req_multi_if.c vdec_hevc_slice_setup_core_buffer() -> v4l2_m2m_next_dst_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m2m_ctx->cap_q_ctx.rdy_spinlock.rlock.dep_map->name | 0-255 |
| PARAM_COMPARE | 0 | &m2m_ctx->cap_q_ctx.rdy_queue | != $0->cap_q_ctx.rdy_queue.next |
| HALF_LOCKED2 | &pool->lock |
drivers/media/platform/nxp/dw100/dw100.c dw100_device_run() -> v4l2_m2m_next_dst_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m2m_ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | m2m_ctx->out_q_ctx.rdy_spinlock.rlock.dep_map->name | 0-255 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/media/platform/nxp/imx-pxp.c pxp_device_run() -> v4l2_m2m_next_dst_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m2m_ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | m2m_ctx->out_q_ctx.rdy_spinlock.rlock.dep_map->name | 0-255 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/media/platform/verisilicon/hantro_g1_vp8_dec.c hantro_get_dst_buf() -> v4l2_m2m_next_dst_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m2m_ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | m2m_ctx->cap_q_ctx.rdy_spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | m2m_ctx->out_q_ctx.rdy_spinlock.rlock.dep_map->name | 0-255 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_vp9_req_lat_if.c vdec_vp9_slice_setup_core_buffer() -> v4l2_m2m_next_dst_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m2m_ctx | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_vp9_req_lat_if.c vdec_vp9_slice_setup_core_to_dst_buf() -> v4l2_m2m_next_dst_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| HALF_LOCKED2 | &pool->lock |
drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_vp9_req_lat_if.c vdec_vp9_slice_setup_single_from_src_to_dst() -> v4l2_m2m_next_dst_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m2m_ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | m2m_ctx->out_q_ctx.rdy_spinlock.rlock.dep_map->name | 0-255 |
| PARAM_COMPARE | 0 | &m2m_ctx->out_q_ctx.rdy_queue | != $0->out_q_ctx.rdy_queue.next |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
drivers/media/platform/rockchip/rga/rga.c device_run() -> v4l2_m2m_next_dst_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m2m_ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | m2m_ctx->out_q_ctx.rdy_spinlock.rlock.dep_map->name | 0-255 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/media/platform/verisilicon/hantro_g2_vp9_dec.c hantro_get_dst_buf() -> v4l2_m2m_next_dst_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m2m_ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | m2m_ctx->cap_q_ctx.rdy_spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | m2m_ctx->out_q_ctx.rdy_spinlock.rlock.dep_map->name | 0-255 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
drivers/media/platform/samsung/exynos-gsc/gsc-m2m.c gsc_get_bufs() -> v4l2_m2m_next_dst_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m2m_ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | m2m_ctx->out_q_ctx.rdy_spinlock.rlock.dep_map->name | 0-255 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &gsc->slock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct gsc_dev)->slock |
drivers/media/platform/amlogic/meson-ge2d/ge2d.c device_run() -> v4l2_m2m_next_dst_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m2m_ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | m2m_ctx->out_q_ctx.rdy_spinlock.rlock.dep_map->name | 0-255 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/staging/media/imx/imx-media-csc-scaler.c device_run() -> v4l2_m2m_next_dst_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m2m_ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | m2m_ctx->out_q_ctx.rdy_spinlock.rlock.dep_map->name | 0-255 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/media/platform/mediatek/mdp3/mtk-mdp3-m2m.c mdp_m2m_device_run() -> v4l2_m2m_next_dst_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m2m_ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | m2m_ctx->out_q_ctx.rdy_spinlock.rlock.dep_map->name | 0-255 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/media/platform/verisilicon/rockchip_vpu2_hw_mpeg2_dec.c hantro_get_dst_buf() -> v4l2_m2m_next_dst_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m2m_ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | m2m_ctx->cap_q_ctx.rdy_spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | m2m_ctx->out_q_ctx.rdy_spinlock.rlock.dep_map->name | 0-255 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
drivers/media/platform/st/stm32/dma2d/dma2d.c device_run() -> v4l2_m2m_next_dst_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m2m_ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | m2m_ctx->out_q_ctx.rdy_spinlock.rlock.dep_map->name | 0-255 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &dev->ctrl_lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct dma2d_dev)->ctrl_lock |
drivers/media/platform/nxp/imx8-isi/imx8-isi-m2m.c mxc_isi_m2m_device_run() -> v4l2_m2m_next_dst_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m2m_ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | m2m_ctx->out_q_ctx.rdy_spinlock.rlock.dep_map->name | 0-255 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/media/platform/sunxi/sun8i-di/sun8i-di.c deinterlace_device_run() -> v4l2_m2m_next_dst_buf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m2m_ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | m2m_ctx->out_q_ctx.rdy_spinlock.rlock.dep_map->name | 0-255 |
| RX_PATH | |||
| TASK_NOT_RUNNING |