Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

sound/core/pcm_native.c snd_pcm_lib_read() -> __snd_pcm_lib_xfer()

Type Parameter Key Value
PARAM_VALUE 0 substream 4096-ptr_max
PARAM_VALUE 0 substream->runtime 4096-ptr_max
PARAM_VALUE 2 interleaved 1
PARAM_VALUE 4 in_kernel 0
DATA_SOURCE 0 substream $0
DATA_SOURCE 1 data $1
DATA_SOURCE 3 size $2
USER_DATA 3 size 0-u64max

sound/core/pcm_native.c snd_pcm_lib_readv() -> __snd_pcm_lib_xfer()

Type Parameter Key Value
PARAM_VALUE 0 substream 4096-ptr_max
PARAM_VALUE 0 substream->runtime 4096-ptr_max
PARAM_VALUE 0 substream->runtime->channels 0-1024,2147483648-u32max
PARAM_VALUE 1 data 1-ptr_max
PARAM_VALUE 2 interleaved 0
PARAM_VALUE 4 in_kernel 0
BUF_SIZE 1 data (-1),8
BUF_SIZE 1 data (-1),8
DATA_SOURCE 0 substream $0
DATA_SOURCE 1 data $1
DATA_SOURCE 3 size $2
FUZZY_MAX 0 substream->runtime->channels 128
RX_PATH
TASK_NOT_RUNNING
USER_DATA 3 size 0-u64max
USER_PTR 1 data

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

Type Parameter Key Value
PARAM_VALUE 0 substream 4096-ptr_max
PARAM_VALUE 0 substream->runtime 4096-ptr_max
PARAM_VALUE 2 interleaved 1
PARAM_VALUE 4 in_kernel 0
DATA_SOURCE 0 substream $0
DATA_SOURCE 1 data $1
DATA_SOURCE 3 size $2
USER_DATA 3 size 0-u64max

sound/core/pcm_native.c snd_pcm_lib_writev() -> __snd_pcm_lib_xfer()

Type Parameter Key Value
PARAM_VALUE 0 substream 4096-ptr_max
PARAM_VALUE 0 substream->runtime 4096-ptr_max
PARAM_VALUE 0 substream->runtime->channels 0-128,2147483648-u32max
PARAM_VALUE 1 data 1-ptr_max
PARAM_VALUE 2 interleaved 0
PARAM_VALUE 4 in_kernel 0
BUF_SIZE 1 data (-1),8
BUF_SIZE 1 data (-1),8
DATA_SOURCE 0 substream $0
DATA_SOURCE 1 data $1
DATA_SOURCE 3 size $2
FUZZY_MAX 0 substream->runtime->channels 128
RX_PATH
TASK_NOT_RUNNING
USER_DATA 3 size 0-u64max
USER_PTR 1 data

drivers/usb/gadget/function/u_uac1_legacy.c snd_pcm_kernel_write() -> __snd_pcm_lib_xfer()

Type Parameter Key Value
PARAM_VALUE 0 substream 4096-ptr_max
PARAM_VALUE 2 interleaved 1
PARAM_VALUE 4 in_kernel 1
BUF_SIZE 1 data s32min-(-2),1-s32max
BUF_SIZE 1 data s32min-(-2),1-s32max
CAPPED_DATA 0 substream 1
DATA_SOURCE 0 substream $0
DATA_SOURCE 1 data $1
DATA_SOURCE 3 size $2
HALF_LOCKED2 &pool->lock

sound/core/oss/pcm_oss.c snd_pcm_kernel_readv() -> __snd_pcm_lib_xfer()

Type Parameter Key Value
PARAM_VALUE 0 substream 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 1 data 1-u64max
PARAM_VALUE 2 interleaved 0
PARAM_VALUE 3 size 0-9223372036854775807
PARAM_VALUE 4 in_kernel 1
DATA_SOURCE 0 substream $0
DATA_SOURCE 1 data $1
DATA_SOURCE 3 size $2
RX_PATH
TASK_NOT_RUNNING
LOCK2 &runtime->oss.params_lock
TYPE_LOCK (struct snd_pcm_oss_runtime)->params_lock

