Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 9 files:
- drivers/media/pci/cx18/cx18-alsa-pcm.c, line 112
- drivers/media/pci/ivtv/ivtv-alsa-pcm.c, line 109
- drivers/staging/vc04_services/bcm2835-audio/bcm2835-pcm.c, line 62
- drivers/usb/gadget/function/u_audio.c, line 185
- include/sound/pcm.h, line 677
- sound/core/pcm_native.c
- sound/soc/intel/avs/ipc.c, line 129
- sound/soc/sti/uniperif_player.c, line 72
- sound/soc/sti/uniperif_reader.c, line 53
Smatch caller information:
sound/soc/intel/avs/ipc.c avs_dsp_recovery() -> snd_pcm_stream_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime | 1-u64max |
| NOCHECK_CALL | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &pool->lock |
drivers/media/pci/cx18/cx18-alsa-pcm.c cx18_alsa_announce_pcm_data() -> snd_pcm_stream_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-9223372036854775807 |
| PARAM_VALUE | 0 | substream->runtime | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime->dma_area | 1-u64max |
| NOCHECK_CALL | |||
| LOCK2 | &pool->lock |
drivers/usb/gadget/function/u_audio.c u_audio_iso_complete() -> snd_pcm_stream_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &cdev->lock | ||
| HALF_LOCKED2 | &pdev->lock | ||
| HALF_LOCKED2 | &priv_dev->lock | ||
| HALF_LOCKED2 | &udc->lock | ||
| HALF_LOCKED2 | cdev_flags | ||
| HALF_LOCKED2 | flags |
sound/core/pcm_native.c snd_pcm_stream_group_ref() -> snd_pcm_stream_lock()
| 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->group | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->group->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | substream->pcm | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->pstr->stream | 0-1 |
| PARAM_VALUE | 0 | substream->runtime->fasync->on | s32min-s32max |
| BUF_SIZE | 0 | substream | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | substream | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | substream | $0 |
| PARAM_COMPARE | 0 | &substream->self_group | != $0->group |
| PREEMPT_ADD | |||
| 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 | |
| UNITS | 0 | substream | unit_byte |
| USER_PTR | 0 | substream->runtime->oss.buffer | |
| HALF_LOCKED2 | 0 | &substream->runtime->buffer_mutex | |
| HALF_LOCKED2 | 0 | &substream->self_group.lock | |
| HALF_LOCKED2 | 0 | &substream->self_group.mutex |
drivers/staging/vc04_services/bcm2835-audio/bcm2835-pcm.c bcm2835_playback_fifo() -> snd_pcm_stream_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/media/pci/ivtv/ivtv-alsa-pcm.c ivtv_alsa_announce_pcm_data() -> snd_pcm_stream_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime->dma_area | 1-u64max |
| NOCHECK_CALL |
sound/soc/sti/uniperif_player.c uni_player_irq_handler() -> snd_pcm_stream_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 1-u64max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &player->irq_lock | ||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct uniperif)->irq_lock |
sound/soc/sti/uniperif_reader.c uni_reader_irq_handler() -> snd_pcm_stream_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 1-u64max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &reader->irq_lock | ||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct uniperif)->irq_lock |