Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

sound/pci/trident/trident_main.c snd_trident_allocate_evoice() -> snd_trident_alloc_voice()

Type Parameter Key Value
PARAM_VALUE 1 type 0
PARAM_VALUE 2 client 0
PARAM_VALUE 3 port 0
BUF_SIZE 0 trident s32min-(-2),1-s32max
BUF_SIZE 0 trident s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 trident unit_byte
LOCK2 &runtime->buffer_mutex
TYPE_LOCK (struct snd_pcm_runtime)->buffer_mutex

sound/pci/trident/trident_main.c snd_trident_capture_open() -> snd_trident_alloc_voice()

Type Parameter Key Value
PARAM_VALUE 1 type 0
PARAM_VALUE 2 client 0
PARAM_VALUE 3 port 0
BUF_SIZE 0 trident s32min-(-2),1-s32max
BUF_SIZE 0 trident s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 trident unit_byte
HALF_LOCKED2 &pcm->open_mutex

sound/pci/trident/trident_main.c snd_trident_foldback_open() -> snd_trident_alloc_voice()

Type Parameter Key Value
PARAM_VALUE 1 type 0
PARAM_VALUE 2 client 0
PARAM_VALUE 3 port 0
BUF_SIZE 0 trident s32min-(-2),1-s32max
BUF_SIZE 0 trident s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 trident unit_byte
HALF_LOCKED2 &pcm->open_mutex

sound/pci/trident/trident_main.c snd_trident_playback_open() -> snd_trident_alloc_voice()

Type Parameter Key Value
PARAM_VALUE 1 type 0
PARAM_VALUE 2 client 0
PARAM_VALUE 3 port 0
BUF_SIZE 0 trident s32min-(-2),1-s32max
BUF_SIZE 0 trident s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 trident unit_byte
HALF_LOCKED2 &pcm->open_mutex

sound/pci/trident/trident_main.c snd_trident_spdif_open() -> snd_trident_alloc_voice()

Type Parameter Key Value
PARAM_VALUE 1 type 0
PARAM_VALUE 2 client 0
PARAM_VALUE 3 port 0
BUF_SIZE 0 trident s32min-(-2),1-s32max
BUF_SIZE 0 trident s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 trident unit_byte
HALF_LOCKED2 &pcm->open_mutex