Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

sound/core/control.c snd_ctl_add_replace() -> __snd_ctl_add_replace()

Type Parameter Key Value
PARAM_VALUE 0 card 1-u64max
PARAM_VALUE 1 kcontrol 4096-ptr_max
PARAM_VALUE 1 kcontrol->info 1-u64max
PARAM_VALUE 2 mode 0-2
DATA_SOURCE 0 card $0
DATA_SOURCE 1 kcontrol $1
DATA_SOURCE 2 mode $2
FUZZY_MAX 2 mode 2
HARD_MAX 2 mode 2
LOCK2 _T->lock

sound/core/control.c snd_ctl_elem_add() -> __snd_ctl_add_replace()

Type Parameter Key Value
PARAM_VALUE 0 card 4096-ptr_max
PARAM_VALUE 1 kcontrol 4096-ptr_max
PARAM_VALUE 1 kcontrol->count 1-1028
PARAM_VALUE 1 kcontrol->info 7492289601600491520,7710884543720755200
PARAM_VALUE 1 kcontrol->private_data 4096-ptr_max
PARAM_VALUE 1 kcontrol->private_free 4508164371353059328
PARAM_VALUE 2 mode 0
BUF_SIZE 1 kcontrol->private_data 320-4415226379580
BIT_INFO 1 kcontrol->info 0x630090a260801000,0x6ffbf5b375c69000
USER_DATA 1 kcontrol->count 1-1028
USER_DATA 1 kcontrol->id.device 0-u32max
USER_DATA 1 kcontrol->id.iface s32min-s32max
USER_DATA 1 kcontrol->id.index 0-u32max
USER_DATA 1 kcontrol->id.numid 0-u32max
USER_DATA 1 kcontrol->id.subdevice 0-u32max
USER_PTR 1 kcontrol->id.name
LOCK2 _T->lock