Documented in 1 files:
Defined in 1 files as a function:
Referenced in 3 files:
- sound/core/compress_offload.c
- sound/soc/qcom/qdsp6/q6apm-dai.c, line 691
- sound/soc/qcom/qdsp6/q6asm-dai.c, line 658
Smatch caller information:
sound/core/compress_offload.c snd_compr_free_pages() -> snd_compr_set_runtime_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | stream | 4096-ptr_max |
| PARAM_VALUE | 0 | stream->runtime | 4096-ptr_max |
| PARAM_VALUE | 0 | stream->runtime->dma_area | 1-u64max |
| PARAM_VALUE | 1 | bufp | 0 |
| BUF_SIZE | 0 | stream->device | (-1),24,32,48,72,104,144,184,200,208,240,256,272,280,344,376,448,520 |
| BUF_SIZE | 0 | stream->runtime | (-1),216 |
| CAPPED_DATA | 0 | stream | 1 |
| CAPPED_DATA | 0 | stream->private_data->num_components | 1 |
| DATA_SOURCE | 0 | stream | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &fe->card->mutex | ||
| HALF_LOCKED2 | _T->lock |
sound/core/compress_offload.c snd_compr_malloc_pages() -> snd_compr_set_runtime_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | stream | 4096-ptr_max |
| PARAM_VALUE | 0 | stream->runtime | 4096-ptr_max |
| PARAM_VALUE | 1 | bufp | 4096-ptr_max |
| PARAM_VALUE | 1 | bufp->addr | 0 |
| PARAM_VALUE | 1 | bufp->area | 1-u64max |
| PARAM_VALUE | 1 | bufp->bytes | 0,4096-u64max |
| BUF_SIZE | 1 | bufp | 56 |
| DATA_SOURCE | 0 | stream | $0 |
| DATA_SOURCE | 1 | bufp | r _kzalloc_noprof |
| NOSPEC | 0 | stream->runtime->buffer_size | |
| NOSPEC | 0 | stream->runtime->dma_bytes | |
| NOSPEC | 1 | bufp->bytes | |
| NOCHECK_CALL | |||
| USER_DATA | 0 | stream->runtime->buffer_size | 0-u32max |
| USER_DATA | 0 | stream->runtime->dma_buffer_p->addr | 9223372036854788096-9223372036855042047[c] |
| USER_DATA | 0 | stream->runtime->dma_buffer_p->bytes | 0,4096-4294967296[c] |
| USER_DATA | 0 | stream->runtime->dma_bytes | 1-u32max[c] |
| USER_DATA | 0 | stream->runtime->fragment_size | 1-u32max |
| USER_DATA | 0 | stream->runtime->fragments | 1-u32max[c] |
| USER_DATA | 1 | bufp->bytes | 0,4096-4294967296[c] |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &fe->card->mutex |
sound/soc/qcom/qdsp6/q6asm-dai.c q6asm_dai_compr_open() -> snd_compr_set_runtime_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | stream | 4096-ptr_max |
| PARAM_VALUE | 0 | stream->runtime | 4096-ptr_max |
| PARAM_VALUE | 1 | bufp | 4096-ptr_max |
| PARAM_VALUE | 1 | bufp->addr | 0 |
| PARAM_VALUE | 1 | bufp->area | 1-u64max |
| PARAM_VALUE | 1 | bufp->bytes | 0,4096-u64max |
| DATA_SOURCE | 0 | stream | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &fe->card->mutex |
sound/soc/qcom/qdsp6/q6apm-dai.c q6apm_dai_compr_open() -> snd_compr_set_runtime_buffer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | stream | 4096-ptr_max |
| PARAM_VALUE | 0 | stream->runtime | 4096-ptr_max |
| PARAM_VALUE | 0 | stream->runtime->dma_bytes | 524288 |
| PARAM_VALUE | 1 | bufp | 4096-ptr_max |
| PARAM_VALUE | 1 | bufp->addr | 0 |
| PARAM_VALUE | 1 | bufp->area | 1-u64max |
| PARAM_VALUE | 1 | bufp->bytes | 0,4096-u64max |
| DATA_SOURCE | 0 | stream | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &fe->card->mutex |