Defined in 1 files as a member:
Defined in 5 files as a function:
- sound/firewire/dice/dice-stream.c, line 256 (as a function)
- sound/firewire/digi00x/digi00x-stream.c, line 125 (as a function)
- sound/firewire/fireface/ff-stream.c, line 33 (as a function)
- sound/firewire/motu/motu-stream.c, line 85 (as a function)
- sound/firewire/tascam/tascam-stream.c, line 193 (as a function)
Referenced in 7 files:
- sound/firewire/dice/dice-stream.c
- sound/firewire/digi00x/digi00x-stream.c
- sound/firewire/fireface/ff-protocol-former.c
- sound/firewire/fireface/ff-protocol-latter.c, line 538
- sound/firewire/fireface/ff-stream.c
- sound/firewire/motu/motu-stream.c
- sound/firewire/tascam/tascam-stream.c
Smatch caller information:
sound/firewire/fireface/ff-stream.c snd_ff_stream_reserve_duplex() -> finish_session()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dg00x | 4096-ptr_max |
| PARAM_VALUE | 0 | dg00x->domain.events_per_period | 0 |
| PARAM_VALUE | 0 | dg00x->domain.irq_target | 0 |
| PARAM_VALUE | 0 | dg00x->spec | 4096-ptr_max |
| PARAM_VALUE | 0 | dg00x->spec->protocol | 4096-ptr_max |
| BUF_SIZE | 0 | dg00x | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | dg00x | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | dg00x | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | dg00x | unit_byte |
| LOCK2 | &runtime->buffer_mutex | ||
| LOCK2 | _T->lock | ||
| TYPE_LOCK | (struct snd_pcm_runtime)->buffer_mutex |
sound/firewire/fireface/ff-stream.c snd_ff_stream_start_duplex() -> finish_session()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dg00x | 4096-ptr_max |
| PARAM_VALUE | 0 | dg00x->domain.events_per_period | 0 |
| PARAM_VALUE | 0 | dg00x->domain.irq_target | 0 |
| PARAM_VALUE | 0 | dg00x->substreams_counter | 1-u32max |
| BUF_SIZE | 0 | dg00x | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | dg00x | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | dg00x | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | dg00x | unit_byte |
| LOCK2 | _T->lock |
sound/firewire/fireface/ff-stream.c snd_ff_stream_start_duplex() -> finish_session()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dg00x | 4096-ptr_max |
| PARAM_VALUE | 0 | dg00x->domain.events_per_period | 0 |
| PARAM_VALUE | 0 | dg00x->domain.irq_target | 0 |
| PARAM_VALUE | 0 | dg00x->rx_stream.context | (-4095)-(-1) |
| PARAM_VALUE | 0 | dg00x->spec | 4096-ptr_max |
| PARAM_VALUE | 0 | dg00x->spec->protocol | 4096-ptr_max |
| PARAM_VALUE | 0 | dg00x->spec->protocol->finish_session | 4096-ptr_max |
| PARAM_VALUE | 0 | dg00x->spec->protocol->switch_fetching_mode | 4096-ptr_max |
| PARAM_VALUE | 0 | dg00x->substreams_counter | 1-u32max |
| PARAM_VALUE | 0 | dg00x->unit | 4096-ptr_max |
| BUF_SIZE | 0 | dg00x | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | dg00x | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | &dg00x->rx_stream | 1 |
| CAPPED_DATA | 0 | &dg00x->tx_stream | 1 |
| DATA_SOURCE | 0 | dg00x | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | dg00x | unit_byte |
| LOCK2 | _T->lock |
sound/firewire/fireface/ff-stream.c snd_ff_stream_stop_duplex() -> finish_session()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dg00x | 4096-ptr_max |
| PARAM_VALUE | 0 | dg00x->domain.events_per_period | 0 |
| PARAM_VALUE | 0 | dg00x->domain.irq_target | 0 |
| PARAM_VALUE | 0 | dg00x->substreams_counter | 0 |
| BUF_SIZE | 0 | dg00x | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | dg00x | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | dg00x | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | dg00x | unit_byte |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &runtime->buffer_mutex |
sound/firewire/motu/motu-stream.c snd_motu_stream_reserve_duplex() -> finish_session()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dg00x | 4096-ptr_max |
| PARAM_VALUE | 0 | dg00x->domain.events_per_period | 0 |
| PARAM_VALUE | 0 | dg00x->domain.irq_target | 0 |
| PARAM_VALUE | 0 | dg00x->spec | 4096-ptr_max |
| PARAM_VALUE | 0 | dg00x->spec->protocol_version | 0-2 |
| BUF_SIZE | 0 | dg00x | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | dg00x | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | dg00x | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | dg00x | unit_byte |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &runtime->buffer_mutex |
sound/firewire/motu/motu-stream.c snd_motu_stream_start_duplex() -> finish_session()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dg00x | 4096-ptr_max |
| PARAM_VALUE | 0 | dg00x->domain.events_per_period | 0 |
| PARAM_VALUE | 0 | dg00x->domain.irq_target | 0 |
| PARAM_VALUE | 0 | dg00x->substreams_counter | 1-u32max |
| PARAM_VALUE | 0 | *dg00x->rx_packet_formats.pcm_chunks | 0-255 |
| PARAM_VALUE | 0 | *dg00x->tx_packet_formats.pcm_chunks | 0-255 |
| BUF_SIZE | 0 | dg00x | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | dg00x | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | dg00x | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | dg00x->cache.size | |
| UNITS | 0 | dg00x | unit_byte |
| LOCK2 | _T->lock |
sound/firewire/motu/motu-stream.c snd_motu_stream_start_duplex() -> finish_session()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dg00x | 4096-ptr_max |
| PARAM_VALUE | 0 | dg00x->domain.events_per_period | 0 |
| PARAM_VALUE | 0 | dg00x->domain.irq_target | 0 |
| PARAM_VALUE | 0 | dg00x->rx_stream.context | (-4095)-(-1) |
| PARAM_VALUE | 0 | dg00x->spec | 4096-ptr_max |
| PARAM_VALUE | 0 | dg00x->substreams_counter | 1-u32max |
| PARAM_VALUE | 0 | dg00x->unit | 4096-ptr_max |
| PARAM_VALUE | 0 | *dg00x->rx_packet_formats.pcm_chunks | 0-255 |
| PARAM_VALUE | 0 | *dg00x->tx_packet_formats.pcm_chunks | 0-255 |
| BUF_SIZE | 0 | dg00x | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | dg00x | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | &dg00x->rx_stream | 1 |
| CAPPED_DATA | 0 | &dg00x->tx_stream | 1 |
| DATA_SOURCE | 0 | dg00x | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | dg00x->cache.size | |
| UNITS | 0 | dg00x | unit_byte |
| LOCK2 | _T->lock |
sound/firewire/motu/motu-stream.c snd_motu_stream_stop_duplex() -> finish_session()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dg00x | 4096-ptr_max |
| PARAM_VALUE | 0 | dg00x->domain.events_per_period | 0 |
| PARAM_VALUE | 0 | dg00x->domain.irq_target | 0 |
| PARAM_VALUE | 0 | dg00x->substreams_counter | 0 |
| BUF_SIZE | 0 | dg00x | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | dg00x | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | dg00x | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | dg00x | unit_byte |
| LOCK2 | _T->lock |
sound/firewire/tascam/tascam-stream.c snd_tscm_stream_reserve_duplex() -> finish_session()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dg00x | 4096-ptr_max |
| PARAM_VALUE | 0 | dg00x->domain.events_per_period | 0 |
| PARAM_VALUE | 0 | dg00x->domain.irq_target | 0 |
| PARAM_VALUE | 0 | dg00x->unit | 4096-ptr_max |
| BUF_SIZE | 0 | dg00x | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | dg00x | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | dg00x | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | dg00x | unit_byte |
| LOCK2 | &runtime->buffer_mutex | ||
| LOCK2 | _T->lock | ||
| TYPE_LOCK | (struct snd_pcm_runtime)->buffer_mutex |
sound/firewire/tascam/tascam-stream.c snd_tscm_stream_start_duplex() -> finish_session()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dg00x | 4096-ptr_max |
| PARAM_VALUE | 0 | dg00x->domain.events_per_period | 0 |
| PARAM_VALUE | 0 | dg00x->domain.irq_target | 0 |
| PARAM_VALUE | 0 | dg00x->substreams_counter | 1-u32max |
| BUF_SIZE | 0 | dg00x | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | dg00x | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | dg00x | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | dg00x | unit_byte |
| LOCK2 | _T->lock |
sound/firewire/tascam/tascam-stream.c snd_tscm_stream_start_duplex() -> finish_session()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dg00x | 4096-ptr_max |
| PARAM_VALUE | 0 | dg00x->domain.events_per_period | 0 |
| PARAM_VALUE | 0 | dg00x->domain.irq_target | 0 |
| PARAM_VALUE | 0 | dg00x->spec->has_spdif | 1 |
| PARAM_VALUE | 0 | dg00x->spec->pcm_capture_analog_channels | 8 |
| PARAM_VALUE | 0 | dg00x->spec->pcm_playback_analog_channels | 2,8 |
| PARAM_VALUE | 0 | dg00x->substreams_counter | 1-u32max |
| PARAM_VALUE | 0 | dg00x->unit | 4096-ptr_max |
| BUF_SIZE | 0 | dg00x | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | dg00x | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | &dg00x->rx_stream | 1 |
| CAPPED_DATA | 0 | &dg00x->tx_stream | 1 |
| DATA_SOURCE | 0 | dg00x | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | dg00x | unit_byte |
| LOCK2 | _T->lock |
sound/firewire/tascam/tascam-stream.c snd_tscm_stream_stop_duplex() -> finish_session()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dg00x | 4096-ptr_max |
| PARAM_VALUE | 0 | dg00x->domain.events_per_period | 0 |
| PARAM_VALUE | 0 | dg00x->domain.irq_target | 0 |
| PARAM_VALUE | 0 | dg00x->substreams_counter | 0 |
| BUF_SIZE | 0 | dg00x | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | dg00x | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | dg00x | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | dg00x | unit_byte |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &runtime->buffer_mutex |
sound/firewire/dice/dice-stream.c snd_dice_stream_reserve_duplex() -> finish_session()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dg00x | 4096-ptr_max |
| PARAM_VALUE | 0 | dg00x->domain.events_per_period | 0 |
| PARAM_VALUE | 0 | dg00x->domain.irq_target | 0 |
| PARAM_VALUE | 0 | dg00x->unit | 4096-ptr_max |
| PARAM_VALUE | 1 | tx_params | 6315724259213119488 |
| PARAM_VALUE | 1 | tx_params->count | 0-2 |
| PARAM_VALUE | 2 | rx_params | 1906021168335060992 |
| PARAM_VALUE | 2 | rx_params->count | 0-2 |
| BUF_SIZE | 0 | dg00x | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | dg00x | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | dg00x | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | dg00x | unit_byte |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &runtime->buffer_mutex |
sound/firewire/dice/dice-stream.c snd_dice_stream_start_duplex() -> finish_session()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dg00x | 4096-ptr_max |
| PARAM_VALUE | 0 | dg00x->domain.events_per_period | 0 |
| PARAM_VALUE | 0 | dg00x->domain.irq_target | 0 |
| PARAM_VALUE | 0 | dg00x->rx_resources | 4096-ptr_max |
| PARAM_VALUE | 0 | dg00x->substreams_counter | 1-u32max |
| PARAM_VALUE | 0 | dg00x->tx_stream | 4096-ptr_max |
| PARAM_VALUE | 0 | dg00x->unit | 4096-ptr_max |
| PARAM_VALUE | 1 | tx_params | 9029152131287875584 |
| PARAM_VALUE | 1 | tx_params->count | 0-2 |
| PARAM_VALUE | 2 | rx_params | 3595775751319179264 |
| PARAM_VALUE | 2 | rx_params->count | 0-2 |
| BUF_SIZE | 0 | dg00x | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | dg00x | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | dg00x | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | dg00x | unit_byte |
| LOCK2 | _T->lock |
sound/firewire/dice/dice-stream.c snd_dice_stream_start_duplex() -> finish_session()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dg00x | 4096-ptr_max |
| PARAM_VALUE | 0 | dg00x->domain.events_per_period | 0 |
| PARAM_VALUE | 0 | dg00x->domain.irq_target | 0 |
| PARAM_VALUE | 0 | dg00x->domain.streams.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dg00x->domain.streams.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dg00x->domain.streams.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dg00x->rx_resources | 4096-ptr_max |
| PARAM_VALUE | 0 | dg00x->substreams_counter | 1-u32max |
| PARAM_VALUE | 0 | dg00x->tx_pcm_chs | 4096-ptr_max |
| PARAM_VALUE | 0 | dg00x->tx_stream | 4096-ptr_max |
| PARAM_VALUE | 0 | dg00x->unit | 4096-ptr_max |
| PARAM_VALUE | 1 | tx_params | 9029152131287875584 |
| PARAM_VALUE | 1 | tx_params->count | 0-2 |
| PARAM_VALUE | 2 | rx_params | 3595775751319179264 |
| PARAM_VALUE | 2 | rx_params->count | 0-2 |
| BUF_SIZE | 0 | dg00x | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | dg00x | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | dg00x | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | dg00x | unit_byte |
| LOCK2 | _T->lock |
sound/firewire/dice/dice-stream.c snd_dice_stream_stop_duplex() -> finish_session()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dg00x | 4096-ptr_max |
| PARAM_VALUE | 0 | dg00x->substreams_counter | 0 |
| PARAM_VALUE | 0 | dg00x->unit | 4096-ptr_max |
| PARAM_VALUE | 1 | tx_params | 4978066896111165440 |
| PARAM_VALUE | 1 | tx_params->count | 0-2 |
| PARAM_VALUE | 2 | rx_params | 7726652459814670336 |
| PARAM_VALUE | 2 | rx_params->count | 0-2 |
| BUF_SIZE | 0 | dg00x | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | dg00x | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | dg00x | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | dg00x | unit_byte |
| LOCK2 | _T->lock |
sound/firewire/digi00x/digi00x-stream.c snd_dg00x_stream_reserve_duplex() -> finish_session()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dg00x | 4096-ptr_max |
| PARAM_VALUE | 0 | dg00x->domain.events_per_period | 0 |
| PARAM_VALUE | 0 | dg00x->domain.irq_target | 0 |
| PARAM_VALUE | 0 | dg00x->unit | 4096-ptr_max |
| BUF_SIZE | 0 | dg00x | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | dg00x | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | dg00x | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | dg00x | unit_byte |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &runtime->buffer_mutex |
sound/firewire/digi00x/digi00x-stream.c snd_dg00x_stream_start_duplex() -> finish_session()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dg00x | 4096-ptr_max |
| PARAM_VALUE | 0 | dg00x->domain.events_per_period | 0 |
| PARAM_VALUE | 0 | dg00x->domain.irq_target | 0 |
| PARAM_VALUE | 0 | dg00x->substreams_counter | 1-u32max |
| BUF_SIZE | 0 | dg00x | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | dg00x | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | dg00x | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | dg00x | unit_byte |
| LOCK2 | _T->lock |
sound/firewire/digi00x/digi00x-stream.c snd_dg00x_stream_start_duplex() -> finish_session()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dg00x | 4096-ptr_max |
| PARAM_VALUE | 0 | dg00x->domain.events_per_period | 0 |
| PARAM_VALUE | 0 | dg00x->domain.irq_target | 0 |
| PARAM_VALUE | 0 | dg00x->substreams_counter | 1-u32max |
| PARAM_VALUE | 0 | dg00x->unit | 4096-ptr_max |
| BUF_SIZE | 0 | dg00x | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | dg00x | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | &dg00x->rx_stream | 1 |
| CAPPED_DATA | 0 | &dg00x->tx_stream | 1 |
| DATA_SOURCE | 0 | dg00x | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | dg00x | unit_byte |
| LOCK2 | _T->lock |
sound/firewire/digi00x/digi00x-stream.c snd_dg00x_stream_stop_duplex() -> finish_session()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dg00x | 4096-ptr_max |
| PARAM_VALUE | 0 | dg00x->domain.events_per_period | 0 |
| PARAM_VALUE | 0 | dg00x->domain.irq_target | 0 |
| PARAM_VALUE | 0 | dg00x->substreams_counter | 0 |
| BUF_SIZE | 0 | dg00x | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | dg00x | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | dg00x | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | dg00x | unit_byte |
| LOCK2 | _T->lock |