Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

sound/core/oss/pcm_plugin.c calc_src_frames() -> (struct snd_pcm_plugin)->src_frames()

Type Parameter Key Value
PARAM_VALUE 0 plugin 4096-ptr_max
PARAM_VALUE 0 plugin->src_frames 1-u64max
PARAM_VALUE 1 frames 1-9223372036854775807
DATA_SOURCE 1 frames $1 [m]
CONTAINER 0 -48+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &runtime->oss.params_lock

sound/core/oss/pcm_plugin.c snd_pcm_plug_alloc() -> (struct snd_pcm_plugin)->src_frames()

Type Parameter Key Value
PARAM_VALUE 0 plugin 4096-ptr_max
PARAM_VALUE 0 plugin->prev 1-u64max
PARAM_VALUE 0 plugin->src_frames 1-u64max
DATA_SOURCE 1 frames $1 [m]
CONTAINER 0 -48+0 $(-1)
NO_OVERFLOW_SIMPLE 0 plugin->buf_frames
NO_OVERFLOW_SIMPLE 1 frames

sound/core/oss/pcm_plugin.c snd_pcm_plug_write_transfer() -> (struct snd_pcm_plugin)->src_frames()

Type Parameter Key Value
PARAM_VALUE 0 plugin 4096-ptr_max
PARAM_VALUE 0 plugin->next 4096-ptr_max
PARAM_VALUE 0 plugin->src_frames 1-u64max
PARAM_VALUE 1 frames 1-9223372036854775807
CONTAINER 0 -48+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
LOCK2 &runtime->oss.params_lock
TYPE_LOCK (struct snd_pcm_oss_runtime)->params_lock