Defined in 1 files as a member:
Defined in 1 files as a function:
Referenced in 12 files:
- sound/core/pcm_lib.c
- sound/drivers/dummy.c, line 686
- sound/isa/gus/gus_pcm.c, line 794
- sound/isa/sb/emu8000_pcm.c, line 627
- sound/pci/korg1212/korg1212.c, line 1597
- sound/pci/nm256/nm256.c, line 879
- sound/pci/rme32.c
- sound/pci/rme96.c
- sound/pci/rme9652/hdsp.c, line 4861
- sound/pci/rme9652/rme9652.c, line 2298
- sound/sh/sh_dac_audio.c, line 213
- sound/xen/xen_snd_front_alsa.c, line 670
Smatch caller information:
sound/core/pcm_lib.c interleaved_copy() -> fill_silence()
| 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->dma_buffer.dev.dev->iommu_group->default_domain | 0-s64max |
| PARAM_VALUE | 0 | substream->pstr->stream | 0-1 |
| PARAM_VALUE | 0 | substream->runtime | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime->access | 0,3 |
| PARAM_VALUE | 0 | substream->runtime->audio_tstamp_report.accuracy | 0,42 |
| PARAM_VALUE | 0 | substream->runtime->audio_tstamp_report.actual_type | 0-2,5 |
| PARAM_VALUE | 0 | substream->runtime->dma_buffer_p->dev.dev->iommu_group->default_domain | 0-s64max |
| PARAM_VALUE | 0 | substream->runtime->fasync->on | s32min-s32max |
| PARAM_VALUE | 0 | substream->runtime->fasync->poll | s32min-s32max |
| PARAM_VALUE | 0 | substream->runtime->fasync->signal | s32min-s32max |
| PARAM_VALUE | 0 | substream->runtime->oss.buffer | 0 |
| PARAM_VALUE | 0 | substream->runtime->oss.buffer_bytes | 0-9223372036854775807 |
| PARAM_VALUE | 0 | substream->runtime->oss.channels | 0-128 |
| PARAM_VALUE | 0 | substream->runtime->oss.fragshift | 0-24 |
| PARAM_VALUE | 0 | substream->runtime->oss.maxfrags | 0-u16max |
| PARAM_VALUE | 0 | substream->runtime->oss.period_bytes | 0,16-1048576 |
| PARAM_VALUE | 0 | substream->runtime->oss.period_frames | 0-1 |
| PARAM_VALUE | 0 | substream->runtime->oss.plugin_first->action | 0-s64max |
| PARAM_VALUE | 0 | substream->runtime->oss.plugin_first->client_channels | 0-s64max |
| PARAM_VALUE | 0 | substream->runtime->oss.plugin_first->dst_frames | 0-s64max |
| PARAM_VALUE | 0 | substream->runtime->oss.plugin_first->dst_width | s32min-s32max |
| PARAM_VALUE | 0 | substream->runtime->oss.plugin_first->name | 0-s64max |
| PARAM_VALUE | 0 | substream->runtime->oss.plugin_first->src_frames | 0-s64max |
| PARAM_VALUE | 0 | substream->runtime->oss.plugin_first->src_width | s32min-s32max |
| PARAM_VALUE | 0 | substream->runtime->oss.plugin_last->action | 0-s64max |
| PARAM_VALUE | 0 | substream->runtime->oss.plugin_last->client_channels | 0-s64max |
| PARAM_VALUE | 0 | substream->runtime->oss.plugin_last->dst_frames | 0-s64max |
| PARAM_VALUE | 0 | substream->runtime->oss.plugin_last->dst_width | s32min-s32max |
| PARAM_VALUE | 0 | substream->runtime->oss.plugin_last->name | 0-s64max |
| PARAM_VALUE | 0 | substream->runtime->oss.plugin_last->src_frames | 0-s64max |
| PARAM_VALUE | 0 | substream->runtime->oss.plugin_last->src_width | s32min-s32max |
| PARAM_VALUE | 0 | substream->runtime->oss.rate | 0,1000-192000 |
| PARAM_VALUE | 0 | substream->runtime->oss.subdivision | 0-2,4,8,16 |
| PARAM_VALUE | 0 | substream->runtime->oss.sync_trigger | 0 |
| PARAM_VALUE | 0 | substream->runtime->status | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->stream | 0 |
| PARAM_VALUE | 0 | substream->timer->hw.flags | 0-2,4-u32max |
| PARAM_VALUE | 1 | channel | 0 |
| PARAM_VALUE | 3 | iter | 0 |
| BUF_SIZE | 0 | substream | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | substream | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | substream | $0 |
| DATA_SOURCE | 2 | hwoff | r frames_to_bytes |
| DATA_SOURCE | 4 | bytes | r frames_to_bytes |
| FUZZY_MAX | 0 | substream->runtime->access | 3 |
| BIT_INFO | 2 | hwoff | 0x0,0x7fffffffffffffff |
| BIT_INFO | 2 | hwoff | 0x0,0x7fffffffffffffff |
| BIT_INFO | 4 | bytes | 0x0,0x7fffffffffffffff |
| BIT_INFO | 4 | bytes | 0x0,0x7fffffffffffffff |
| 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 | |
| UNITS | 0 | substream | unit_byte |
| UNITS | 2 | hwoff | unit_byte |
| UNITS | 4 | bytes | 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 |
sound/core/pcm_lib.c noninterleaved_copy() -> fill_silence()
| 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->dma_buffer.dev.dev->iommu_group->default_domain | 0-s64max |
| PARAM_VALUE | 0 | substream->pstr->stream | 0-1 |
| PARAM_VALUE | 0 | substream->runtime | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime->access | s32min-(-1),1-2,4-s32max |
| PARAM_VALUE | 0 | substream->runtime->audio_tstamp_report.accuracy | 0,42 |
| PARAM_VALUE | 0 | substream->runtime->audio_tstamp_report.actual_type | 0-2,5 |
| PARAM_VALUE | 0 | substream->runtime->dma_buffer_p->dev.dev->iommu_group->default_domain | 0-s64max |
| PARAM_VALUE | 0 | substream->runtime->fasync->on | s32min-s32max |
| PARAM_VALUE | 0 | substream->runtime->fasync->poll | s32min-s32max |
| PARAM_VALUE | 0 | substream->runtime->fasync->signal | s32min-s32max |
| PARAM_VALUE | 0 | substream->runtime->oss.buffer | 0 |
| PARAM_VALUE | 0 | substream->runtime->oss.buffer_bytes | 0-9223372036854775807 |
| PARAM_VALUE | 0 | substream->runtime->oss.channels | 0-128 |
| PARAM_VALUE | 0 | substream->runtime->oss.fragshift | 0-24 |
| PARAM_VALUE | 0 | substream->runtime->oss.maxfrags | 0-u16max |
| PARAM_VALUE | 0 | substream->runtime->oss.period_bytes | 0,16-1048576 |
| PARAM_VALUE | 0 | substream->runtime->oss.period_frames | 0-1 |
| PARAM_VALUE | 0 | substream->runtime->oss.plugin_first->action | 0-s64max |
| PARAM_VALUE | 0 | substream->runtime->oss.plugin_first->client_channels | 0-s64max |
| PARAM_VALUE | 0 | substream->runtime->oss.plugin_first->dst_frames | 0-s64max |
| PARAM_VALUE | 0 | substream->runtime->oss.plugin_first->dst_width | s32min-s32max |
| PARAM_VALUE | 0 | substream->runtime->oss.plugin_first->name | 0-s64max |
| PARAM_VALUE | 0 | substream->runtime->oss.plugin_first->src_frames | 0-s64max |
| PARAM_VALUE | 0 | substream->runtime->oss.plugin_first->src_width | s32min-s32max |
| PARAM_VALUE | 0 | substream->runtime->oss.plugin_last->action | 0-s64max |
| PARAM_VALUE | 0 | substream->runtime->oss.plugin_last->client_channels | 0-s64max |
| PARAM_VALUE | 0 | substream->runtime->oss.plugin_last->dst_frames | 0-s64max |
| PARAM_VALUE | 0 | substream->runtime->oss.plugin_last->dst_width | s32min-s32max |
| PARAM_VALUE | 0 | substream->runtime->oss.plugin_last->name | 0-s64max |
| PARAM_VALUE | 0 | substream->runtime->oss.plugin_last->src_frames | 0-s64max |
| PARAM_VALUE | 0 | substream->runtime->oss.plugin_last->src_width | s32min-s32max |
| PARAM_VALUE | 0 | substream->runtime->oss.rate | 0,1000-192000 |
| PARAM_VALUE | 0 | substream->runtime->oss.subdivision | 0-2,4,8,16 |
| PARAM_VALUE | 0 | substream->runtime->oss.sync_trigger | 0 |
| PARAM_VALUE | 0 | substream->runtime->status | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->stream | 0 |
| PARAM_VALUE | 0 | substream->timer->hw.flags | 0-2,4-u32max |
| PARAM_VALUE | 1 | channel | 0-2147483646 |
| PARAM_VALUE | 3 | iter | 0 |
| BUF_SIZE | 0 | substream | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | substream | s32min-(-1),1-s32max |
| CAPPED_DATA | 1 | channel | 1 |
| DATA_SOURCE | 0 | substream | $0 |
| DATA_SOURCE | 2 | hwoff | r samples_to_bytes |
| DATA_SOURCE | 4 | bytes | r samples_to_bytes |
| BIT_INFO | 2 | hwoff | 0x0,0x7fffffffffffffff |
| BIT_INFO | 2 | hwoff | 0x0,0x7fffffffffffffff |
| BIT_INFO | 4 | bytes | 0x0,0x7fffffffffffffff |
| BIT_INFO | 4 | bytes | 0x0,0x7fffffffffffffff |
| 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->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 |
| NO_OVERFLOW_SIMPLE | 0 | substream->runtime->dma_buffer_p->addr | |
| UNITS | 0 | substream | unit_byte |
| UNITS | 2 | hwoff | unit_byte |
| UNITS | 4 | bytes | 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 |
sound/core/pcm_lib.c do_transfer() -> do_transfer param 5()
| 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->pcm | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->pstr->stream | 0-1 |
| PARAM_VALUE | 0 | substream->runtime | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime->audio_tstamp_report.accuracy | 0,42 |
| PARAM_VALUE | 0 | substream->runtime->audio_tstamp_report.actual_type | 0-2,5 |
| PARAM_VALUE | 0 | substream->runtime->control | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime->fasync->on | s32min-s32max |
| PARAM_VALUE | 0 | substream->runtime->oss.buffer | 0,4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime->status | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime->twake | 1-u64max |
| PARAM_VALUE | 1 | channel | 0-2147483646 |
| PARAM_VALUE | 3 | iter | 6418745938073509888 |
| CAPPED_DATA | 0 | substream | 1 |
| CAPPED_DATA | 1 | channel | 1 |
| DATA_SOURCE | 0 | substream | $0 |
| DATA_SOURCE | 1 | channel | $1 |
| DATA_SOURCE | 2 | hwoff | $2 |
| DATA_SOURCE | 4 | bytes | $4 |
| FUZZY_MAX | 0 | substream->runtime->twake | 1 |
| BIT_INFO | 2 | hwoff | 0x0,0x7fffffffffffffff |
| BIT_INFO | 2 | hwoff | 0x0,0x7fffffffffffffff |
| BIT_INFO | 4 | bytes | 0x0,0x7fffffffffffffff |
| BIT_INFO | 4 | bytes | 0x0,0x7fffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | substream->runtime->trigger_master->f_flags | 0-u32max |
| USER_DATA | 0 | *substream->runtime->oss.buffer | 0-255 |
| USER_DATA | 4 | bytes | 0-1152921503801540608[c] |
| NO_OVERFLOW_SIMPLE | 0 | substream->runtime->dma_buffer_p->addr | |
| UNITS | 1 | channel | unit_byte |
| UNITS | 2 | hwoff | unit_byte |
| UNITS | 4 | bytes | unit_byte |
| USER_PTR | 0 | substream->runtime->oss.buffer | |
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &runtime->oss.params_lock |
sound/core/pcm_lib.c do_transfer() -> do_transfer param 5()
| 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->pcm | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->pstr->stream | 0-1 |
| PARAM_VALUE | 0 | substream->runtime | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime->audio_tstamp_report.accuracy | 0,42 |
| PARAM_VALUE | 0 | substream->runtime->audio_tstamp_report.actual_type | 0-2,5 |
| PARAM_VALUE | 0 | substream->runtime->control | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime->fasync->on | s32min-s32max |
| PARAM_VALUE | 0 | substream->runtime->oss.buffer | 0,4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime->status | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime->twake | 1-u64max |
| PARAM_VALUE | 1 | channel | 0-2147483646 |
| PARAM_VALUE | 3 | iter | 6418745938073509888 |
| CAPPED_DATA | 0 | substream | 1 |
| CAPPED_DATA | 1 | channel | 1 |
| DATA_SOURCE | 0 | substream | $0 |
| DATA_SOURCE | 1 | channel | $1 |
| DATA_SOURCE | 2 | hwoff | $2 |
| DATA_SOURCE | 4 | bytes | $4 |
| FUZZY_MAX | 0 | substream->runtime->twake | 1 |
| BIT_INFO | 2 | hwoff | 0x0,0x7fffffffffffffff |
| BIT_INFO | 2 | hwoff | 0x0,0x7fffffffffffffff |
| BIT_INFO | 4 | bytes | 0x0,0x7fffffffffffffff |
| BIT_INFO | 4 | bytes | 0x0,0x7fffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | substream->runtime->trigger_master->f_flags | 0-u32max |
| USER_DATA | 0 | *substream->runtime->oss.buffer | 0-255 |
| USER_DATA | 4 | bytes | 0-1152921503801540608[c] |
| NO_OVERFLOW_SIMPLE | 0 | substream->runtime->dma_buffer_p->addr | |
| UNITS | 1 | channel | unit_byte |
| UNITS | 2 | hwoff | unit_byte |
| UNITS | 4 | bytes | unit_byte |
| USER_PTR | 0 | substream->runtime->oss.buffer | |
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &runtime->oss.params_lock |