Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
sound/core/pcm_lib.c __snd_pcm_lib_xfer() -> snd_pcm_dma_buffer_sync()
| 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 |
| PARAM_VALUE | 1 | mode | 0 |
| CAPPED_DATA | 0 | substream | 1 |
| CAPPED_DATA | 0 | substream->runtime->twake | 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 __snd_pcm_lib_xfer() -> snd_pcm_dma_buffer_sync()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->pcm | 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 |
| PARAM_VALUE | 1 | mode | 1 |
| 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 snd_pcm_playback_silence() -> snd_pcm_dma_buffer_sync()
| 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 | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime->fasync->on | s32min-s32max |
| PARAM_VALUE | 0 | substream->runtime->silence_size | 1-u64max |
| PARAM_VALUE | 0 | substream->runtime->status | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->stream | 0 |
| PARAM_VALUE | 1 | mode | 1 |
| BUF_SIZE | 0 | substream | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | substream | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | substream | 1 |
| CAPPED_DATA | 0 | substream->runtime->oss.buffer_bytes | 1 |
| DATA_SOURCE | 0 | substream | $0 |
| FUZZY_MAX | 0 | substream->runtime->silence_size | 1 |
| 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->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 |
| 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_native.c snd_pcm_delay() -> snd_pcm_dma_buffer_sync()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| PARAM_VALUE | 1 | mode | 0 |
| CAPPED_DATA | 0 | substream | 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 |
sound/core/pcm_native.c snd_pcm_forward() -> snd_pcm_dma_buffer_sync()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 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,5-6 |
| PARAM_VALUE | 0 | substream->runtime->status | 4096-ptr_max |
| PARAM_VALUE | 1 | mode | 1 |
| CAPPED_DATA | 0 | substream | 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 |
sound/core/pcm_native.c snd_pcm_ioctl_sync_ptr_buggy() -> snd_pcm_dma_buffer_sync()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| 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 | 1 | mode | 1 |
| CAPPED_DATA | 0 | substream | 1 |
| CAPPED_DATA | 0 | substream->runtime->control->appl_ptr | 1 |
| DATA_SOURCE | 0 | substream | $0 |
| NOCHECK_CALL | |||
| HOST_DATA | 0 | substream->runtime->private_data->core.tc.cycle_last | s64min-s64max |
| HOST_DATA | 0 | substream->snapshot.cycles | s64min-s64max |
sound/core/pcm_native.c snd_pcm_ioctl_sync_ptr_compat() -> snd_pcm_dma_buffer_sync()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->pcm->card | 4096-ptr_max |
| 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 | 1 | mode | 1 |
| CAPPED_DATA | 0 | substream | 1 |
| CAPPED_DATA | 0 | substream->runtime->control->appl_ptr | 1 |
| DATA_SOURCE | 0 | substream | $0 |
| NOCHECK_CALL | |||
| HOST_DATA | 0 | substream->runtime->private_data->core.tc.cycle_last | s64min-s64max |
| HOST_DATA | 0 | substream->snapshot.cycles | s64min-s64max |
sound/core/pcm_native.c snd_pcm_ioctl_sync_ptr_x32() -> snd_pcm_dma_buffer_sync()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| 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 | 1 | mode | 1 |
| CAPPED_DATA | 0 | substream | 1 |
| CAPPED_DATA | 0 | substream->runtime->control->appl_ptr | 1 |
| DATA_SOURCE | 0 | substream | $0 |
| NOCHECK_CALL | |||
| HOST_DATA | 0 | substream->runtime->private_data->core.tc.cycle_last | s64min-s64max |
| HOST_DATA | 0 | substream->snapshot.cycles | s64min-s64max |
sound/core/pcm_native.c snd_pcm_rewind() -> snd_pcm_dma_buffer_sync()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 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->state | 2-3,5-6 |
| PARAM_VALUE | 0 | substream->runtime->status | 4096-ptr_max |
| PARAM_VALUE | 1 | mode | 1 |
| CAPPED_DATA | 0 | substream | 1 |
| DATA_SOURCE | 0 | substream | $0 |
| NOCHECK_CALL | |||
| HOST_DATA | 0 | substream->runtime->private_data->core.tc.cycle_last | s64min-s64max |
| HOST_DATA | 0 | substream->snapshot.cycles | s64min-s64max |
sound/core/pcm_native.c snd_pcm_sync_ptr() -> snd_pcm_dma_buffer_sync()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->pcm->card | 4096-ptr_max |
| 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 | 1 | mode | 1 |
| CAPPED_DATA | 0 | substream | 1 |
| CAPPED_DATA | 0 | substream->runtime->control->appl_ptr | 1 |
| DATA_SOURCE | 0 | substream | $0 |
| NOCHECK_CALL | |||
| HOST_DATA | 0 | substream->runtime->private_data->core.tc.cycle_last | s64min-s64max |
| HOST_DATA | 0 | substream->snapshot.cycles | s64min-s64max |