Defined in 7 files as a function:

Referenced in 7 files:

Smatch caller information:

sound/firewire/motu/motu-stream.c snd_motu_stream_reserve_duplex() -> keep_resources()

Type Parameter Key Value
PARAM_VALUE 0 dg00x 4096-ptr_max
PARAM_VALUE 0 dg00x->cache.event_offsets 0
PARAM_VALUE 0 dg00x->domain.events_per_period 0
PARAM_VALUE 0 dg00x->domain.irq_target 0
PARAM_VALUE 0 dg00x->rx_packet_formats.midi_byte_offset 6-7
PARAM_VALUE 0 dg00x->rx_packet_formats.midi_flag_offset 4,8
PARAM_VALUE 0 dg00x->rx_packet_formats.msg_chunks 0,2
PARAM_VALUE 0 dg00x->rx_packet_formats.pcm_byte_offset 4,10
PARAM_VALUE 0 dg00x->rx_resources.unit 0,4096-ptr_max
PARAM_VALUE 0 dg00x->spec 4096-ptr_max
PARAM_VALUE 0 dg00x->spec->protocol_version 0-2
PARAM_VALUE 0 dg00x->tx_packet_formats.midi_byte_offset 6-7
PARAM_VALUE 0 dg00x->tx_packet_formats.midi_flag_offset 4,8
PARAM_VALUE 0 dg00x->tx_packet_formats.msg_chunks 0,2
PARAM_VALUE 0 dg00x->tx_packet_formats.pcm_byte_offset 4,10
PARAM_VALUE 0 dg00x->tx_resources.unit 0,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
PARAM_VALUE 2 rate 4096-ptr_max
BUF_SIZE 0 dg00x s32min-(-2),1-s32max
BUF_SIZE 0 dg00x s32min-(-2),1-s32max
CAPPED_DATA 1 stream 1
DATA_SOURCE 0 dg00x $0
DATA_SOURCE 1 stream $1 [m]
RX_PATH
TASK_NOT_RUNNING
UNITS 0 dg00x unit_byte
LOCK2 _T->lock
HALF_LOCKED2 &runtime->buffer_mutex

sound/firewire/motu/motu-stream.c snd_motu_stream_reserve_duplex() -> keep_resources()

Type Parameter Key Value
PARAM_VALUE 0 dg00x 4096-ptr_max
PARAM_VALUE 0 dg00x->cache.event_offsets 0
PARAM_VALUE 0 dg00x->domain.events_per_period 0
PARAM_VALUE 0 dg00x->domain.irq_target 0
PARAM_VALUE 0 dg00x->rx_packet_formats.midi_byte_offset 6-7
PARAM_VALUE 0 dg00x->rx_packet_formats.midi_flag_offset 4,8
PARAM_VALUE 0 dg00x->rx_packet_formats.msg_chunks 0,2
PARAM_VALUE 0 dg00x->rx_packet_formats.pcm_byte_offset 4,10
PARAM_VALUE 0 dg00x->rx_resources.unit 0,4096-ptr_max
PARAM_VALUE 0 dg00x->spec 4096-ptr_max
PARAM_VALUE 0 dg00x->spec->protocol_version 0-2
PARAM_VALUE 0 dg00x->tx_packet_formats.midi_byte_offset 6-7
PARAM_VALUE 0 dg00x->tx_packet_formats.midi_flag_offset 4,8
PARAM_VALUE 0 dg00x->tx_packet_formats.msg_chunks 0,2
PARAM_VALUE 0 dg00x->tx_packet_formats.pcm_byte_offset 4,10
PARAM_VALUE 0 dg00x->tx_resources.unit 0,4096-ptr_max
PARAM_VALUE 0 dg00x->tx_stream.context (-4095)-(-1)
PARAM_VALUE 0 dg00x->tx_stream.data_block_quadlets 1-194
PARAM_VALUE 0 dg00x->tx_stream.flags 256-u32max
PARAM_VALUE 0 dg00x->tx_stream.pcm_frame_multiplier 1
PARAM_VALUE 0 dg00x->tx_stream.protocol->midi_byte_offset 6-7
PARAM_VALUE 0 dg00x->tx_stream.protocol->midi_db_count 0
PARAM_VALUE 0 dg00x->tx_stream.protocol->midi_db_interval 0-4294967295
PARAM_VALUE 0 dg00x->tx_stream.protocol->midi_flag_offset 4,8
PARAM_VALUE 0 dg00x->tx_stream.protocol->midi_ports 0-1
PARAM_VALUE 0 dg00x->tx_stream.protocol->pcm_byte_offset 4,10
PARAM_VALUE 0 dg00x->tx_stream.protocol->pcm_chunks 0-255
PARAM_VALUE 0 dg00x->tx_stream.sfc 0-6
PARAM_VALUE 0 *dg00x->rx_packet_formats.pcm_chunks 0-255
PARAM_VALUE 0 *dg00x->tx_packet_formats.pcm_chunks 0-255
PARAM_VALUE 2 rate 4096-ptr_max
BUF_SIZE 0 dg00x s32min-(-2),1-s32max
BUF_SIZE 0 dg00x s32min-(-2),1-s32max
CAPPED_DATA 0 &dg00x->tx_stream 1
CAPPED_DATA 1 stream 1
DATA_SOURCE 0 dg00x $0
DATA_SOURCE 1 stream $1 [m]
RX_PATH
TASK_NOT_RUNNING
UNITS 0 dg00x unit_byte
LOCK2 _T->lock
HALF_LOCKED2 &runtime->buffer_mutex

