Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

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

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 0 substream->runtime->state s32min-(-1),1-s32max
PARAM_VALUE 0 substream->stream 0-1
PARAM_VALUE 1 bufs 16,4096-ptr_max
BUF_SIZE 1 bufs 8
CAPPED_DATA 0 substream->stream 1
DATA_SOURCE 0 substream $0
DATA_SOURCE 1 bufs r _kmalloc_array_noprof
USER_DATA 2 frames 0-u32max

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

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
PARAM_VALUE 0 substream->runtime->state s32min-(-1),1-7,9-s32max
PARAM_VALUE 1 bufs 16,4096-ptr_max
BUF_SIZE 1 bufs 8
DATA_SOURCE 1 bufs r _kmalloc_array_noprof
DATA_SOURCE 2 frames r bytes_to_samples
BIT_INFO 2 frames 0x0,0x7fffffffffffffff
BIT_INFO 2 frames 0x0,0x7fffffffffffffff
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

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

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->channels 0-128
PARAM_VALUE 0 substream->runtime->state s32min-(-1),1-s32max
PARAM_VALUE 0 substream->stream s32min-(-1),1-s32max
PARAM_VALUE 1 bufs 1-ptr_max
DATA_SOURCE 0 substream $0
DATA_SOURCE 1 bufs r memdup_array_user
FUZZY_MAX 0 substream->runtime->channels 128
HARD_MAX 0 substream->runtime->channels 128
USER_DATA 2 frames 0-u64max
USER_PTR 1 bufs