sound/core/oss/pcm_oss.c snd_pcm_kernel_writev() -> __snd_pcm_lib_xfer()

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_report.accuracy 0,42
PARAM_VALUE 0 substream->runtime->audio_tstamp_report.actual_type 0-2,5
PARAM_VALUE 1 data 1-u64max
PARAM_VALUE 2 interleaved 0
PARAM_VALUE 3 size 0-9223372036854775807
PARAM_VALUE 4 in_kernel 1
DATA_SOURCE 0 substream $0
DATA_SOURCE 1 data $1
DATA_SOURCE 3 size $2
RX_PATH
TASK_NOT_RUNNING
LOCK2 &runtime->oss.params_lock
TYPE_LOCK (struct snd_pcm_oss_runtime)->params_lock

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

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->mutex->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
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.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->state s32min-5,7-s32max
PARAM_VALUE 0 substream->runtime->trigger_master->runtime 4096-ptr_max
PARAM_VALUE 1 data 0
PARAM_VALUE 2 interleaved 1
PARAM_VALUE 4 in_kernel 0
CAPPED_DATA 0 substream 1
DATA_SOURCE 0 substream $0
DATA_SOURCE 1 data $1
DATA_SOURCE 3 size $2
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 *substream->runtime->oss.buffer 0-255
UNITS 3 size 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/pcm_oss.c snd_pcm_lib_writev() -> __snd_pcm_lib_xfer()

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->mutex->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
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.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->state s32min-5,7-s32max
PARAM_VALUE 0 substream->runtime->trigger_master->runtime 4096-ptr_max
PARAM_VALUE 1 data 0
PARAM_VALUE 2 interleaved 0
PARAM_VALUE 4 in_kernel 0
CAPPED_DATA 0 substream 1
DATA_SOURCE 0 substream $0
DATA_SOURCE 1 data $1
DATA_SOURCE 3 size $2
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 *substream->runtime->oss.buffer 0-255
UNITS 3 size 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/pcm_oss.c snd_pcm_oss_read3() -> __snd_pcm_lib_xfer()

Type Parameter Key Value
PARAM_VALUE 0 substream 4096-ptr_max
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->driver_tstamp.tv_nsec 0-999999999
PARAM_VALUE 2 interleaved 1
BUF_SIZE 1 data s32min,(-1),1-131072
BUF_SIZE 1 data s32min,(-1),1-131072
DATA_SOURCE 0 substream $0
DATA_SOURCE 1 data $1
DATA_SOURCE 3 size $2
DATA_SOURCE 4 in_kernel $3
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 substream->runtime->private_data->core.tc.cycle_last s64min-s64max
HOST_DATA 0 substream->snapshot.cycles s64min-s64max
UNITS 1 data unit_byte
LOCK2 &runtime->oss.params_lock

sound/core/oss/pcm_oss.c snd_pcm_oss_write3() -> __snd_pcm_lib_xfer()

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_report.accuracy 0,42
PARAM_VALUE 0 substream->runtime->audio_tstamp_report.actual_type 0-2,5
PARAM_VALUE 2 interleaved 1
BUF_SIZE 1 data s32min,(-1),1-131072
BUF_SIZE 1 data s32min,(-1),1-131072
DATA_SOURCE 0 substream $0
DATA_SOURCE 1 data $1
DATA_SOURCE 3 size $2
DATA_SOURCE 4 in_kernel $3
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 substream->runtime->private_data->core.tc.cycle_last s64min-s64max
USER_DATA 0 substream->runtime->private_data->gus->gf1.dma_data_pcm_last->count 33-4294967295[c]
USER_DATA 0 substream->runtime->private_data->gus->gf1.dma_data_pcm_last->next->count 33-4294967295[c]
USER_DATA 0 substream->runtime->trigger_master->f_flags 0-u32max
USER_DATA 0 *substream->runtime->oss.buffer 0-255
UNITS 1 data unit_byte
USER_PTR 0 substream->runtime->oss.buffer
LOCK2 &runtime->oss.params_lock