Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 6 files:
- include/sound/pcm.h, line 680
- sound/core/pcm.c, line 1099
- sound/core/pcm_lib.c
- sound/core/pcm_native.c
- sound/soc/soc-pcm.c
- sound/soc/ti/omap-hdmi.c, line 54
Smatch caller information:
sound/soc/ti/omap-hdmi.c hdmi_dai_abort() -> snd_pcm_stream_lock_irq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime->state | 3,5 |
| PARAM_VALUE | 0 | substream->stream | 0 |
| NOCHECK_CALL | |||
| LOCK2 | _T->lock |
sound/core/pcm.c snd_pcm_dev_disconnect() -> snd_pcm_stream_lock_irq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 1-u64max |
| 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/soc/soc-pcm.c dpcm_be_connect() -> snd_pcm_stream_lock_irq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->pcm | 4096-ptr_max |
| DATA_SOURCE | 0 | substream | r snd_soc_dpcm_get_substream |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &fe->card->mutex | ||
| HALF_LOCKED2 | _T->lock |
sound/soc/soc-pcm.c dpcm_be_disconnect() -> snd_pcm_stream_lock_irq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | substream | r snd_soc_dpcm_get_substream |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &fe->card->mutex | ||
| HALF_LOCKED2 | _T->lock |
sound/soc/soc-pcm.c dpcm_set_fe_update_state() -> snd_pcm_stream_lock_irq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | substream | r snd_soc_dpcm_get_substream |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &runtime->buffer_mutex |
sound/core/pcm_lib.c __snd_pcm_lib_xfer() -> snd_pcm_stream_lock_irq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime->state | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | substream | 1 |
| DATA_SOURCE | 0 | substream | $0 |
| BIT_INFO | 0 | substream->f_flags | 0x0,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| 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 |
| USER_PTR | 0 | substream->runtime->oss.buffer | |
| HALF_LOCKED2 | &runtime->oss.params_lock |
sound/core/pcm_lib.c __snd_pcm_lib_xfer() -> snd_pcm_stream_lock_irq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->pcm | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime->control | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime->state | 2-3,6 |
| PARAM_VALUE | 0 | substream->runtime->status | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime->twake | 1-u64max |
| CAPPED_DATA | 0 | substream | 1 |
| DATA_SOURCE | 0 | substream | $0 |
| FUZZY_MAX | 0 | substream->runtime->state | 3 |
| FUZZY_MAX | 0 | substream->runtime->twake | 1 |
| 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 |
| USER_DATA | 0 | substream->runtime->no_period_wakeup | 0-1 |
| USER_DATA | 0 | substream->runtime->private_data->gus->gf1.dma_data_pcm_last->count | 33-4294967295[c] |
| USER_DATA | 0 | substream->runtime->private_data->gus->gf1.dma_data_pcm_last->next->count | 33-4294967295[c] |
| 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 |
| USER_PTR | 0 | substream->runtime->oss.buffer | |
| HALF_LOCKED2 | &runtime->oss.params_lock |
sound/core/pcm_lib.c wait_for_avail() -> snd_pcm_stream_lock_irq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->pcm | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime->control | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime->status | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime->tsleep.lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | substream->runtime->twake | 1-u64max |
| DATA_SOURCE | 0 | substream | $0 |
| NOCHECK_CALL |
sound/core/pcm_native.c class_pcm_stream_lock_irq_constructor() -> snd_pcm_stream_lock_irq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 1-u64max |
| DATA_SOURCE | 0 | substream | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | substream | unit_byte |
| HALF_LOCKED2 | &runtime->buffer_mutex | ||
| HALF_LOCKED2 | _T->lock |
sound/core/pcm_native.c snd_pcm_drain() -> snd_pcm_stream_lock_irq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->pcm | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime->state | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | substream | 1 |
| DATA_SOURCE | 0 | substream | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | *substream->runtime->oss.buffer | 0-255 |
| USER_PTR | 0 | substream->runtime->oss.buffer |
sound/core/pcm_native.c snd_pcm_drain() -> snd_pcm_stream_lock_irq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->group | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->group->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | substream->pcm | 4096-ptr_max |
| CAPPED_DATA | 0 | substream | 1 |
| CAPPED_DATA | 0 | substream->group | 1 |
| CAPPED_DATA | 0 | &substream->group->substreams | 1 |
| DATA_SOURCE | 0 | substream | $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 |
| 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 |
sound/core/oss/pcm_oss.c class_pcm_stream_lock_irq_constructor() -> snd_pcm_stream_lock_irq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| DATA_SOURCE | 0 | substream | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | substream | unit_byte |
| HALF_LOCKED2 | &runtime->oss.params_lock |