Defined in 1 files as a prototype:

Defined in 1 files as a member:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

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

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 1 substream 4096-ptr_max
PARAM_VALUE 1 substream->active_sensing 0
PARAM_VALUE 1 substream->append 1
PARAM_VALUE 1 substream->opened 1
PARAM_VALUE 1 substream->pid 0,4096-ptr_max
PARAM_VALUE 1 substream->runtime 4096-ptr_max
PARAM_VALUE 1 substream->runtime->appl_ptr 0
PARAM_VALUE 1 substream->runtime->avail 0,4096
PARAM_VALUE 1 substream->runtime->avail_min 1
PARAM_VALUE 1 substream->runtime->buffer 16,4096-ptr_max
PARAM_VALUE 1 substream->runtime->buffer_size 4096
PARAM_VALUE 1 substream->runtime->event 0
PARAM_VALUE 1 substream->runtime->hw_ptr 0
PARAM_VALUE 1 substream->runtime->sleep.head.next 4096-ptr_max
PARAM_VALUE 1 substream->runtime->sleep.head.prev 4096-ptr_max
PARAM_VALUE 1 substream->runtime->substream 4096-ptr_max
PARAM_VALUE 2 cleanup 0
BUF_SIZE 0 rmidi (-1),6,24,72,104,144,184,208,240,256,272,344,376,448,520,552,560,632
BUF_SIZE 0 rmidi (-1),6,24,72,104,144,184,208,240,256,272,344,376,448,520,552,560,632
DATA_SOURCE 0 rmidi $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 0 &rmidi->open_mutex
TYPE_LOCK (struct snd_rawmidi)->open_mutex

sound/core/rawmidi.c rawmidi_release_priv() -> close_substream()

Type Parameter Key Value
PARAM_VALUE 1 substream 1-u64max
PARAM_VALUE 2 cleanup 1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 rmidi unit_byte
LOCK2 _T->lock

sound/core/rawmidi.c rawmidi_release_priv() -> close_substream()

Type Parameter Key Value
PARAM_VALUE 1 substream 1-u64max
PARAM_VALUE 2 cleanup 1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 rmidi unit_byte
LOCK2 _T->lock