Defined in 1 files as a member:
Defined in 2 files as a function:
Defined in 1 files as a enumerator:
Referenced in 5 files:
- drivers/block/swim3.c
- drivers/crypto/hisilicon/sec2/sec_crypto.c
- drivers/soundwire/bus.c, line 279
- drivers/spi/spi-sc18is602.c
- sound/core/pcm_lib.c
Smatch caller information:
drivers/soundwire/bus.c sdw_transfer_unlocked() -> do_transfer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream->ops->pre_bank_switch | 0,6319095919616888832,7725628960525303808 |
| PARAM_VALUE | 1 | c | 4096-ptr_max |
| PARAM_VALUE | 1 | c->flags | 0-1 |
| PARAM_VALUE | 1 | c->len | 0-32768 |
| BUF_SIZE | 1 | c | (-1),24 |
| BUF_SIZE | 1 | c | (-1),24 |
| DATA_SOURCE | 0 | substream | $0 |
| DATA_SOURCE | 1 | c | $1 |
| MEM_ZERO | 1 | c | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 1 | c->addr | 0[c] |
| HOST_DATA | 1 | c->addr_page1 | 0-255[c] |
| HOST_DATA | 1 | c->addr_page2 | 0-255[c] |
| HOST_DATA | 1 | c->len | 1-16,32753-32764,32768[c] |
| USER_DATA | 1 | c->addr | 0[c][u] |
| USER_DATA | 1 | c->addr_page1 | 0-255[c] |
| USER_DATA | 1 | c->addr_page2 | 0-255[c] |
| USER_DATA | 1 | c->len | 1-32768[c] |
| HALF_LOCKED2 | &attr->mutex | ||
| HALF_LOCKED2 | &bus->bus_lock | ||
| HALF_LOCKED2 | 0 | &substream->msg_lock |
sound/core/pcm_lib.c interleaved_copy() -> do_transfer()
| 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 | c | 0 |
| PARAM_VALUE | 5 | transfer | 856833693527855104 |
| PARAM_VALUE | 6 | in_kernel | 1 |
| 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 |
| DATA_SOURCE | 5 | transfer | $5 |
| DATA_SOURCE | 6 | in_kernel | $6 |
| 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() -> do_transfer()
| 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 | c | 0-2147483646 |
| PARAM_VALUE | 3 | data | 1-u64max |
| PARAM_VALUE | 5 | transfer | 856833693527855104 |
| PARAM_VALUE | 6 | in_kernel | 1 |
| BUF_SIZE | 0 | substream | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | substream | s32min-(-1),1-s32max |
| CAPPED_DATA | 1 | c | 1 |
| DATA_SOURCE | 0 | substream | $0 |
| DATA_SOURCE | 2 | hwoff | r samples_to_bytes |
| DATA_SOURCE | 4 | bytes | r samples_to_bytes |
| DATA_SOURCE | 5 | transfer | $5 |
| DATA_SOURCE | 6 | in_kernel | $6 |
| 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 |