Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

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

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_read() -> snd_pcm_lib_read()

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_read()

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 s32min-(-1),1-s32max
DATA_SOURCE 0 substream $0
USER_DATA 2 frames 0-u64max