Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
sound/core/pcm.c snd_pcm_dev_disconnect() -> snd_pcm_sync_stop()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 1-u64max |
| PARAM_VALUE | 0 | substream->private_data->elapsed_period.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | substream->runtime->private_data->data_endpoint->data_subs | 0 |
| PARAM_VALUE | 0 | substream->runtime->private_data->data_endpoint->lowlatency_playback | 0 |
| PARAM_VALUE | 0 | substream->runtime->private_data->data_endpoint->prepare_data_urb | 0,4049760685819678720 |
| PARAM_VALUE | 0 | substream->runtime->private_data->data_endpoint->retire_data_urb | 0 |
| PARAM_VALUE | 0 | substream->runtime->private_data->data_endpoint->state.counter | s32min-s32max |
| PARAM_VALUE | 0 | substream->runtime->private_data->data_endpoint->sync_sink | 0 |
| PARAM_VALUE | 0 | substream->runtime->private_data->dma_chan->completed_cookie | 1 |
| PARAM_VALUE | 0 | substream->runtime->private_data->dma_chan->cookie | 1 |
| PARAM_VALUE | 0 | substream->runtime->private_data->sync_endpoint->data_subs | 0 |
| PARAM_VALUE | 0 | substream->runtime->private_data->sync_endpoint->lowlatency_playback | 0 |
| PARAM_VALUE | 0 | substream->runtime->private_data->sync_endpoint->prepare_data_urb | 0,4049760685819678720 |
| PARAM_VALUE | 0 | substream->runtime->private_data->sync_endpoint->retire_data_urb | 0 |
| PARAM_VALUE | 0 | substream->runtime->private_data->sync_endpoint->state.counter | s32min-s32max |
| PARAM_VALUE | 0 | substream->runtime->private_data->sync_endpoint->sync_sink | 0 |
| PARAM_VALUE | 0 | substream->runtime->private_data->timer_instance.entry.pprev | 0 |
| PARAM_VALUE | 0 | substream->runtime->private_data->timer_instance.flags | 0-4194302 |
| PARAM_VALUE | 0 | substream->runtime->private_data->timer_instance.function | 0 |
| PARAM_VALUE | 0 | substream->runtime->stop_operating | 0 |
| PARAM_VALUE | 0 | substream->timer->hw.flags | 1-2,5,17,24 |
| PARAM_VALUE | 1 | sync_irq | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | substream->runtime->private_data->core.tc.cycle_last | s64min-s64max |
| HOST_DATA | 0 | substream->snapshot.cycles | s64min-s64max |
| LOCK2 | _T->lock |
sound/core/pcm_native.c do_hw_free() -> snd_pcm_sync_stop()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime | 4096-ptr_max |
| PARAM_VALUE | 1 | sync_irq | 1 |
| CAPPED_DATA | 0 | substream | 1 |
| DATA_SOURCE | 0 | substream | $0 |
| 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 |
| HALF_LOCKED2 | &runtime->buffer_mutex |
sound/core/pcm_native.c snd_pcm_do_prepare() -> snd_pcm_sync_stop()
| 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->pstr->stream | 0-1 |
| PARAM_VALUE | 0 | substream->runtime->fasync->on | s32min-s32max |
| PARAM_VALUE | 1 | sync_irq | 1 |
| BUF_SIZE | 0 | substream | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | substream | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | substream | $0 |
| 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_hw_params() -> snd_pcm_sync_stop()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime->buffer_accessing.counter | 0-s32max |
| PARAM_VALUE | 0 | substream->runtime->buffer_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | substream->runtime->buffer_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | substream->runtime->buffer_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | sync_irq | 1 |
| CAPPED_DATA | 0 | substream | 1 |
| DATA_SOURCE | 0 | substream | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | substream->runtime->trigger_master->f_flags | 0-u32max |
| USER_DATA | 0 | *substream->runtime->oss.buffer | 0-255 |
| USER_PTR | 0 | substream->runtime->oss.buffer | |
| LOCK2 | &runtime->buffer_mutex | ||
| TYPE_LOCK | (struct snd_pcm_runtime)->buffer_mutex |
sound/core/pcm_native.c snd_pcm_suspend_all() -> snd_pcm_sync_stop()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 1-u64max |
| PARAM_VALUE | 0 | substream->runtime->private_data->timer.flags | 0-4194302 |
| PARAM_VALUE | 0 | substream->runtime->private_data->timer_instance.function | 0 |
| PARAM_VALUE | 0 | substream->runtime->stop_operating | 0 |
| PARAM_VALUE | 1 | sync_irq | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | substream->runtime->private_data->core.tc.cycle_last | s64min-s64max |
| HOST_DATA | 0 | substream->snapshot.cycles | s64min-s64max |
| LOCK2 | _T->lock |