Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

sound/isa/gus/gus_reset.c snd_gf1_alloc_voice() -> snd_gf1_alloc_voice_use()

Type Parameter Key Value
PARAM_VALUE 1 pvoice 4096-ptr_max
PARAM_VALUE 1 pvoice->use 0
PARAM_VALUE 2 type 0
PARAM_VALUE 3 client 0
PARAM_VALUE 4 port 0
DATA_SOURCE 0 gus $0
DATA_SOURCE 2 type $1
DATA_SOURCE 3 client $2
DATA_SOURCE 4 port $3
PARAM_COMPARE 0 gus->gf1.pcm_alloc_voices < $0->gf1.pcm_channels
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 gus unit_byte
LOCK2 &runtime->buffer_mutex
LOCK2 irq
LOCK2 0 &gus->voice_alloc
TYPE_LOCK (struct snd_gus_card)->voice_alloc
TYPE_LOCK (struct snd_pcm_runtime)->buffer_mutex

sound/isa/gus/gus_reset.c snd_gf1_alloc_voice() -> snd_gf1_alloc_voice_use()

Type Parameter Key Value
PARAM_VALUE 0 gus 4096-ptr_max
PARAM_VALUE 1 pvoice 4096-ptr_max
PARAM_VALUE 1 pvoice->client 0
PARAM_VALUE 1 pvoice->midi 1
PARAM_VALUE 2 type 0
PARAM_VALUE 3 client 0
PARAM_VALUE 4 port 0
CAPPED_DATA 1 pvoice->number 1
DATA_SOURCE 0 gus $0
DATA_SOURCE 2 type $1
DATA_SOURCE 3 client $2
DATA_SOURCE 4 port $3
PARAM_COMPARE 0 gus->gf1.pcm_alloc_voices < $0->gf1.pcm_channels
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 gus unit_byte
LOCK2 &runtime->buffer_mutex
LOCK2 irq
LOCK2 0 &gus->voice_alloc
TYPE_LOCK (struct snd_gus_card)->voice_alloc
TYPE_LOCK (struct snd_pcm_runtime)->buffer_mutex