Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

sound/core/pcm_native.c snd_pcm_ioctl_xferi_compat() -> snd_pcm_lib_write()

Type Parameter Key Value
PARAM_VALUE 0 substream 4096-ptr_max
PARAM_VALUE 0 substream->runtime 4096-ptr_max
PARAM_VALUE 0 substream->runtime->state s32min-(-1),1-s32max
PARAM_VALUE 0 substream->stream 0-1
PARAM_VALUE 1 buf 0-u32max
CAPPED_DATA 0 substream->stream 1
DATA_SOURCE 0 substream $0
USER_DATA 2 frames 0-u32max

sound/core/pcm_native.c snd_pcm_write() -> snd_pcm_lib_write()

Type Parameter Key Value
PARAM_VALUE 0 substream 4096-ptr_max
PARAM_VALUE 0 substream->runtime 4096-ptr_max
PARAM_VALUE 0 substream->runtime->state s32min-(-1),1-7,9-s32max
DATA_SOURCE 1 buf $1
DATA_SOURCE 2 frames r bytes_to_frames
BIT_INFO 2 frames 0x0,0x7fffffffffffffff
BIT_INFO 2 frames 0x0,0x7fffffffffffffff
USER_DATA 2 frames 0-8000000000[c]

sound/core/pcm_native.c snd_pcm_xferi_frames_ioctl() -> snd_pcm_lib_write()

Type Parameter Key Value
PARAM_VALUE 0 substream 4096-ptr_max
PARAM_VALUE 0 substream->pcm 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->state s32min-(-1),1-s32max
PARAM_VALUE 0 substream->stream 0
DATA_SOURCE 0 substream $0
USER_DATA 2 frames 0-u64max

sound/core/oss/pcm_oss.c snd_pcm_oss_sync() -> snd_pcm_lib_write()

Type Parameter Key Value
PARAM_VALUE 0 substream 4096-ptr_max
PARAM_VALUE 0 substream->bp->hwrm_dma_pool->next_block->next_block 0
PARAM_VALUE 0 substream->group->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 substream->runtime->audio_tstamp_report.accuracy 0,42
PARAM_VALUE 0 substream->runtime->audio_tstamp_report.accuracy_report 1
PARAM_VALUE 0 substream->runtime->audio_tstamp_report.actual_type 0-2,5
PARAM_VALUE 0 substream->runtime->avail_max 1-u64max
PARAM_VALUE 0 substream->runtime->buffer_mutex.dep_map->name 0-255
PARAM_VALUE 0 substream->runtime->buffer_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 substream->runtime->buffer_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 substream->runtime->buffer_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 substream->runtime->buffer_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 substream->runtime->buffer_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 substream->runtime->buffer_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 substream->runtime->buffer_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 substream->runtime->driver_tstamp.tv_nsec 0-999999999
PARAM_VALUE 0 substream->runtime->oss.buffer_used 0
PARAM_VALUE 0 substream->runtime->oss.params_lock.dep_map->name 0-255
PARAM_VALUE 0 substream->runtime->oss.params_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 substream->runtime->oss.params_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 substream->runtime->oss.period_ptr 0
PARAM_VALUE 0 substream->runtime->oss.prepare 0
PARAM_VALUE 0 substream->runtime->private_data->gus->gf1.dma_data_pcm_last->ack 8441728080883621888
PARAM_VALUE 0 substream->runtime->private_data->gus->gf1.dma_data_pcm_last->addr 0,32-4294967295
PARAM_VALUE 0 substream->runtime->private_data->gus->gf1.dma_data_pcm_last->cmd 32,96,160,224
PARAM_VALUE 0 substream->runtime->private_data->gus->gf1.dma_data_pcm_last->next 0
PARAM_VALUE 0 substream->runtime->private_data->gus->gf1.dma_data_pcm_last->next->ack 8441728080883621888
PARAM_VALUE 0 substream->runtime->private_data->gus->gf1.dma_data_pcm_last->next->addr 0,32-4294967295
PARAM_VALUE 0 substream->runtime->private_data->gus->gf1.dma_data_pcm_last->next->cmd 32,96,160,224
PARAM_VALUE 0 substream->runtime->private_data->gus->gf1.dma_data_synth_last->next 0
PARAM_VALUE 0 substream->runtime->private_data->timer_instance.is_hard 0-1
PARAM_VALUE 0 substream->runtime->private_data->timer_instance.is_lazy 0-1
PARAM_VALUE 0 substream->runtime->private_data->timer_instance.is_queued 0-1
PARAM_VALUE 0 substream->runtime->private_data->timer_instance.is_soft 0-1
PARAM_VALUE 0 substream->runtime->status->state 4-5
PARAM_VALUE 0 substream->runtime->trigger_tstamp_latched 0
PARAM_VALUE 1 buf 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 substream->runtime->private_data->core.tc.cycle_last s64min-s64max
USER_DATA 0 *substream->runtime->oss.buffer 0-255
UNITS 2 frames unit_byte
USER_PTR 0 substream->runtime->oss.buffer
LOCK2 &runtime->oss.params_lock
TYPE_LOCK (struct snd_pcm_oss_runtime)->params_lock