Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

sound/core/rawmidi.c snd_rawmidi_kernel_open_nested() -> rawmidi_open_priv()

Type Parameter Key Value
PARAM_VALUE 0 rmidi 4096-ptr_max
PARAM_VALUE 0 rmidi->card 4096-ptr_max
PARAM_VALUE 0 rmidi->card->module 0,4096-ptr_max
PARAM_VALUE 0 rmidi->card->module->refcnt.counter 0-s32max
PARAM_VALUE 0 rmidi->card->module->state 0-1,3-u32max
PARAM_VALUE 0 rmidi->open_mutex.dep_map->name 0-255
PARAM_VALUE 0 rmidi->open_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 rmidi->open_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 rmidi->open_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 rmidi->open_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 rmidi->open_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 rmidi->open_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 2 mode 1-2,5
PARAM_VALUE 3 rfile 4096-ptr_max
CAPPED_DATA 0 &rmidi->open_mutex 1
DATA_SOURCE 0 rmidi $0
DATA_SOURCE 1 subdevice $1
DATA_SOURCE 2 mode $2
DATA_SOURCE 3 rfile $3
HARD_MAX 2 mode 5
RX_PATH
TASK_NOT_RUNNING
UNITS 0 rmidi unit_byte
UNITS 1 subdevice unit_array_size
LOCK2 0 &rmidi->open_mutex
HALF_LOCKED2 _T->lock
TYPE_LOCK (struct snd_rawmidi)->open_mutex

sound/core/rawmidi.c snd_rawmidi_open() -> rawmidi_open_priv()

Type Parameter Key Value
PARAM_VALUE 0 rmidi 4096-ptr_max
PARAM_VALUE 0 rmidi->card 4096-ptr_max
PARAM_VALUE 0 rmidi->card->files_list.next 4096-ptr_max
PARAM_VALUE 0 rmidi->card->files_list.next->next 4096-ptr_max
PARAM_VALUE 0 rmidi->card->files_list.next->prev 4096-ptr_max
PARAM_VALUE 0 rmidi->card->module 0,4096-ptr_max
PARAM_VALUE 0 rmidi->card->module->refcnt.counter 0-s32max
PARAM_VALUE 0 rmidi->card->module->state 0-1,3-u32max
PARAM_VALUE 0 rmidi->card->shutdown 0
PARAM_VALUE 0 rmidi->open_mutex.dep_map->name 0-255
PARAM_VALUE 0 rmidi->open_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 rmidi->open_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 rmidi->open_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 rmidi->open_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 rmidi->open_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 rmidi->open_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 rmidi->open_wait.lock.rlock.dep_map->name 0-255
PARAM_VALUE 2 mode 1-3,5-7
PARAM_VALUE 3 rfile 4096-ptr_max
PARAM_VALUE 3 rfile->user_pversion 0
BUF_SIZE 0 rmidi 6,24,72,104,144,184,208,240,256,272,344,376,448,520,552,560,632
BUF_SIZE 0 rmidi 6,24,72,104,144,184,208,240,256,272,344,376,448,520,552,560,632
BUF_SIZE 3 rfile 32
CAPPED_DATA 0 &rmidi->open_mutex 1
DATA_SOURCE 1 subdevice r snd_ctl_get_preferred_subdevice
DATA_SOURCE 3 rfile r _kmalloc_noprof
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &rmidi->open_mutex
TYPE_LOCK (struct snd_rawmidi)->open_mutex