sound/firewire/tascam/tascam-stream.c snd_tscm_stream_reserve_duplex() -> keep_resources()

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.unit 0,4096-ptr_max
PARAM_VALUE 0 dg00x->tx_resources.unit 0,4096-ptr_max
PARAM_VALUE 0 dg00x->unit 4096-ptr_max
PARAM_VALUE 1 stream 0,44100-u32max
PARAM_VALUE 2 rate 4096-ptr_max
BUF_SIZE 0 dg00x s32min-(-2),1-s32max
BUF_SIZE 0 dg00x s32min-(-2),1-s32max
DATA_SOURCE 0 dg00x $0
DATA_SOURCE 1 stream $1
RX_PATH
TASK_NOT_RUNNING
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_reserve_duplex() -> keep_resources()

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.unit 0,4096-ptr_max
PARAM_VALUE 0 dg00x->tx_resources.unit 0,4096-ptr_max
PARAM_VALUE 0 dg00x->tx_stream.context (-4095)-(-1)
PARAM_VALUE 0 dg00x->tx_stream.flags 256-u32max
PARAM_VALUE 0 dg00x->tx_stream.pcm_frame_multiplier 1
PARAM_VALUE 0 dg00x->tx_stream.sfc 0-6
PARAM_VALUE 0 dg00x->unit 4096-ptr_max
PARAM_VALUE 1 stream 0,44100-u32max
PARAM_VALUE 2 rate 4096-ptr_max
BUF_SIZE 0 dg00x s32min-(-2),1-s32max
BUF_SIZE 0 dg00x s32min-(-2),1-s32max
CAPPED_DATA 0 &dg00x->tx_stream 1
DATA_SOURCE 0 dg00x $0
DATA_SOURCE 1 stream $1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 dg00x unit_byte
LOCK2 &runtime->buffer_mutex
LOCK2 _T->lock
TYPE_LOCK (struct snd_pcm_runtime)->buffer_mutex

sound/firewire/oxfw/oxfw-stream.c snd_oxfw_stream_reserve_duplex() -> keep_resources()

Type Parameter Key Value
PARAM_VALUE 0 dg00x 4096-ptr_max
PARAM_VALUE 1 stream 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
DATA_SOURCE 0 dg00x $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 dg00x unit_byte
LOCK2 _T->lock
HALF_LOCKED2 &runtime->buffer_mutex

sound/firewire/oxfw/oxfw-stream.c snd_oxfw_stream_reserve_duplex() -> keep_resources()

Type Parameter Key Value
PARAM_VALUE 0 dg00x 4096-ptr_max
PARAM_VALUE 0 dg00x->has_output 1
PARAM_VALUE 1 stream 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
UNITS 0 dg00x unit_byte
LOCK2 _T->lock
HALF_LOCKED2 &runtime->buffer_mutex

sound/firewire/fireworks/fireworks_stream.c snd_efw_stream_reserve_duplex() -> keep_resources()

