Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

sound/core/seq/seq_midi.c midisynth_subscribe() -> snd_rawmidi_kernel_open()

Type Parameter Key Value
PARAM_VALUE 2 mode 2
PARAM_VALUE 3 rfile 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 rmidi unit_byte
UNITS 1 subdevice unit_array_size
LOCK2 _T->lock

sound/core/seq/seq_midi.c midisynth_use() -> snd_rawmidi_kernel_open()

Type Parameter Key Value
PARAM_VALUE 2 mode 1
PARAM_VALUE 3 rfile 78255104772165632
PARAM_VALUE 3 rfile->input 0
PARAM_VALUE 3 rfile->output 0
PARAM_VALUE 3 rfile->rmidi 0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 rmidi unit_byte
UNITS 1 subdevice unit_array_size
LOCK2 _T->lock

sound/core/seq/seq_ump_client.c seq_ump_client_open() -> snd_rawmidi_kernel_open()

Type Parameter Key Value
PARAM_VALUE 1 subdevice 0
PARAM_VALUE 2 mode 5
PARAM_VALUE 3 rfile 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
LOCK2 _T->lock

sound/core/ump.c ump_request_open() -> snd_rawmidi_kernel_open()

Type Parameter Key Value
PARAM_VALUE 0 rmidi 4096-ptr_max
PARAM_VALUE 0 rmidi->info_flags 4-u32max
PARAM_VALUE 1 subdevice 0
PARAM_VALUE 2 mode 1
PARAM_VALUE 3 rfile 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 _T->lock