Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
sound/core/control.c __snd_ctl_add_replace() -> snd_ctl_remove_locked()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | card | 1-u64max |
| PARAM_VALUE | 1 | kcontrol | 1-1025,1027-1029,1031-u64max |
| DATA_SOURCE | 0 | card | $0 |
| DATA_SOURCE | 1 | kcontrol | r snd_ctl_find_id |
| LOCK2 | _T->lock |
sound/core/control.c snd_ctl_remove() -> snd_ctl_remove_locked()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | card->card_dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 1 | kcontrol | 1-u64max |
| DATA_SOURCE | 0 | card | $0 |
| DATA_SOURCE | 1 | kcontrol | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &card->mutex |
sound/core/control.c snd_ctl_remove_id() -> snd_ctl_remove_locked()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | card | 1-u64max |
| PARAM_VALUE | 1 | kcontrol | 4096-ptr_max |
| CAPPED_DATA | 1 | kcontrol->id.device | 1 |
| CAPPED_DATA | 1 | kcontrol->id.iface | 1 |
| CAPPED_DATA | 1 | kcontrol->id.index | 1 |
| CAPPED_DATA | 1 | kcontrol->id.subdevice | 1 |
| DATA_SOURCE | 0 | card | $0 |
| DATA_SOURCE | 1 | kcontrol | r snd_ctl_find_id |
| STR_LEN | 0 | card | (-1),19,21-22,24,27 |
| STR_LEN | 0 | card | (-1),19,21-22,24,27 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | global &gbcodec->register_mutex |
sound/core/control.c snd_ctl_remove_user_ctl() -> snd_ctl_remove_locked()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | card | 1-u64max |
| PARAM_VALUE | 1 | kcontrol | 4096-ptr_max |
| PARAM_VALUE | 1 | kcontrol->count | 0-s32max |
| PARAM_VALUE | 1 | kcontrol->vd | 4096-ptr_max |
| CAPPED_DATA | 1 | kcontrol->count | 1 |
| DATA_SOURCE | 1 | kcontrol | r snd_ctl_find_id |
| LOCK2 | _T->lock |