Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

sound/core/rawmidi.c snd_rawmidi_kernel_write() -> snd_rawmidi_kernel_write1()

Type Parameter Key Value
PARAM_VALUE 1 userbuf 0
BUF_SIZE 0 substream (-1),8,16
BUF_SIZE 0 substream (-1),8,16
BUF_SIZE 2 kernelbuf (-1),10,12,16,32
BUF_SIZE 2 kernelbuf (-1),10,12,16,32
CAPPED_DATA 3 count 1
CAPPED_DATA 3 count 1
DATA_SOURCE 0 substream $0
DATA_SOURCE 2 kernelbuf $1
DATA_SOURCE 3 count $2
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 *kernelbuf 0-255
USER_DATA 3 count s32min-s32max[c]
UNITS 2 kernelbuf unit_byte
UNITS 3 count unit_byte
USER_PTR 2 kernelbuf
HALF_LOCKED2 _T->lock
HALF_LOCKED2 rcu_read

sound/core/rawmidi.c snd_rawmidi_write() -> snd_rawmidi_kernel_write1()

Type Parameter Key Value
PARAM_VALUE 0 substream 4096-ptr_max
PARAM_VALUE 0 substream->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 substream->runtime 4096-ptr_max
PARAM_VALUE 2 kernelbuf 0
PARAM_VALUE 3 count (-2147483646)-(-1),1-2147479552
CAPPED_DATA 0 substream->runtime->avail_min 1
CAPPED_DATA 3 count 1
DATA_SOURCE 1 userbuf $1
DATA_SOURCE 3 count $2
PARAM_COMPARE 0 substream->runtime->avail >= $0->runtime->avail_min
NOSPEC 0 substream->runtime->avail
USER_DATA 0 substream->runtime->avail 1-9223372036854775806[c]
USER_DATA 1 userbuf 0-u64max[c]
USER_DATA 3 count 1-1000000000[c]
UNITS 3 count unit_byte