Defined in 2 files as a function:
- sound/soc/codecs/wcd9335.c, line 1342 (as a function)
- sound/soc/codecs/wcd934x.c, line 3772 (as a function)
Referenced in 2 files:
-
sound/soc/codecs/wcd9335.c
- line 1401
- line 1403
- line 1405
- line 1407
- line 1409
- line 1411
- line 1413
- line 1415
- line 1417
- line 1419
- line 1421
- line 1423
- line 1425
- line 1430
- line 1432
- line 1434
- line 1436
- line 1438
- line 1440
- line 1442
- line 1444
- line 1446
- line 1448
- line 1450
- line 1452
- line 1454
- line 1459
- line 1461
- line 1463
- line 1465
- line 1467
- line 1469
- line 1471
- line 1473
- line 1475
-
sound/soc/codecs/wcd934x.c
- line 3820
- line 3822
- line 3824
- line 3826
- line 3828
- line 3830
- line 3832
- line 3834
- line 3836
- line 3838
- line 3840
- line 3842
- line 3844
- line 3849
- line 3851
- line 3853
- line 3855
- line 3857
- line 3859
- line 3861
- line 3863
- line 3865
- line 3867
- line 3869
- line 3871
- line 3873
- line 3878
- line 3880
- line 3882
- line 3884
- line 3886
- line 3888
- line 3890
- line 3892
- line 3894
- line 3896
- line 3898
- line 3900
- line 3902
Smatch caller information:
sound/pci/trident/trident_main.c snd_trident_mixer() -> (struct snd_kcontrol)->put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kc | 4096-ptr_max |
| PARAM_VALUE | 0 | kc->id.numid | 1-u32max |
| PARAM_VALUE | 0 | kc->list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | ucontrol | 4096-ptr_max |
| BUF_SIZE | 1 | ucontrol | 1224 |
| CAPPED_DATA | 0 | kc | 1 |
| DATA_SOURCE | 0 | kc | r snd_ctl_new1 |
| DATA_SOURCE | 1 | ucontrol | r _kzalloc_noprof |
| CONTAINER | 0 | -104+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pci->dev.mutex | ||
| HALF_LOCKED2 | &pool->lock |
sound/pci/trident/trident_main.c snd_trident_mixer() -> (struct snd_kcontrol)->put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kc | 4096-ptr_max |
| PARAM_VALUE | 0 | kc->id.numid | 1-u32max |
| PARAM_VALUE | 0 | kc->list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | ucontrol | 4096-ptr_max |
| BUF_SIZE | 1 | ucontrol | 1224 |
| CAPPED_DATA | 0 | kc | 1 |
| DATA_SOURCE | 0 | kc | r snd_ctl_new1 |
| DATA_SOURCE | 1 | ucontrol | r _kzalloc_noprof |
| CONTAINER | 0 | -104+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pci->dev.mutex | ||
| HALF_LOCKED2 | &pool->lock |
sound/pci/trident/trident_main.c snd_trident_mixer() -> (struct snd_kcontrol)->put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kc | 4096-ptr_max |
| PARAM_VALUE | 0 | kc->id.numid | 1-u32max |
| PARAM_VALUE | 0 | kc->list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | ucontrol | 4096-ptr_max |
| BUF_SIZE | 1 | ucontrol | 1224 |
| CAPPED_DATA | 0 | kc | 1 |
| DATA_SOURCE | 0 | kc | r snd_ctl_new1 |
| DATA_SOURCE | 1 | ucontrol | r _kzalloc_noprof |
| CONTAINER | 0 | -104+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pci->dev.mutex | ||
| HALF_LOCKED2 | &pool->lock |
sound/pci/trident/trident_main.c snd_trident_mixer() -> (struct snd_kcontrol)->put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kc | 4096-ptr_max |
| PARAM_VALUE | 0 | kc->id.numid | 1-u32max |
| PARAM_VALUE | 0 | kc->list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | ucontrol | 4096-ptr_max |
| BUF_SIZE | 1 | ucontrol | 1224 |
| CAPPED_DATA | 0 | kc | 1 |
| DATA_SOURCE | 0 | kc | r snd_ctl_new1 |
| DATA_SOURCE | 1 | ucontrol | r _kzalloc_noprof |
| CONTAINER | 0 | -104+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pci->dev.mutex | ||
| HALF_LOCKED2 | &pool->lock |
sound/hda/codecs/realtek/realtek.c alc_update_knob_master() -> (struct snd_kcontrol)->put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kc | 4096-ptr_max |
| PARAM_VALUE | 1 | ucontrol | 4096-ptr_max |
| PARAM_VALUE | 1 | ucontrol->value.integer.value | 4096-ptr_max |
| BUF_SIZE | 1 | ucontrol | 1224 |
| DATA_SOURCE | 0 | kc | r snd_hda_find_mixer_ctl |
| DATA_SOURCE | 1 | ucontrol | r _kzalloc_noprof |
| CONTAINER | 0 | -104+0 | $(-1) |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
sound/soc/soc-ops.c snd_soc_clip_to_platform_max() -> (struct snd_kcontrol)->put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kc | 4096-ptr_max |
| PARAM_VALUE | 0 | kc->private_value | 4096-18446744073709547520 |
| PARAM_VALUE | 0 | kc->private_value->platform_max | s32min-(-1),1-s32max |
| PARAM_VALUE | 1 | ucontrol | 4096-ptr_max |
| PARAM_VALUE | 1 | ucontrol->value.integer.value | 4096-ptr_max |
| BUF_SIZE | 1 | ucontrol | 1224 |
| CAPPED_DATA | 0 | kc->id.device | 1 |
| CAPPED_DATA | 0 | kc->id.iface | 1 |
| CAPPED_DATA | 0 | kc->id.index | 1 |
| CAPPED_DATA | 0 | kc->id.subdevice | 1 |
| DATA_SOURCE | 0 | kc | $0 |
| DATA_SOURCE | 1 | ucontrol | r _kzalloc_noprof |
| CONTAINER | 0 | -104+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &card->mutex | ||
| LOCK2 | _T->lock | ||
| TYPE_LOCK | (struct snd_soc_card)->mutex |
sound/core/vmaster.c follower_put_val() -> (struct snd_kcontrol)->put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kc | 4096-ptr_max |
| PARAM_VALUE | 1 | ucontrol | 4096-ptr_max |
| BUF_SIZE | 1 | ucontrol | (-1),4,16,24,64,72,80,88,160-s32max |
| BUF_SIZE | 1 | ucontrol | (-1),4,16,24,64,72,80,88,160-s32max |
| DATA_SOURCE | 1 | ucontrol | $1 |
| CONTAINER | 0 | -104+0 | $(-1) |
| NOSPEC | 1 | ucontrol->id.index | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | ucontrol->id.device | 0-u32max |
| USER_DATA | 1 | ucontrol->id.iface | s32min-s32max |
| USER_DATA | 1 | ucontrol->id.index | 0-u32max |
| USER_DATA | 1 | ucontrol->id.numid | 0-u32max |
| USER_DATA | 1 | ucontrol->id.subdevice | 0-u32max |
| USER_DATA | 1 | ucontrol->value.iec958.pad | 0-255 |
| NO_OVERFLOW_SIMPLE | 1 | ucontrol->value.bytes.data | |
| USER_PTR | 1 | ucontrol | |
| USER_PTR | 1 | ucontrol->id.name | |
| USER_PTR | 1 | ucontrol->reserved | |
| USER_PTR | 1 | ucontrol->value.bytes.data |
sound/core/oss/mixer_oss.c snd_mixer_oss_put_recsrc2() -> (struct snd_kcontrol)->put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kc | 4096-ptr_max |
| PARAM_VALUE | 1 | ucontrol | 4096-ptr_max |
| BUF_SIZE | 1 | ucontrol | 1224 |
| DATA_SOURCE | 0 | kc | r snd_mixer_oss_test_id |
| DATA_SOURCE | 1 | ucontrol | r _kzalloc_noprof |
| CONTAINER | 0 | -104+0 | $(-1) |
| LOCK2 | _T->lock |
sound/core/oss/mixer_oss.c snd_mixer_oss_put_volume1_sw() -> (struct snd_kcontrol)->put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kc | 4096-ptr_max |
| PARAM_VALUE | 1 | ucontrol | 4096-ptr_max |
| PARAM_VALUE | 1 | ucontrol->value.integer.value | 4096-ptr_max |
| BUF_SIZE | 1 | ucontrol | 1224 |
| DATA_SOURCE | 0 | kc | r snd_ctl_find_numid |
| DATA_SOURCE | 1 | ucontrol | r _kzalloc_noprof |
| CONTAINER | 0 | -104+0 | $(-1) |
| LOCK2 | _T->lock |
sound/core/oss/mixer_oss.c snd_mixer_oss_put_volume1_vol() -> (struct snd_kcontrol)->put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kc | 4096-ptr_max |
| PARAM_VALUE | 1 | ucontrol | 4096-ptr_max |
| PARAM_VALUE | 1 | ucontrol->value.integer.value | 4096-ptr_max |
| BUF_SIZE | 1 | ucontrol | 1224 |
| DATA_SOURCE | 0 | kc | r snd_ctl_find_numid |
| DATA_SOURCE | 1 | ucontrol | r _kzalloc_noprof |
| CONTAINER | 0 | -104+0 | $(-1) |
| LOCK2 | _T->lock |
sound/pci/cmipci.c restore_mixer_state() -> (struct snd_kcontrol)->put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kc | 4096-ptr_max |
| PARAM_VALUE | 0 | kc->vd | 4096-ptr_max |
| PARAM_VALUE | 1 | ucontrol | 4096-ptr_max |
| PARAM_VALUE | 1 | ucontrol->value.integer.value | 4096-ptr_max |
| BUF_SIZE | 1 | ucontrol | 1224 |
| DATA_SOURCE | 1 | ucontrol | r _kmalloc_noprof |
| CONTAINER | 0 | -104+0 | $(-1) |
| MEM_ZERO | 1 | ucontrol | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &runtime->buffer_mutex |
sound/pci/cmipci.c save_mixer_state() -> (struct snd_kcontrol)->put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kc | 4096-ptr_max |
| PARAM_VALUE | 1 | ucontrol | 4096-ptr_max |
| PARAM_VALUE | 1 | ucontrol->value.integer.value | 4096-ptr_max |
| BUF_SIZE | 1 | ucontrol | 1224 |
| DATA_SOURCE | 1 | ucontrol | r _kmalloc_noprof |
| CONTAINER | 0 | -104+0 | $(-1) |
| MEM_ZERO | 1 | ucontrol | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &subs->runtime->buffer_mutex | ||
| HALF_LOCKED2 | &subs->self_group.lock | ||
| HALF_LOCKED2 | &subs->self_group.mutex |
sound/core/control.c snd_ctl_put() -> (struct snd_kcontrol)->put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kc | 4096-ptr_max |
| PARAM_VALUE | 0 | kc->info | 4096-ptr_max |
| PARAM_VALUE | 0 | kc->put | 1-u64max |
| PARAM_VALUE | 0 | kc->vd | 4096-ptr_max |
| PARAM_VALUE | 1 | ucontrol | 4096-ptr_max |
| BUF_SIZE | 1 | ucontrol | 1224 |
| DATA_SOURCE | 0 | kc | $1 |
| DATA_SOURCE | 1 | ucontrol | $2 |
| CONTAINER | 0 | -104+0 | $(-1) |
| USER_DATA | 1 | ucontrol->value.iec958.pad | 0-255 |
| NO_OVERFLOW_SIMPLE | 1 | ucontrol->value.bytes.data | |
| USER_PTR | 1 | ucontrol | |
| USER_PTR | 1 | ucontrol->id.name | |
| USER_PTR | 1 | ucontrol->reserved | |
| USER_PTR | 1 | ucontrol->value.bytes.data | |
| LOCK2 | &card->controls_rwsem | ||
| TYPE_LOCK | (struct snd_card)->controls_rwsem |
sound/core/control.c snd_ctl_put_verify() -> (struct snd_kcontrol)->put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kc | 4096-ptr_max |
| PARAM_VALUE | 0 | kc->info | 4096-ptr_max |
| PARAM_VALUE | 0 | kc->put | 1-u64max |
| PARAM_VALUE | 0 | kc->vd | 4096-ptr_max |
| PARAM_VALUE | 1 | ucontrol | 4096-ptr_max |
| DATA_SOURCE | 0 | kc | $1 |
| DATA_SOURCE | 1 | ucontrol | $2 |
| CONTAINER | 0 | -104+0 | $(-1) |
| USER_DATA | 1 | ucontrol->value.iec958.pad | 0-255 |
| NO_OVERFLOW_SIMPLE | 1 | ucontrol->value.bytes.data | |
| USER_PTR | 1 | ucontrol | |
| USER_PTR | 1 | ucontrol->id.name | |
| USER_PTR | 1 | ucontrol->reserved | |
| USER_PTR | 1 | ucontrol->value.bytes.data | |
| LOCK2 | &card->controls_rwsem | ||
| TYPE_LOCK | (struct snd_card)->controls_rwsem |
sound/hda/common/codec.c put_kctl_with_value() -> (struct snd_kcontrol)->put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kc | 4096-ptr_max |
| PARAM_VALUE | 1 | ucontrol | 4096-ptr_max |
| PARAM_VALUE | 1 | ucontrol->value.integer.value | 4096-ptr_max |
| BUF_SIZE | 1 | ucontrol | 1224 |
| DATA_SOURCE | 0 | kc | $0 |
| DATA_SOURCE | 1 | ucontrol | r _kzalloc_noprof |
| CONTAINER | 0 | -104+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
sound/hda/codecs/cirrus/cs420x.c cs4208_spdif_sw_put() -> (struct cs_spec)->spdif_sw_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kc | 4096-ptr_max |
| PARAM_VALUE | 0 | kc->private_data | 4096-ptr_max |
| PARAM_VALUE | 1 | ucontrol | 4096-ptr_max |
| PARAM_VALUE | 1 | ucontrol->value.integer.value | 4096-ptr_max |
| BUF_SIZE | 0 | kc->private_data | (-1),72,104,256,376,448,2728 |
| BUF_SIZE | 1 | ucontrol | (-1),4,16,24,64,72,80,88,160-s32max |
| BUF_SIZE | 1 | ucontrol | (-1),4,16,24,64,72,80,88,160-s32max |
| CAPPED_DATA | 0 | kc | 1 |
| DATA_SOURCE | 0 | kc | $0 |
| DATA_SOURCE | 1 | ucontrol | $1 |
| NOSPEC | 1 | ucontrol->id.index | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | ucontrol->id.device | 0-u32max |
| USER_DATA | 1 | ucontrol->id.iface | s32min-s32max |
| USER_DATA | 1 | ucontrol->id.index | 0-u32max |
| USER_DATA | 1 | ucontrol->id.numid | 0-u32max |
| USER_DATA | 1 | ucontrol->id.subdevice | 0-u32max |
| USER_DATA | 1 | ucontrol->value.iec958.pad | 0-255 |
| NO_OVERFLOW_SIMPLE | 0 | kc->tlv.p | |
| NO_OVERFLOW_SIMPLE | 1 | ucontrol->value.bytes.data | |
| USER_PTR | 1 | ucontrol | |
| USER_PTR | 1 | ucontrol->id.name | |
| USER_PTR | 1 | ucontrol->reserved | |
| USER_PTR | 1 | ucontrol->value.bytes.data | |
| HALF_LOCKED2 | &card->controls_rwsem | ||
| HALF_LOCKED2 | &card->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | _T->lock |