Type Parameter Key Value
PARAM_VALUE 0 dg00x 4096-ptr_max
PARAM_VALUE 0 dg00x->seqnum 65536,65538-4294967294
PARAM_VALUE 0 dg00x->unit->device.bus 0,4096-ptr_max
PARAM_VALUE 1 stream 4096-ptr_max
PARAM_VALUE 2 rate 32000,44100,48000,88200,96000,176400,192000
PARAM_VALUE 3 mode 0-2
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 2 rate 1
DATA_SOURCE 0 dg00x $0
DATA_SOURCE 2 rate $1 [m]
RX_PATH
TASK_NOT_RUNNING
UNITS 0 dg00x unit_byte
LOCK2 _T->lock
HALF_LOCKED2 &runtime->buffer_mutex

sound/firewire/fireworks/fireworks_stream.c snd_efw_stream_reserve_duplex() -> keep_resources()

Type Parameter Key Value
PARAM_VALUE 0 dg00x 4096-ptr_max
PARAM_VALUE 0 dg00x->seqnum 65536,65538-4294967294
PARAM_VALUE 0 dg00x->tx_stream->protocol->pcm_positions 0-63
PARAM_VALUE 0 dg00x->tx_stream.context (-4095)-(-1)
PARAM_VALUE 0 dg00x->tx_stream.ctx_data.rx.fdf 0-6
PARAM_VALUE 0 dg00x->tx_stream.data_block_quadlets 0-65
PARAM_VALUE 0 dg00x->tx_stream.flags 256-u32max
PARAM_VALUE 0 dg00x->tx_stream.pcm_frame_multiplier 1
PARAM_VALUE 0 dg00x->tx_stream.protocol->midi_fifo_limit s32min-s32max
PARAM_VALUE 0 dg00x->tx_stream.protocol->midi_ports 0-4294967295
PARAM_VALUE 0 dg00x->tx_stream.protocol->midi_position 0-64
PARAM_VALUE 0 dg00x->tx_stream.protocol->pcm_channels 0-64
PARAM_VALUE 0 dg00x->tx_stream.sfc 0-6
PARAM_VALUE 0 dg00x->unit->device.bus 0,4096-ptr_max
PARAM_VALUE 1 stream 4096-ptr_max
PARAM_VALUE 2 rate 32000,44100,48000,88200,96000,176400,192000
PARAM_VALUE 3 mode 0-2
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
CAPPED_DATA 2 rate 1
DATA_SOURCE 0 dg00x $0
DATA_SOURCE 2 rate $1 [m]
RX_PATH
TASK_NOT_RUNNING
UNITS 0 dg00x unit_byte
LOCK2 _T->lock
HALF_LOCKED2 &runtime->buffer_mutex

sound/firewire/dice/dice-stream.c keep_dual_resources() -> keep_resources()

Type Parameter Key Value
PARAM_VALUE 0 dg00x 4096-ptr_max
PARAM_VALUE 0 dg00x->clock_accepted.done 0-4294967293,u32max
PARAM_VALUE 0 dg00x->clock_accepted.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 dg00x->clock_accepted.wait.lock.owner (-1)
PARAM_VALUE 0 dg00x->clock_accepted.wait.lock.owner_cpu u32max
PARAM_VALUE 0 dg00x->clock_accepted.wait.task_list.prev->next 4096-ptr_max
PARAM_VALUE 0 dg00x->clock_accepted.wait.task_list.prev->next->next 4096-ptr_max
PARAM_VALUE 0 dg00x->domain.events_per_period 0
PARAM_VALUE 0 dg00x->domain.irq_target 0
PARAM_VALUE 0 dg00x->global_enabled 0
PARAM_VALUE 0 dg00x->unit 4096-ptr_max
PARAM_VALUE 1 stream 4096-ptr_max
PARAM_VALUE 2 rate 4096-ptr_max
BUF_SIZE 0 dg00x s32min-(-2),1-s32max
BUF_SIZE 0 dg00x s32min-(-2),1-s32max
CAPPED_DATA 3 mode 1
CAPPED_DATA 4 pcm_chs 1
DATA_SOURCE 0 dg00x $0
DATA_SOURCE 3 mode $1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 dg00x unit_byte
LOCK2 _T->lock
HALF_LOCKED2 &runtime->buffer_mutex

sound/firewire/digi00x/digi00x-stream.c snd_dg00x_stream_reserve_duplex() -> keep_resources()

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.unit 0,4096-ptr_max
PARAM_VALUE 0 dg00x->tx_resources.unit 0,4096-ptr_max
PARAM_VALUE 0 dg00x->unit 4096-ptr_max
PARAM_VALUE 1 stream 4096-ptr_max
BUF_SIZE 0 dg00x s32min-(-2),1-s32max
BUF_SIZE 0 dg00x s32min-(-2),1-s32max
CAPPED_DATA 2 rate 1
DATA_SOURCE 0 dg00x $0
DATA_SOURCE 2 rate $1 [m]
RX_PATH
TASK_NOT_RUNNING
UNITS 0 dg00x unit_byte
LOCK2 _T->lock
HALF_LOCKED2 &runtime->buffer_mutex

