Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
sound/core/oss/pcm_oss.c snd_pcm_oss_write2() -> snd_pcm_oss_write3()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime->oss.plugin_first | 0 |
| PARAM_VALUE | 3 | in_kernel | 0-1 |
| CAPPED_DATA | 0 | substream | 1 |
| DATA_SOURCE | 0 | substream | $0 |
| DATA_SOURCE | 1 | ptr | $1 |
| DATA_SOURCE | 2 | frames | r bytes_to_frames |
| DATA_SOURCE | 3 | in_kernel | $3 |
| HARD_MAX | 3 | in_kernel | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | *substream->runtime->oss.buffer | 0-255 |
| UNITS | 1 | ptr | unit_byte |
| USER_PTR | 0 | substream->runtime->oss.buffer | |
| LOCK2 | &runtime->oss.params_lock | ||
| TYPE_LOCK | (struct snd_pcm_oss_runtime)->params_lock |
sound/core/oss/io.c io_playback_transfer() -> snd_pcm_oss_write3()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | frames | 0-9223372036854775807 |
| PARAM_VALUE | 3 | in_kernel | 1 |
| BUF_SIZE | 1 | ptr | s32min,1-131072 |
| DATA_SOURCE | 2 | frames | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | ptr | unit_byte |
| LOCK2 | &runtime->oss.params_lock | ||
| TYPE_LOCK | (struct snd_pcm_oss_runtime)->params_lock |