Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

sound/soc/soc-dapm.c dapm_create_or_share_kcontrol() -> snd_ctl_free_one()

Type Parameter Key Value
PARAM_VALUE 0 kcontrol 4096-ptr_max
PARAM_VALUE 0 kcontrol->count 1-1028
PARAM_VALUE 0 kcontrol->id.index 0
PARAM_VALUE 0 kcontrol->info 1-u64max
PARAM_VALUE 0 kcontrol->private_data 0
PARAM_VALUE 0 kcontrol->private_free 6090508416887648256
DATA_SOURCE 0 kcontrol r snd_soc_cnew
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &card->mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &gbcodec->register_mutex

sound/core/jack.c snd_jack_kctl_new() -> snd_ctl_free_one()

Type Parameter Key Value
PARAM_VALUE 0 kcontrol 4096-ptr_max
PARAM_VALUE 0 kcontrol->id.numid 1-u32max
PARAM_VALUE 0 kcontrol->list.next 4096-ptr_max
CAPPED_DATA 0 kcontrol 1
DATA_SOURCE 0 kcontrol r snd_kctl_jack_new
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

sound/i2c/other/ak4114.c snd_ak4114_build() -> snd_ctl_free_one()

Type Parameter Key Value
PARAM_VALUE 0 kcontrol 4096-ptr_max
PARAM_VALUE 0 kcontrol->count 1-1028
PARAM_VALUE 0 kcontrol->info 1-u64max
PARAM_VALUE 0 kcontrol->private_data 4096-ptr_max
DATA_SOURCE 0 kcontrol r snd_ctl_new1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

sound/core/control.c __snd_ctl_remove() -> snd_ctl_free_one()

Type Parameter Key Value
PARAM_VALUE 0 kcontrol 4096-ptr_max
CAPPED_DATA 0 kcontrol 1
CAPPED_DATA 0 kcontrol->count 1
DATA_SOURCE 0 kcontrol $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 _T->lock

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

Type Parameter Key Value
PARAM_VALUE 0 kcontrol 1-u64max
CAPPED_DATA 0 kcontrol 1
DATA_SOURCE 0 kcontrol $1
NOCHECK_CALL
HALF_LOCKED2 _T->lock

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

Type Parameter Key Value
PARAM_VALUE 0 kcontrol 4096-ptr_max
PARAM_VALUE 0 kcontrol->count 1-1028
PARAM_VALUE 0 kcontrol->private_data 4096-ptr_max
PARAM_VALUE 0 kcontrol->private_free 4508164371353059328
BUF_SIZE 0 kcontrol->private_data 320-4415226379580
NOCHECK_CALL
USER_DATA 0 kcontrol->count 1-1028
USER_DATA 0 kcontrol->id.device 0-u32max
USER_DATA 0 kcontrol->id.iface s32min-s32max
USER_DATA 0 kcontrol->id.index 0-u32max
USER_DATA 0 kcontrol->id.numid 0-u32max
USER_DATA 0 kcontrol->id.subdevice 0-u32max
USER_PTR 0 kcontrol->id.name
LOCK2 _T->lock

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

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

sound/usb/mixer.c __build_feature_ctl() -> snd_ctl_free_one()

Type Parameter Key Value
PARAM_VALUE 0 kcontrol 4096-ptr_max
PARAM_VALUE 0 kcontrol->count 1-1028
PARAM_VALUE 0 kcontrol->get 8839570886265430016
PARAM_VALUE 0 kcontrol->id.device 0
PARAM_VALUE 0 kcontrol->id.iface 2
PARAM_VALUE 0 kcontrol->id.index 0
PARAM_VALUE 0 kcontrol->id.subdevice 0
PARAM_VALUE 0 kcontrol->info 1533054814799605760
PARAM_VALUE 0 kcontrol->private_data 4096-ptr_max
PARAM_VALUE 0 kcontrol->private_free 7687231114348085248
PARAM_VALUE 0 kcontrol->private_value 0
PARAM_VALUE 0 kcontrol->put 0,8780012124564201472
PARAM_VALUE 0 *kcontrol->id.name 0-255
BUF_SIZE 0 kcontrol->private_data 384
CAPPED_DATA 0 kcontrol 1
CAPPED_DATA 0 kcontrol->count 1
STR_LEN 0 kcontrol->id.name (-1),43
BIT_INFO 0 kcontrol->put 0x0,0x79d8de824045a000
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL