Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
sound/usb/midi.c snd_usbmidi_input_close() -> substream_open()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->append | 0 |
| PARAM_VALUE | 0 | substream->opened | 0 |
| PARAM_VALUE | 0 | substream->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->ops->drain | 0,4096-ptr_max |
| PARAM_VALUE | 0 | substream->ops->trigger | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->use_count | 0 |
| PARAM_VALUE | 1 | dir | 1 |
| PARAM_VALUE | 2 | open | 0 |
| DATA_SOURCE | 0 | substream | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | _T->lock |
sound/usb/midi.c snd_usbmidi_input_open() -> substream_open()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime->appl_ptr | 0 |
| PARAM_VALUE | 0 | substream->runtime->avail | 0,4096 |
| PARAM_VALUE | 0 | substream->runtime->avail_min | 1 |
| PARAM_VALUE | 0 | substream->runtime->buffer | 16,4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime->buffer_size | 4096 |
| PARAM_VALUE | 0 | substream->runtime->event | 0 |
| PARAM_VALUE | 0 | substream->runtime->hw_ptr | 0 |
| PARAM_VALUE | 0 | substream->runtime->sleep.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime->sleep.head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime->substream | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->use_count | 0 |
| PARAM_VALUE | 1 | dir | 1 |
| PARAM_VALUE | 2 | open | 1 |
| DATA_SOURCE | 0 | substream | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &rmidi->open_mutex | ||
| HALF_LOCKED2 | _T->lock |
sound/usb/midi.c snd_usbmidi_output_close() -> substream_open()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->append | 0 |
| PARAM_VALUE | 0 | substream->opened | 0 |
| PARAM_VALUE | 0 | substream->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->ops->drain | 0,4096-ptr_max |
| PARAM_VALUE | 0 | substream->ops->trigger | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime->private_data | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->use_count | 0 |
| PARAM_VALUE | 1 | dir | 0 |
| PARAM_VALUE | 2 | open | 0 |
| DATA_SOURCE | 0 | substream | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | _T->lock |
sound/usb/midi.c snd_usbmidi_output_open() -> substream_open()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->rmidi | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime->appl_ptr | 0 |
| PARAM_VALUE | 0 | substream->runtime->avail | 0,4096 |
| PARAM_VALUE | 0 | substream->runtime->avail_min | 1 |
| PARAM_VALUE | 0 | substream->runtime->buffer | 16,4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime->buffer_size | 4096 |
| PARAM_VALUE | 0 | substream->runtime->event | 0 |
| PARAM_VALUE | 0 | substream->runtime->hw_ptr | 0 |
| PARAM_VALUE | 0 | substream->runtime->private_data | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime->sleep.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime->sleep.head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime->substream | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->use_count | 0 |
| PARAM_VALUE | 1 | dir | 0 |
| PARAM_VALUE | 2 | open | 1 |
| CAPPED_DATA | 0 | substream | 1 |
| DATA_SOURCE | 0 | substream | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &rmidi->open_mutex | ||
| HALF_LOCKED2 | _T->lock |