Defined in 3 files as a prototype:

Defined in 3 files as a function:

Referenced in 3 files:

Smatch caller information:

sound/synth/emux/emux_synth.c exclusive_note_off() -> terminate_voice()

Type Parameter Key Value
PARAM_VALUE 0 vp 4096-ptr_max
PARAM_VALUE 0 vp->max_voices 1-s32max
PARAM_VALUE 0 vp->ops.get_voice 1-u64max
PARAM_VALUE 0 vp->ops.trigger 1-u64max
PARAM_VALUE 0 vp->sflist 4096-ptr_max
PARAM_VALUE 0 vp->voices 4096-ptr_max
PARAM_VALUE 1 vp 4096-ptr_max
PARAM_VALUE 1 vp->port 4096-ptr_max
PARAM_VALUE 1 vp->reg.exclusiveClass s16min-(-1),1-s16max
PARAM_VALUE 1 vp->state s32min-(-1),1-s32max
PARAM_VALUE 2 free 0
CAPPED_DATA 1 vp->port 1
CAPPED_DATA 1 vp->reg.exclusiveClass 1
DATA_SOURCE 0 vp $0
BIT_INFO 1 vp->state 0x1,0x7fffffff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 irq
LOCK2 0 &vp->voice_lock
TYPE_LOCK (struct snd_emux)->voice_lock

sound/synth/emux/emux_synth.c snd_emux_sounds_off_all() -> terminate_voice()

Type Parameter Key Value
PARAM_VALUE 0 vp 4096-ptr_max
PARAM_VALUE 0 vp->max_voices 1-s32max
PARAM_VALUE 0 vp->ops.terminate 1-u64max
PARAM_VALUE 0 vp->voices 4096-ptr_max
PARAM_VALUE 1 vp 4096-ptr_max
PARAM_VALUE 1 vp->port 4096-ptr_max
PARAM_VALUE 1 vp->state s32min-(-1),1-s32max
PARAM_VALUE 2 free 0
CAPPED_DATA 1 vp->port 1
BIT_INFO 1 vp->state 0x1,0x7fffffff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 vp->max_voices
LOCK2 irq
LOCK2 0 &vp->voice_lock
HALF_LOCKED2 _T->lock
TYPE_LOCK (struct snd_emux)->voice_lock

sound/synth/emux/emux_synth.c snd_emux_terminate_all() -> terminate_voice()

Type Parameter Key Value
PARAM_VALUE 0 vp 4096-ptr_max
PARAM_VALUE 0 vp->card->card_dev.kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 vp->max_voices 1-s32max
PARAM_VALUE 0 vp->voices 4096-ptr_max
PARAM_VALUE 1 vp 4096-ptr_max
PARAM_VALUE 1 vp->state s32min-(-1),1-s32max
PARAM_VALUE 2 free 0
BUF_SIZE 0 vp (-1),128
BUF_SIZE 0 vp (-1),128
BUF_SIZE 0 vp->memhdr (-1),192
DATA_SOURCE 0 vp $0
BIT_INFO 1 vp->state 0x1,0x7fffffff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 vp->max_voices
LOCK2 irq
LOCK2 0 &vp->voice_lock
HALF_LOCKED2 &sflist->presets_mutex
HALF_LOCKED2 _T->lock
TYPE_LOCK (struct snd_emux)->voice_lock

sound/synth/emux/emux_synth.c terminate_note1() -> terminate_voice()

Type Parameter Key Value
PARAM_VALUE 0 vp 4096-ptr_max
PARAM_VALUE 0 vp->max_voices 1-s32max
PARAM_VALUE 0 vp->ops.terminate 1-u64max
PARAM_VALUE 0 vp->voices 4096-ptr_max
PARAM_VALUE 1 vp 4096-ptr_max
PARAM_VALUE 1 vp->chan 4096-ptr_max
PARAM_VALUE 1 vp->key 0-127
PARAM_VALUE 1 vp->state s32min-(-1),1-s32max
PARAM_VALUE 2 free 1
CAPPED_DATA 1 vp->chan 1
CAPPED_DATA 1 vp->key 1
DATA_SOURCE 0 vp $0
DATA_SOURCE 2 free $3
FUZZY_MAX 1 vp->key 127
BIT_INFO 1 vp->state 0x1,0x7fffffff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 irq
LOCK2 0 &vp->voice_lock
TYPE_LOCK (struct snd_emux)->voice_lock

sound/synth/emux/emux_synth.c snd_emux_note_on() -> (struct snd_emux_operators)->terminate()

Type Parameter Key Value
PARAM_VALUE 0 vp 4096-ptr_max
PARAM_VALUE 0 vp->ch 0-s32max
PARAM_VALUE 0 vp->chan->number 0-31
PARAM_VALUE 0 vp->state s32min-(-1),1-s32max
BIT_INFO 0 vp->state 0x1,0x7fffffff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &emu->voice_lock
LOCK2 irq
TYPE_LOCK (struct snd_emux)->voice_lock

sound/synth/emux/emux_synth.c terminate_voice() -> (struct snd_emux_operators)->terminate()

Type Parameter Key Value
PARAM_VALUE 0 vp 4096-ptr_max
PARAM_VALUE 0 vp->state s32min-(-1),1-s32max
DATA_SOURCE 0 vp $1
BIT_INFO 0 vp->state 0x1,0x7fffffff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &emu->voice_lock
LOCK2 irq
TYPE_LOCK (struct snd_emux)->voice_lock