Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
sound/core/oss/pcm_plugin.c snd_pcm_plug_client_size() -> calc_src_frames()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | plug | 4096-ptr_max |
| PARAM_VALUE | 0 | plug->runtime | 4096-ptr_max |
| PARAM_VALUE | 0 | plug->runtime->oss.format | s32min-4096,8192,16384,32768,65536,131072,262144 |
| PARAM_VALUE | 0 | plug->runtime->oss.params | 1 |
| PARAM_VALUE | 0 | plug->stream | 0 |
| PARAM_VALUE | 1 | frames | s32min-9223372030412324865 |
| PARAM_VALUE | 2 | check_size | 0 |
| DATA_SOURCE | 0 | plug | $0 |
| DATA_SOURCE | 1 | frames | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | plug->runtime->trigger_master->f_flags | 0-u32max |
| USER_DATA | 0 | *plug->runtime->oss.buffer | 0-255 |
| USER_PTR | 0 | plug->runtime->oss.buffer | |
| LOCK2 | &runtime->oss.params_lock | ||
| TYPE_LOCK | (struct snd_pcm_oss_runtime)->params_lock |
sound/core/oss/pcm_plugin.c snd_pcm_plug_read_transfer() -> calc_src_frames()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | plug | 4096-ptr_max |
| PARAM_VALUE | 0 | plug->runtime | 4096-ptr_max |
| PARAM_VALUE | 0 | plug->runtime->audio_tstamp_report.accuracy | 0,42 |
| PARAM_VALUE | 0 | plug->runtime->audio_tstamp_report.actual_type | 0-2,5 |
| PARAM_VALUE | 0 | plug->runtime->oss.buffer | 0 |
| PARAM_VALUE | 0 | plug->runtime->oss.plugin_first | 1-u64max |
| PARAM_VALUE | 0 | plug->runtime->oss.plugin_last | 4096-ptr_max |
| PARAM_VALUE | 0 | plug->runtime->oss.plugin_last->buf_channels->wanted | 1 |
| PARAM_VALUE | 1 | frames | 0-s64max |
| PARAM_VALUE | 2 | check_size | 1 |
| CAPPED_DATA | 0 | plug | 1 |
| DATA_SOURCE | 0 | plug | $0 |
| DATA_SOURCE | 1 | frames | $2 |
| LOCK2 | &runtime->oss.params_lock | ||
| TYPE_LOCK | (struct snd_pcm_oss_runtime)->params_lock |
sound/core/oss/pcm_plugin.c snd_pcm_plug_slave_size() -> calc_src_frames()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | plug | 4096-ptr_max |
| PARAM_VALUE | 0 | plug->stream | 1 |
| PARAM_VALUE | 2 | check_size | 0 |
| DATA_SOURCE | 0 | plug | $0 |
| DATA_SOURCE | 1 | frames | $1 |
sound/core/oss/pcm_plugin.c snd_pcm_plug_write_transfer() -> calc_src_frames()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | plug | 4096-ptr_max |
| PARAM_VALUE | 0 | plug->runtime | 4096-ptr_max |
| PARAM_VALUE | 0 | plug->runtime->audio_tstamp_report.accuracy | 0,42 |
| PARAM_VALUE | 0 | plug->runtime->audio_tstamp_report.actual_type | 0-2,5 |
| PARAM_VALUE | 0 | plug->runtime->oss.buffer | 0 |
| PARAM_VALUE | 0 | plug->runtime->oss.plugin_first | 4096-ptr_max |
| PARAM_VALUE | 0 | plug->runtime->oss.plugin_last->buf_channels->wanted | 1 |
| PARAM_VALUE | 1 | frames | 0-s64max |
| PARAM_VALUE | 2 | check_size | 1 |
| CAPPED_DATA | 0 | plug | 1 |
| DATA_SOURCE | 0 | plug | $0 |
| FUZZY_MAX | 1 | frames | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | *plug->runtime->oss.buffer | 0-255 |
| USER_PTR | 0 | plug->runtime->oss.buffer | |
| LOCK2 | &runtime->oss.params_lock | ||
| TYPE_LOCK | (struct snd_pcm_oss_runtime)->params_lock |