Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
sound/core/pcm_native.c snd_pcm_do_drain_init() -> (struct snd_pcm_ops)->trigger()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->dma_buffer.dev.dev->cma_area->available_count | 0-s64max |
| PARAM_VALUE | 0 | substream->dma_buffer.dev.dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | substream->dma_buffer.dev.dev->dma_io_tlb_mem->for_alloc | 0-1 |
| PARAM_VALUE | 0 | substream->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->pstr->stream | 0-1 |
| PARAM_VALUE | 0 | substream->runtime | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime->fasync->on | s32min-s32max |
| PARAM_VALUE | 0 | substream->runtime->hw.info | 1073741824-u32max |
| PARAM_VALUE | 0 | substream->runtime->trigger_master | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd | 6 |
| BUF_SIZE | 0 | substream | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | substream | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | substream | 1 |
| DATA_SOURCE | 0 | substream | $0 |
| CONTAINER | 0 | -48-184+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | substream->f_flags | 0-u32max |
| USER_DATA | 0 | substream->runtime->no_period_wakeup | 0-1 |
| USER_DATA | 0 | substream->runtime->rate_den | 0-u32max |
| USER_DATA | 0 | substream->runtime->rate_num | 0-u32max |
| USER_DATA | 0 | substream->runtime->trigger_master->f_flags | 0-u32max |
| USER_DATA | 0 | *substream->runtime->oss.buffer | 0-255 |
| NO_OVERFLOW_SIMPLE | 0 | substream->runtime->dma_buffer_p->addr | |
| USER_PTR | 0 | substream->runtime->oss.buffer | |
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | 0 | &substream->runtime->buffer_mutex | |
| HALF_LOCKED2 | 0 | &substream->self_group.lock | |
| HALF_LOCKED2 | 0 | &substream->self_group.mutex |
sound/core/pcm_native.c snd_pcm_do_pause() -> (struct snd_pcm_ops)->trigger()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->dma_buffer.dev.dev->cma_area->available_count | 0-s64max |
| PARAM_VALUE | 0 | substream->dma_buffer.dev.dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | substream->dma_buffer.dev.dev->dma_io_tlb_mem->for_alloc | 0-1 |
| PARAM_VALUE | 0 | substream->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->pstr->stream | 0-1 |
| PARAM_VALUE | 0 | substream->runtime | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime->fasync->on | s32min-s32max |
| PARAM_VALUE | 0 | substream->runtime->trigger_master | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd | 2-3 |
| BUF_SIZE | 0 | substream | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | substream | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | substream | 1 |
| CAPPED_DATA | 0 | substream->runtime->trigger_master | 1 |
| DATA_SOURCE | 0 | substream | $0 |
| FUZZY_MAX | 1 | cmd | 3 |
| CONTAINER | 0 | -48-184+0 | $(-1) |
| PARAM_COMPARE | 0 | substream | == $0->runtime->trigger_master |
| PARAM_COMPARE | 0 | substream | == $0->runtime->trigger_master |
| BIT_INFO | 1 | cmd | 0x2,0x3 |
| HARD_MAX | 1 | cmd | 3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | substream->f_flags | 0-u32max |
| USER_DATA | 0 | substream->runtime->no_period_wakeup | 0-1 |
| USER_DATA | 0 | substream->runtime->rate_den | 0-u32max |
| USER_DATA | 0 | substream->runtime->rate_num | 0-u32max |
| USER_DATA | 0 | substream->runtime->trigger_master->f_flags | 0-u32max |
| USER_DATA | 0 | *substream->runtime->oss.buffer | 0-255 |
| NO_OVERFLOW_SIMPLE | 0 | substream->runtime->dma_buffer_p->addr | |
| USER_PTR | 0 | substream->runtime->oss.buffer | |
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | 0 | &substream->runtime->buffer_mutex | |
| HALF_LOCKED2 | 0 | &substream->self_group.lock | |
| HALF_LOCKED2 | 0 | &substream->self_group.mutex |
sound/core/pcm_native.c snd_pcm_do_resume() -> (struct snd_pcm_ops)->trigger()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->dma_buffer.dev.dev->cma_area->available_count | 0-s64max |
| PARAM_VALUE | 0 | substream->dma_buffer.dev.dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | substream->dma_buffer.dev.dev->dma_io_tlb_mem->for_alloc | 0-1 |
| PARAM_VALUE | 0 | substream->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->pstr->stream | 0-1 |
| PARAM_VALUE | 0 | substream->runtime | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime->fasync->on | s32min-s32max |
| PARAM_VALUE | 0 | substream->runtime->suspended_state | 3,5 |
| PARAM_VALUE | 0 | substream->runtime->trigger_master | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd | 5 |
| BUF_SIZE | 0 | substream | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | substream | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | substream | 1 |
| DATA_SOURCE | 0 | substream | $0 |
| CONTAINER | 0 | -48-184+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | substream->f_flags | 0-u32max |
| USER_DATA | 0 | substream->runtime->no_period_wakeup | 0-1 |
| USER_DATA | 0 | substream->runtime->rate_den | 0-u32max |
| USER_DATA | 0 | substream->runtime->rate_num | 0-u32max |
| USER_DATA | 0 | substream->runtime->trigger_master->f_flags | 0-u32max |
| USER_DATA | 0 | *substream->runtime->oss.buffer | 0-255 |
| NO_OVERFLOW_SIMPLE | 0 | substream->runtime->dma_buffer_p->addr | |
| USER_PTR | 0 | substream->runtime->oss.buffer | |
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | 0 | &substream->runtime->buffer_mutex | |
| HALF_LOCKED2 | 0 | &substream->self_group.lock | |
| HALF_LOCKED2 | 0 | &substream->self_group.mutex |
sound/core/pcm_native.c snd_pcm_do_start() -> (struct snd_pcm_ops)->trigger()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->dma_buffer.dev.dev->cma_area->available_count | 0-s64max |
| PARAM_VALUE | 0 | substream->dma_buffer.dev.dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | substream->dma_buffer.dev.dev->dma_io_tlb_mem->for_alloc | 0-1 |
| PARAM_VALUE | 0 | substream->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->pstr->stream | 0-1 |
| PARAM_VALUE | 0 | substream->runtime | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime->fasync->on | s32min-s32max |
| PARAM_VALUE | 0 | substream->runtime->trigger_master | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd | 1 |
| BUF_SIZE | 0 | substream | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | substream | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | substream | 1 |
| CAPPED_DATA | 0 | substream->runtime->trigger_master | 1 |
| DATA_SOURCE | 0 | substream | $0 |
| CONTAINER | 0 | -48-184+0 | $(-1) |
| PARAM_COMPARE | 0 | substream | == $0->runtime->trigger_master |
| PARAM_COMPARE | 0 | substream | == $0->runtime->trigger_master |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | substream->f_flags | 0-u32max |
| USER_DATA | 0 | substream->runtime->no_period_wakeup | 0-1 |
| USER_DATA | 0 | substream->runtime->rate_den | 0-u32max |
| USER_DATA | 0 | substream->runtime->rate_num | 0-u32max |
| USER_DATA | 0 | substream->runtime->trigger_master->f_flags | 0-u32max |
| USER_DATA | 0 | *substream->runtime->oss.buffer | 0-255 |
| NO_OVERFLOW_SIMPLE | 0 | substream->runtime->dma_buffer_p->addr | |
| USER_PTR | 0 | substream->runtime->oss.buffer | |
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | 0 | &substream->runtime->buffer_mutex | |
| HALF_LOCKED2 | 0 | &substream->self_group.lock | |
| HALF_LOCKED2 | 0 | &substream->self_group.mutex |
sound/core/pcm_native.c snd_pcm_do_stop() -> (struct snd_pcm_ops)->trigger()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->dma_buffer.dev.dev->cma_area->available_count | 0-s64max |
| PARAM_VALUE | 0 | substream->dma_buffer.dev.dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | substream->dma_buffer.dev.dev->dma_io_tlb_mem->for_alloc | 0-1 |
| PARAM_VALUE | 0 | substream->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->pstr->stream | 0-1 |
| PARAM_VALUE | 0 | substream->runtime | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime->fasync->on | s32min-s32max |
| PARAM_VALUE | 0 | substream->runtime->state | 3,5 |
| PARAM_VALUE | 0 | substream->runtime->trigger_master | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->stream | 0 |
| PARAM_VALUE | 1 | cmd | 0 |
| BUF_SIZE | 0 | substream | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | substream | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | substream | 1 |
| CAPPED_DATA | 0 | substream->runtime->trigger_master | 1 |
| DATA_SOURCE | 0 | substream | $0 |
| CONTAINER | 0 | -48-184+0 | $(-1) |
| PARAM_COMPARE | 0 | substream | == $0->runtime->trigger_master |
| PARAM_COMPARE | 0 | substream | == $0->runtime->trigger_master |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | substream->f_flags | 0-u32max |
| USER_DATA | 0 | substream->runtime->no_period_wakeup | 0-1 |
| USER_DATA | 0 | substream->runtime->rate_den | 0-u32max |
| USER_DATA | 0 | substream->runtime->rate_num | 0-u32max |
| USER_DATA | 0 | substream->runtime->trigger_master->f_flags | 0-u32max |
| USER_DATA | 0 | *substream->runtime->oss.buffer | 0-255 |
| NO_OVERFLOW_SIMPLE | 0 | substream->runtime->dma_buffer_p->addr | |
| USER_PTR | 0 | substream->runtime->oss.buffer | |
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | 0 | &substream->runtime->buffer_mutex | |
| HALF_LOCKED2 | 0 | &substream->self_group.lock | |
| HALF_LOCKED2 | 0 | &substream->self_group.mutex |
sound/core/pcm_native.c snd_pcm_do_suspend() -> (struct snd_pcm_ops)->trigger()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->dma_buffer.dev.dev->cma_area->available_count | 0-s64max |
| PARAM_VALUE | 0 | substream->dma_buffer.dev.dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | substream->dma_buffer.dev.dev->dma_io_tlb_mem->for_alloc | 0-1 |
| PARAM_VALUE | 0 | substream->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->pstr->stream | 0-1 |
| PARAM_VALUE | 0 | substream->runtime | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime->fasync->on | s32min-s32max |
| PARAM_VALUE | 0 | substream->runtime->state | 3,5 |
| PARAM_VALUE | 0 | substream->runtime->trigger_master | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->stream | 0 |
| PARAM_VALUE | 1 | cmd | 4 |
| BUF_SIZE | 0 | substream | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | substream | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | substream | 1 |
| DATA_SOURCE | 0 | substream | $0 |
| CONTAINER | 0 | -48-184+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | substream->f_flags | 0-u32max |
| USER_DATA | 0 | substream->runtime->no_period_wakeup | 0-1 |
| USER_DATA | 0 | substream->runtime->rate_den | 0-u32max |
| USER_DATA | 0 | substream->runtime->rate_num | 0-u32max |
| USER_DATA | 0 | substream->runtime->trigger_master->f_flags | 0-u32max |
| USER_DATA | 0 | *substream->runtime->oss.buffer | 0-255 |
| NO_OVERFLOW_SIMPLE | 0 | substream->runtime->dma_buffer_p->addr | |
| USER_PTR | 0 | substream->runtime->oss.buffer | |
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | 0 | &substream->runtime->buffer_mutex | |
| HALF_LOCKED2 | 0 | &substream->self_group.lock | |
| HALF_LOCKED2 | 0 | &substream->self_group.mutex |
sound/core/pcm_native.c snd_pcm_undo_pause() -> (struct snd_pcm_ops)->trigger()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->dma_buffer.dev.dev->cma_area->available_count | 0-s64max |
| PARAM_VALUE | 0 | substream->dma_buffer.dev.dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | substream->dma_buffer.dev.dev->dma_io_tlb_mem->for_alloc | 0-1 |
| PARAM_VALUE | 0 | substream->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->pstr->stream | 0-1 |
| PARAM_VALUE | 0 | substream->runtime | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime->fasync->on | s32min-s32max |
| PARAM_VALUE | 0 | substream->runtime->trigger_master | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd | 2-3 |
| BUF_SIZE | 0 | substream | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | substream | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | substream | 1 |
| CAPPED_DATA | 0 | substream->runtime->trigger_master | 1 |
| DATA_SOURCE | 0 | substream | $0 |
| FUZZY_MAX | 1 | cmd | 3 |
| CONTAINER | 0 | -48-184+0 | $(-1) |
| PARAM_COMPARE | 0 | substream | == $0->runtime->trigger_master |
| PARAM_COMPARE | 0 | substream | == $0->runtime->trigger_master |
| BIT_INFO | 1 | cmd | 0x2,0x3 |
| HARD_MAX | 1 | cmd | 3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | substream->f_flags | 0-u32max |
| USER_DATA | 0 | substream->runtime->no_period_wakeup | 0-1 |
| USER_DATA | 0 | substream->runtime->rate_den | 0-u32max |
| USER_DATA | 0 | substream->runtime->rate_num | 0-u32max |
| USER_DATA | 0 | substream->runtime->trigger_master->f_flags | 0-u32max |
| USER_DATA | 0 | *substream->runtime->oss.buffer | 0-255 |
| NO_OVERFLOW_SIMPLE | 0 | substream->runtime->dma_buffer_p->addr | |
| USER_PTR | 0 | substream->runtime->oss.buffer | |
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | 0 | &substream->runtime->buffer_mutex | |
| HALF_LOCKED2 | 0 | &substream->self_group.lock | |
| HALF_LOCKED2 | 0 | &substream->self_group.mutex |
sound/core/pcm_native.c snd_pcm_undo_resume() -> (struct snd_pcm_ops)->trigger()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->dma_buffer.dev.dev->cma_area->available_count | 0-s64max |
| PARAM_VALUE | 0 | substream->dma_buffer.dev.dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | substream->dma_buffer.dev.dev->dma_io_tlb_mem->for_alloc | 0-1 |
| PARAM_VALUE | 0 | substream->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->pstr->stream | 0-1 |
| PARAM_VALUE | 0 | substream->runtime | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime->fasync->on | s32min-s32max |
| PARAM_VALUE | 0 | substream->runtime->state | 3,5 |
| PARAM_VALUE | 0 | substream->runtime->trigger_master | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->stream | 0 |
| PARAM_VALUE | 1 | cmd | 4 |
| BUF_SIZE | 0 | substream | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | substream | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | substream | 1 |
| CAPPED_DATA | 0 | substream->runtime->trigger_master | 1 |
| DATA_SOURCE | 0 | substream | $0 |
| CONTAINER | 0 | -48-184+0 | $(-1) |
| PARAM_COMPARE | 0 | substream | == $0->runtime->trigger_master |
| PARAM_COMPARE | 0 | substream | == $0->runtime->trigger_master |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | substream->f_flags | 0-u32max |
| USER_DATA | 0 | substream->runtime->no_period_wakeup | 0-1 |
| USER_DATA | 0 | substream->runtime->rate_den | 0-u32max |
| USER_DATA | 0 | substream->runtime->rate_num | 0-u32max |
| USER_DATA | 0 | substream->runtime->trigger_master->f_flags | 0-u32max |
| USER_DATA | 0 | *substream->runtime->oss.buffer | 0-255 |
| NO_OVERFLOW_SIMPLE | 0 | substream->runtime->dma_buffer_p->addr | |
| USER_PTR | 0 | substream->runtime->oss.buffer | |
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | 0 | &substream->runtime->buffer_mutex | |
| HALF_LOCKED2 | 0 | &substream->self_group.lock | |
| HALF_LOCKED2 | 0 | &substream->self_group.mutex |
sound/core/pcm_native.c snd_pcm_undo_start() -> (struct snd_pcm_ops)->trigger()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->dma_buffer.dev.dev->cma_area->available_count | 0-s64max |
| PARAM_VALUE | 0 | substream->dma_buffer.dev.dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | substream->dma_buffer.dev.dev->dma_io_tlb_mem->for_alloc | 0-1 |
| PARAM_VALUE | 0 | substream->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->pstr->stream | 0-1 |
| PARAM_VALUE | 0 | substream->runtime | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime->fasync->on | s32min-s32max |
| PARAM_VALUE | 0 | substream->runtime->trigger_master | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd | 0 |
| BUF_SIZE | 0 | substream | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | substream | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | substream | 1 |
| CAPPED_DATA | 0 | substream->runtime->trigger_master | 1 |
| DATA_SOURCE | 0 | substream | $0 |
| CONTAINER | 0 | -48-184+0 | $(-1) |
| PARAM_COMPARE | 0 | substream | == $0->runtime->trigger_master |
| PARAM_COMPARE | 0 | substream | == $0->runtime->trigger_master |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | substream->f_flags | 0-u32max |
| USER_DATA | 0 | substream->runtime->no_period_wakeup | 0-1 |
| USER_DATA | 0 | substream->runtime->rate_den | 0-u32max |
| USER_DATA | 0 | substream->runtime->rate_num | 0-u32max |
| USER_DATA | 0 | substream->runtime->trigger_master->f_flags | 0-u32max |
| USER_DATA | 0 | *substream->runtime->oss.buffer | 0-255 |
| NO_OVERFLOW_SIMPLE | 0 | substream->runtime->dma_buffer_p->addr | |
| USER_PTR | 0 | substream->runtime->oss.buffer | |
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | 0 | &substream->runtime->buffer_mutex | |
| HALF_LOCKED2 | 0 | &substream->self_group.lock | |
| HALF_LOCKED2 | 0 | &substream->self_group.mutex |