Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

sound/core/pcm_lib.c __snd_pcm_lib_xfer() -> snd_pcm_update_hw_ptr()

Type Parameter Key Value
PARAM_VALUE 0 substream 4096-ptr_max
PARAM_VALUE 0 substream->ops 4096-ptr_max
PARAM_VALUE 0 substream->pcm 4096-ptr_max
PARAM_VALUE 0 substream->runtime 4096-ptr_max
PARAM_VALUE 0 substream->runtime->control 4096-ptr_max
PARAM_VALUE 0 substream->runtime->state 3
PARAM_VALUE 0 substream->runtime->twake 1-u64max
CAPPED_DATA 0 substream 1
DATA_SOURCE 0 substream $0
FUZZY_MAX 0 substream->runtime->twake 1
BIT_INFO 0 substream->f_flags 0x0,0xffffffff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 substream->runtime->no_period_wakeup 0-1
USER_DATA 0 substream->runtime->rate_den 0-u32max
USER_DATA 0 substream->runtime->rate_num 0-u32max
USER_DATA 0 substream->runtime->trigger_master->f_flags 0-u32max
USER_DATA 0 *substream->runtime->oss.buffer 0-255
USER_PTR 0 substream->runtime->oss.buffer
HALF_LOCKED2 &runtime->oss.params_lock

sound/core/pcm_lib.c snd_pcm_lib_ioctl_reset() -> snd_pcm_update_hw_ptr()

Type Parameter Key Value
PARAM_VALUE 0 substream 4096-ptr_max
PARAM_VALUE 0 substream->dma_buffer.dev.dev->cma_area->available_count 0-s64max
PARAM_VALUE 0 substream->dma_buffer.dev.dev->cma_area->nranges s32min-s32max
PARAM_VALUE 0 substream->dma_buffer.dev.dev->dma_io_tlb_mem->for_alloc 0-1
PARAM_VALUE 0 substream->dma_buffer.dev.dev->iommu_group->default_domain 0-s64max
PARAM_VALUE 0 substream->ops 4096-ptr_max
PARAM_VALUE 0 substream->pstr->stream 0-1
PARAM_VALUE 0 substream->runtime 4096-ptr_max
PARAM_VALUE 0 substream->runtime->audio_tstamp_report.accuracy 0,42
PARAM_VALUE 0 substream->runtime->audio_tstamp_report.actual_type 0-2,5
PARAM_VALUE 0 substream->runtime->dma_buffer_p->dev.dev->iommu_group->default_domain 0-s64max
PARAM_VALUE 0 substream->runtime->fasync->on s32min-s32max
PARAM_VALUE 0 substream->runtime->fasync->poll s32min-s32max
PARAM_VALUE 0 substream->runtime->fasync->signal s32min-s32max
PARAM_VALUE 0 substream->runtime->oss.plugin_first->action 0-s64max
PARAM_VALUE 0 substream->runtime->oss.plugin_first->client_channels 0-s64max
PARAM_VALUE 0 substream->runtime->oss.plugin_first->dst_frames 0-s64max
PARAM_VALUE 0 substream->runtime->oss.plugin_first->dst_width s32min-s32max
PARAM_VALUE 0 substream->runtime->oss.plugin_first->name 0-s64max
PARAM_VALUE 0 substream->runtime->oss.plugin_first->src_frames 0-s64max
PARAM_VALUE 0 substream->runtime->oss.plugin_first->src_width s32min-s32max
PARAM_VALUE 0 substream->runtime->oss.plugin_last->action 0-s64max
PARAM_VALUE 0 substream->runtime->oss.plugin_last->client_channels 0-s64max
PARAM_VALUE 0 substream->runtime->oss.plugin_last->dst_frames 0-s64max
PARAM_VALUE 0 substream->runtime->oss.plugin_last->dst_width s32min-s32max
PARAM_VALUE 0 substream->runtime->oss.plugin_last->name 0-s64max
PARAM_VALUE 0 substream->runtime->oss.plugin_last->src_frames 0-s64max
PARAM_VALUE 0 substream->runtime->oss.plugin_last->src_width s32min-s32max
PARAM_VALUE 0 substream->runtime->state 3,5
PARAM_VALUE 0 substream->stream 0
PARAM_VALUE 0 substream->timer->hw.flags 0-2,4-u32max
BUF_SIZE 0 substream s32min-(-1),1-s32max
BUF_SIZE 0 substream s32min-(-1),1-s32max
DATA_SOURCE 0 substream $0
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 substream->f_flags 0-u32max
USER_DATA 0 substream->runtime->no_period_wakeup 0-1
USER_DATA 0 substream->runtime->rate_den 0-u32max
USER_DATA 0 substream->runtime->rate_num 0-u32max
USER_DATA 0 substream->runtime->trigger_master->f_flags 0-u32max
USER_DATA 0 *substream->runtime->oss.buffer 0-255
NO_OVERFLOW_SIMPLE 0 substream->runtime->dma_buffer_p->addr
USER_PTR 0 substream->runtime->oss.buffer
HALF_LOCKED2 0 &substream->runtime->buffer_mutex
HALF_LOCKED2 0 &substream->self_group.lock
HALF_LOCKED2 0 &substream->self_group.mutex

sound/core/pcm_native.c do_pcm_hwsync() -> snd_pcm_update_hw_ptr()

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 3,5
PARAM_VALUE 0 substream->stream s32min-0,2-s32max
DATA_SOURCE 0 substream $0
RX_PATH
TASK_NOT_RUNNING

sound/core/pcm_native.c snd_pcm_status64() -> snd_pcm_update_hw_ptr()

Type Parameter Key Value
PARAM_VALUE 0 substream 4096-ptr_max
PARAM_VALUE 0 substream->runtime 4096-ptr_max
PARAM_VALUE 0 substream->runtime->audio_tstamp_config.type_requested 1-15
PARAM_VALUE 0 substream->runtime->state 3,5
PARAM_VALUE 0 substream->stream 0
BUF_SIZE 0 substream s32min-(-1),1-s32max
BUF_SIZE 0 substream s32min-(-1),1-s32max
DATA_SOURCE 0 substream $0
FUZZY_MAX 0 substream->runtime->audio_tstamp_config.type_requested 2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 substream unit_byte
HALF_LOCKED2 &seq->lock
HALF_LOCKED2 _T->lock