Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/media/platform/renesas/rcar_jpu.c jpu_buf_queue() -> __jpu_try_fmt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->encoder | 0 |
| PARAM_VALUE | 1 | fmtinfo | 6807815985565532160 |
| PARAM_VALUE | 2 | pix | 6807815985565532168 |
| PARAM_VALUE | 2 | pix->height | 0-u16max |
| PARAM_VALUE | 2 | pix->width | 0-u16max |
| PARAM_VALUE | 3 | type | 10 |
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ctx | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dmxdev->mutex | ||
| HALF_LOCKED2 | vb->vb2_queue->lock |
drivers/media/platform/renesas/rcar_jpu.c jpu_open() -> __jpu_try_fmt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->fh.available.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->fh.available.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->fh.available.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->fh.available.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->fh.available.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->fh.ctrl_handler | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->fh.list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->fh.list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->fh.list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->fh.prio | 1-3 |
| PARAM_VALUE | 0 | ctx->fh.sequence | u32max |
| PARAM_VALUE | 0 | ctx->fh.subscribe_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctx->fh.subscribe_lock.first_waiter | 0 |
| PARAM_VALUE | 0 | ctx->fh.subscribe_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->fh.subscribe_lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | ctx->fh.subscribe_lock.owner.counter | 0 |
| PARAM_VALUE | 0 | ctx->fh.subscribed.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->fh.subscribed.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->fh.subscribed.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->fh.subscribed.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->fh.subscribed.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->fh.vdev | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->fh.vdev->fh_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->fh.vdev->fh_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->fh.vdev->fh_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->fh.vdev->fh_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctx->fh.wait.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->fh.wait.head.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->fh.wait.head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->fh.wait.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->fh.wait.head.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | fmtinfo | 4096-ptr_max |
| PARAM_VALUE | 2 | pix | 4096-ptr_max |
| PARAM_VALUE | 3 | type | 10 |
| BUF_SIZE | 0 | ctx | 1088 |
| BUF_SIZE | 0 | ctx->fh.ctrl_handler | 328 |
| BUF_SIZE | 0 | ctx->jpu | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | ctx | r _kzalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/media/platform/renesas/rcar_jpu.c jpu_open() -> __jpu_try_fmt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->fh.available.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->fh.available.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->fh.available.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->fh.available.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->fh.available.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->fh.ctrl_handler | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->fh.list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->fh.list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->fh.list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->fh.prio | 1-3 |
| PARAM_VALUE | 0 | ctx->fh.sequence | u32max |
| PARAM_VALUE | 0 | ctx->fh.subscribe_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctx->fh.subscribe_lock.first_waiter | 0 |
| PARAM_VALUE | 0 | ctx->fh.subscribe_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->fh.subscribe_lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | ctx->fh.subscribe_lock.owner.counter | 0 |
| PARAM_VALUE | 0 | ctx->fh.subscribed.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->fh.subscribed.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->fh.subscribed.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->fh.subscribed.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->fh.subscribed.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->fh.vdev | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->fh.vdev->fh_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->fh.vdev->fh_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->fh.vdev->fh_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->fh.vdev->fh_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctx->fh.wait.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->fh.wait.head.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->fh.wait.head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->fh.wait.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->fh.wait.head.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->out_q.fmtinfo | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->out_q.fmtinfo->colorspace | 7-8 |
| PARAM_VALUE | 0 | ctx->out_q.fmtinfo->fourcc | 842091854,842094158,909200718,909203022,1195724874 |
| PARAM_VALUE | 0 | ctx->out_q.fmtinfo->h_align | 0,2 |
| PARAM_VALUE | 0 | ctx->out_q.fmtinfo->num_planes | 1-2 |
| PARAM_VALUE | 0 | ctx->out_q.fmtinfo->subsampling | 0,33-34 |
| PARAM_VALUE | 0 | ctx->out_q.fmtinfo->types | 6,9 |
| PARAM_VALUE | 0 | ctx->out_q.fmtinfo->v_align | 0,2 |
| PARAM_VALUE | 0 | ctx->out_q.format.colorspace | 7-8 |
| PARAM_VALUE | 0 | ctx->out_q.format.field | 1 |
| PARAM_VALUE | 0 | ctx->out_q.format.num_planes | 1-2 |
| PARAM_VALUE | 0 | ctx->out_q.format.pixelformat | 842091854,842094158,909200718,909203022,1195724874 |
| PARAM_VALUE | 1 | fmtinfo | 4096-ptr_max |
| PARAM_VALUE | 2 | pix | 4096-ptr_max |
| PARAM_VALUE | 3 | type | 9 |
| BUF_SIZE | 0 | ctx | 1088 |
| BUF_SIZE | 0 | ctx->fh.ctrl_handler | 328 |
| BUF_SIZE | 0 | ctx->jpu | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | ctx | r _kzalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/media/platform/renesas/rcar_jpu.c jpu_s_fmt() -> __jpu_try_fmt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | fmtinfo | 2307894314182746112 |
| DATA_SOURCE | 0 | ctx | r file_to_ctx |
| USER_DATA | 2 | pix->colorspace | 0-u32max[u] |
| USER_DATA | 2 | pix->field | 0-u32max[u] |
| USER_DATA | 2 | pix->flags | 0-255[u] |
| USER_DATA | 2 | pix->height | 0-u32max[u] |
| USER_DATA | 2 | pix->hsv_enc | 0-255[u] |
| USER_DATA | 2 | pix->num_planes | 0-255[u] |
| USER_DATA | 2 | pix->pixelformat | 0-u32max[u] |
| USER_DATA | 2 | pix->quantization | 0-255[u] |
| USER_DATA | 2 | pix->width | 0-u32max[u] |
| USER_DATA | 2 | pix->xfer_func | 0-255[u] |
| USER_DATA | 2 | pix->ycbcr_enc | 0-255[u] |
| USER_DATA | 3 | type | 0-u32max[u] |
| HALF_LOCKED2 | lock | ||
| HALF_LOCKED2 | req_queue_lock |
drivers/media/platform/renesas/rcar_jpu.c jpu_streamon() -> __jpu_try_fmt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | fmtinfo | 0 |
| PARAM_VALUE | 2 | pix | 1905668031863463944 |
| PARAM_VALUE | 3 | type | 9-10 |
| DATA_SOURCE | 0 | ctx | r file_to_ctx |
| FUZZY_MAX | 3 | type | 10 |
| BIT_INFO | 3 | type | 0x8,0xb |
| HARD_MAX | 3 | type | 10 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | lock | ||
| HALF_LOCKED2 | req_queue_lock |
drivers/media/platform/renesas/rcar_jpu.c jpu_try_fmt() -> __jpu_try_fmt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | fmtinfo | 0 |
| DATA_SOURCE | 0 | ctx | r file_to_ctx |
| USER_DATA | 2 | pix->colorspace | 0-u32max[u] |
| USER_DATA | 2 | pix->field | 0-u32max[u] |
| USER_DATA | 2 | pix->flags | 0-255[u] |
| USER_DATA | 2 | pix->height | 0-u32max[u] |
| USER_DATA | 2 | pix->hsv_enc | 0-255[u] |
| USER_DATA | 2 | pix->num_planes | 0-255[u] |
| USER_DATA | 2 | pix->pixelformat | 0-u32max[u] |
| USER_DATA | 2 | pix->quantization | 0-255[u] |
| USER_DATA | 2 | pix->width | 0-u32max[u] |
| USER_DATA | 2 | pix->xfer_func | 0-255[u] |
| USER_DATA | 2 | pix->ycbcr_enc | 0-255[u] |
| USER_DATA | 3 | type | 0-u32max[u] |
| HALF_LOCKED2 | lock | ||
| HALF_LOCKED2 | req_queue_lock |