sound/firewire/digi00x/digi00x-stream.c snd_dg00x_stream_reserve_duplex() -> keep_resources()

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.unit 0,4096-ptr_max
PARAM_VALUE 0 dg00x->rx_stream.context (-4095)-(-1)
PARAM_VALUE 0 dg00x->rx_stream.ctx_data.rx.fdf 0-6
PARAM_VALUE 0 dg00x->rx_stream.data_block_quadlets 1-u32max
PARAM_VALUE 0 dg00x->rx_stream.flags 256-u32max
PARAM_VALUE 0 dg00x->rx_stream.pcm_frame_multiplier 1
PARAM_VALUE 0 dg00x->rx_stream.protocol->midi_fifo_limit s32min-s32max
PARAM_VALUE 0 dg00x->rx_stream.protocol->pcm_channels 0-4294967295
PARAM_VALUE 0 dg00x->rx_stream.sfc 0-6
PARAM_VALUE 0 dg00x->tx_resources.unit 0,4096-ptr_max
PARAM_VALUE 0 dg00x->unit 4096-ptr_max
PARAM_VALUE 1 stream 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 2 rate 1
DATA_SOURCE 0 dg00x $0
DATA_SOURCE 2 rate $1 [m]
RX_PATH
TASK_NOT_RUNNING
UNITS 0 dg00x unit_byte
LOCK2 _T->lock
HALF_LOCKED2 &runtime->buffer_mutex

sound/firewire/bebob/bebob_stream.c snd_bebob_stream_reserve_duplex() -> keep_resources()

Type Parameter Key Value
PARAM_VALUE 0 dg00x 4096-ptr_max
PARAM_VALUE 0 dg00x->spec 4096-ptr_max
PARAM_VALUE 0 dg00x->spec->rate 4096-ptr_max
PARAM_VALUE 1 stream 4096-ptr_max
PARAM_VALUE 3 mode 0
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 2 rate 1
DATA_SOURCE 0 dg00x $0
DATA_SOURCE 2 rate $1 [m]
RX_PATH
TASK_NOT_RUNNING
UNITS 0 dg00x unit_byte
LOCK2 _T->lock
HALF_LOCKED2 &runtime->buffer_mutex

sound/firewire/bebob/bebob_stream.c snd_bebob_stream_reserve_duplex() -> keep_resources()

Type Parameter Key Value
PARAM_VALUE 0 dg00x 4096-ptr_max
PARAM_VALUE 0 dg00x->spec 4096-ptr_max
PARAM_VALUE 0 dg00x->spec->rate 4096-ptr_max
PARAM_VALUE 0 dg00x->tx_stream->protocol->pcm_positions 0-63
PARAM_VALUE 0 dg00x->tx_stream.context (-4095)-(-1)
PARAM_VALUE 0 dg00x->tx_stream.ctx_data.rx.fdf 0-6
PARAM_VALUE 0 dg00x->tx_stream.data_block_quadlets 0-65
PARAM_VALUE 0 dg00x->tx_stream.flags 256-u32max
PARAM_VALUE 0 dg00x->tx_stream.pcm_frame_multiplier 1
PARAM_VALUE 0 dg00x->tx_stream.protocol->midi_fifo_limit s32min-s32max
PARAM_VALUE 0 dg00x->tx_stream.protocol->midi_ports 0-4294967295
PARAM_VALUE 0 dg00x->tx_stream.protocol->midi_position 0-64
PARAM_VALUE 0 dg00x->tx_stream.protocol->pcm_channels 0-64
PARAM_VALUE 0 dg00x->tx_stream.sfc 0-6
PARAM_VALUE 1 stream 4096-ptr_max
PARAM_VALUE 3 mode 0
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
CAPPED_DATA 2 rate 1
DATA_SOURCE 0 dg00x $0
DATA_SOURCE 2 rate $1 [m]
RX_PATH
TASK_NOT_RUNNING
UNITS 0 dg00x unit_byte
LOCK2 _T->lock
HALF_LOCKED2 &runtime->buffer_mutex