Defined in 1 files as a prototype:
Defined in 2 files as a macro:
- arch/alpha/boot/misc.c, line 61 (as a macro)
- arch/nios2/boot/compressed/misc.c, line 52 (as a macro)
Defined in 2 files as a function:
- drivers/media/platform/renesas/rcar_jpu.c, line 571 (as a function)
- drivers/media/platform/samsung/s5p-jpeg/jpeg-core.c, line 1042 (as a function)
Referenced in 3 files:
- drivers/media/platform/renesas/rcar_jpu.c
- drivers/media/platform/samsung/s5p-jpeg/jpeg-core.c
- lib/inflate.c
Smatch caller information:
drivers/media/platform/samsung/s5p-jpeg/jpeg-core.c exynos4_jpeg_parse_decode_h_tbl() -> get_byte()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 716100460498710528 |
| PARAM_VALUE | 0 | buf->curr | 0 |
| PARAM_VALUE | 0 | buf->size | 0-65533 |
| 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_parse_decode_h_tbl() -> get_byte()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 716100460498710528 |
| PARAM_VALUE | 0 | buf->curr | 0-u32max |
| PARAM_VALUE | 0 | buf->size | 1-65533 |
| 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_parse_decode_h_tbl() -> get_byte()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 716100460498710528 |
| PARAM_VALUE | 0 | buf->curr | 0-u32max |
| PARAM_VALUE | 0 | buf->size | 1-65533 |
| 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_parse_decode_q_tbl() -> get_byte()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 2964296454217113600 |
| PARAM_VALUE | 0 | buf->curr | 0-u32max |
| PARAM_VALUE | 0 | buf->size | 0-u32max |
| 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_parse_decode_q_tbl() -> get_byte()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 2964296454217113600 |
| PARAM_VALUE | 0 | buf->curr | 0-u32max |
| PARAM_VALUE | 0 | buf->size | 1-u32max |
| 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_parse_decode_q_tbl() -> get_byte()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 2964296454217113600 |
| PARAM_VALUE | 0 | buf->curr | 0-u32max |
| PARAM_VALUE | 0 | buf->size | 1-u32max |
| 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_parse_huff_tbl() -> get_byte()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 1090197997555290112 |
| PARAM_VALUE | 0 | buf->curr | 0-4294967294 |
| PARAM_VALUE | 0 | buf->size | 1-u32max |
| 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_parse_huff_tbl() -> get_byte()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 1090197997555290112 |
| PARAM_VALUE | 0 | buf->curr | 0-u32max |
| PARAM_VALUE | 0 | buf->size | 1-u32max |
| 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_parse_huff_tbl() -> get_byte()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 1090197997555290112 |
| PARAM_VALUE | 0 | buf->curr | 0-u32max |
| PARAM_VALUE | 0 | buf->size | 1-u32max |
| 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_parse_q_tbl() -> get_byte()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 8808295651173175296 |
| PARAM_VALUE | 0 | buf->curr | 0-u32max |
| PARAM_VALUE | 0 | buf->size | 0-u32max |
| 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_parse_q_tbl() -> get_byte()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 8808295651173175296 |
| PARAM_VALUE | 0 | buf->curr | 0-u32max |
| PARAM_VALUE | 0 | buf->size | 1-u32max |
| 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 get_word_be() -> get_byte()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 716100460498710528,8338701790893510656 |
| PARAM_VALUE | 0 | buf->curr | 0-u32max |
| PARAM_VALUE | 0 | buf->size | 1-u32max |
| DATA_SOURCE | 0 | buf | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &jpeg->slock | ||
| HALF_LOCKED2 | flags |
drivers/media/platform/samsung/s5p-jpeg/jpeg-core.c get_word_be() -> get_byte()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 716100460498710528,8338701790893510656 |
| PARAM_VALUE | 0 | buf->curr | 0-u32max |
| PARAM_VALUE | 0 | buf->size | 1-u32max |
| CAPPED_DATA | 0 | buf->size | 1 |
| DATA_SOURCE | 0 | buf | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &jpeg->slock | ||
| HALF_LOCKED2 | flags |
drivers/media/platform/samsung/s5p-jpeg/jpeg-core.c s5p_jpeg_parse_hdr() -> get_byte()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 8338701790893510656 |
| PARAM_VALUE | 0 | buf->curr | 0-u32max |
| PARAM_VALUE | 0 | buf->size | 0-u32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dmxdev->mutex | ||
| HALF_LOCKED2 | vb->vb2_queue->lock |
drivers/media/platform/samsung/s5p-jpeg/jpeg-core.c s5p_jpeg_parse_hdr() -> get_byte()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 8338701790893510656 |
| PARAM_VALUE | 0 | buf->curr | 0-u32max |
| PARAM_VALUE | 0 | buf->size | 1-u32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dmxdev->mutex | ||
| HALF_LOCKED2 | vb->vb2_queue->lock |
drivers/media/platform/samsung/s5p-jpeg/jpeg-core.c s5p_jpeg_parse_hdr() -> get_byte()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 8338701790893510656 |
| PARAM_VALUE | 0 | buf->curr | 0-u32max |
| PARAM_VALUE | 0 | buf->size | 1-u32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dmxdev->mutex | ||
| HALF_LOCKED2 | vb->vb2_queue->lock |
drivers/media/platform/samsung/s5p-jpeg/jpeg-core.c s5p_jpeg_parse_hdr() -> get_byte()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 8338701790893510656 |
| PARAM_VALUE | 0 | buf->curr | 0-u32max |
| PARAM_VALUE | 0 | buf->size | 1-u32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dmxdev->mutex | ||
| HALF_LOCKED2 | vb->vb2_queue->lock |
drivers/media/platform/samsung/s5p-jpeg/jpeg-core.c s5p_jpeg_parse_hdr() -> get_byte()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 8338701790893510656 |
| PARAM_VALUE | 0 | buf->curr | 0-u32max |
| PARAM_VALUE | 0 | buf->size | 1-u32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dmxdev->mutex | ||
| HALF_LOCKED2 | vb->vb2_queue->lock |
drivers/media/platform/samsung/s5p-jpeg/jpeg-core.c skip() -> get_byte()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 2964296454217113600,8338701790893510656 |
| PARAM_VALUE | 0 | buf->curr | 0-u32max |
| PARAM_VALUE | 0 | buf->size | 0-u32max |
| CAPPED_DATA | 0 | buf->size | 1 |
| DATA_SOURCE | 0 | buf | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &jpeg->slock | ||
| HALF_LOCKED2 | flags |
drivers/media/platform/renesas/rcar_jpu.c jpu_parse_hdr() -> get_byte()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 3177478587851866112 |
| PARAM_VALUE | 0 | buf->end | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dmxdev->mutex | ||
| HALF_LOCKED2 | vb->vb2_queue->lock |
drivers/media/platform/renesas/rcar_jpu.c jpu_parse_hdr() -> get_byte()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 3177478587851866112 |
| PARAM_VALUE | 0 | buf->curr | 4096-ptr_max |
| PARAM_VALUE | 0 | buf->end | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dmxdev->mutex | ||
| HALF_LOCKED2 | vb->vb2_queue->lock |
drivers/media/platform/renesas/rcar_jpu.c jpu_parse_hdr() -> get_byte()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 3177478587851866112 |
| PARAM_VALUE | 0 | buf->end | 4097-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dmxdev->mutex | ||
| HALF_LOCKED2 | vb->vb2_queue->lock |