Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

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

Type Parameter Key Value
PARAM_VALUE 0 card 4096-ptr_max
PARAM_VALUE 0 card->files_list.next 4096-ptr_max
PARAM_VALUE 0 card->files_list.next->next 4096-ptr_max
PARAM_VALUE 0 card->files_list.next->prev 4096-ptr_max
PARAM_VALUE 0 card->module 0,4096-ptr_max
PARAM_VALUE 0 card->shutdown 0
PARAM_VALUE 1 type 1
RX_PATH
TASK_NOT_RUNNING
LOCK2 &rmidi->open_mutex
TYPE_LOCK (struct snd_rawmidi)->open_mutex

sound/core/pcm.c snd_pcm_attach_substream() -> snd_ctl_get_preferred_subdevice()

Type Parameter Key Value
PARAM_VALUE 0 card 4096-ptr_max
PARAM_VALUE 0 card->files_list.next 4096-ptr_max
PARAM_VALUE 0 card->module 0,4096-ptr_max
PARAM_VALUE 0 card->shutdown 0
PARAM_VALUE 1 type 0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &pcm->open_mutex
TYPE_LOCK (struct snd_pcm)->open_mutex