Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
sound/core/oss/pcm_oss.c snd_pcm_oss_read2() -> snd_pcm_plug_client_channels_buf()
| 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.plugin_first | 1-u64max |
| PARAM_VALUE | 0 | plug->runtime->oss.plugin_last | 4096-ptr_max |
| PARAM_VALUE | 3 | channels | 8402026547611275264 |
| CAPPED_DATA | 0 | plug | 1 |
| DATA_SOURCE | 0 | plug | $0 |
| DATA_SOURCE | 1 | buf | $1 [m] |
| LOCK2 | &runtime->oss.params_lock | ||
| TYPE_LOCK | (struct snd_pcm_oss_runtime)->params_lock |
sound/core/oss/pcm_oss.c snd_pcm_oss_write2() -> snd_pcm_plug_client_channels_buf()
| 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.plugin_first | 4096-ptr_max |
| PARAM_VALUE | 3 | channels | 6329661284684632064 |
| CAPPED_DATA | 0 | plug | 1 |
| DATA_SOURCE | 0 | plug | $0 |
| DATA_SOURCE | 1 | buf | $1 [m] |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | *plug->runtime->oss.buffer | 0-255 |
| USER_DATA | 1 | *buf | 0-255 |
| UNITS | 1 | buf | unit_byte |
| USER_PTR | 0 | plug->runtime->oss.buffer | |
| USER_PTR | 1 | buf | |
| LOCK2 | &runtime->oss.params_lock | ||
| TYPE_LOCK | (struct snd_pcm_oss_runtime)->params_lock |