Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

sound/core/rawmidi.c reset_runtime_ptrs() -> __reset_runtime_ptrs()

Type Parameter Key Value
PARAM_VALUE 0 runtime 1-u64max
DATA_SOURCE 1 is_input $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &substream->lock
LOCK2 irq
TYPE_LOCK (struct snd_rawmidi_substream)->lock

sound/core/rawmidi.c resize_runtime_buffer() -> __reset_runtime_ptrs()

Type Parameter Key Value
PARAM_VALUE 0 runtime 4096-ptr_max
PARAM_VALUE 0 runtime->buffer_size 32-1048576
BUF_SIZE 0 runtime->buffer 32-1048576
CAPPED_DATA 0 runtime->buffer_size 1
DATA_SOURCE 1 is_input $2
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 runtime->buffer_size 32-1048576[c]
LOCK2 &substream->lock
LOCK2 _T->lock
LOCK2 irq
TYPE_LOCK (struct snd_rawmidi_substream)->lock