Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

sound/soc/sof/ipc4-control.c sof_ipc4_control_update() -> snd_ctl_notify_one()

Type Parameter Key Value
PARAM_VALUE 1 mask 1
PARAM_VALUE 2 kctl 1-u64max
PARAM_VALUE 3 ioff 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

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

Type Parameter Key Value
PARAM_VALUE 0 card 4096-ptr_max
PARAM_VALUE 0 card->controls.prev 4096-ptr_max
PARAM_VALUE 0 card->controls.prev->next 4096-ptr_max
PARAM_VALUE 0 card->controls.prev->next->next 4096-ptr_max
PARAM_VALUE 0 card->ctl_hash.xa_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 card->ctl_numids.xa_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 mask 4
PARAM_VALUE 2 kctl 4096-ptr_max
PARAM_VALUE 2 kctl->count 1-s32max
PARAM_VALUE 2 kctl->id.numid 1-u32max
PARAM_VALUE 2 kctl->info 1-u64max
PARAM_VALUE 2 kctl->list.next 4096-ptr_max
PARAM_VALUE 3 ioff 0-2147483646
BUF_SIZE 2 kctl->private_data (-1),320-s32max
CAPPED_DATA 2 kctl 1
CAPPED_DATA 2 kctl->count 1
CAPPED_DATA 2 kctl->id.numid 1
CAPPED_DATA 3 ioff 1
DATA_SOURCE 0 card $0
DATA_SOURCE 2 kctl $1
PARAM_COMPARE 3 ioff < $2->count
CONSTRAINT 3 ioff <3913
NOSPEC 2 kctl->count
NOCHECK_CALL
USER_PTR 2 kctl->id.name
LOCK2 _T->lock

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

Type Parameter Key Value
PARAM_VALUE 0 card 4096-ptr_max
PARAM_VALUE 0 card->card_dev.kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 card->debugfs_root->d_inode->i_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 card->debugfs_root->d_inode->i_rwsem.first_waiter->type 0-1
PARAM_VALUE 1 mask u32max
PARAM_VALUE 2 kctl 4096-ptr_max
PARAM_VALUE 2 kctl->count 1-u32max
BUF_SIZE 0 card (-1),72,104,256,376,448,1696,2728
BUF_SIZE 0 card (-1),72,104,256,376,448,1696,2728
CAPPED_DATA 2 kctl 1
CAPPED_DATA 3 ioff 1
DATA_SOURCE 0 card $0
DATA_SOURCE 2 kctl $1
STR_LEN 0 card (-1),19,21-22,24,27
STR_LEN 0 card (-1),19,21-22,24,27
PARAM_COMPARE 3 ioff < $2->count
CONSTRAINT 3 ioff <3913
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 card->debugfs_root->d_fsdata->d_fsdata
UNITS 0 card unit_byte
LOCK2 _T->lock

sound/core/control.c replace_user_tlv() -> snd_ctl_notify_one()

Type Parameter Key Value
PARAM_VALUE 0 card 4096-ptr_max
PARAM_VALUE 1 mask 8,10
PARAM_VALUE 2 kctl 4096-ptr_max
PARAM_VALUE 2 kctl->count 1-u32max
PARAM_VALUE 2 kctl->private_data 4096-ptr_max
PARAM_VALUE 3 ioff 0-s32max
CAPPED_DATA 3 ioff 1
DATA_SOURCE 2 kctl $0
PARAM_COMPARE 3 ioff < $2->count
BIT_INFO 1 mask 0x8,0xa
NOCHECK_CALL
HALF_LOCKED2 _T->lock

sound/core/control.c snd_ctl_activate_id() -> snd_ctl_notify_one()

Type Parameter Key Value
PARAM_VALUE 0 card 4096-ptr_max
PARAM_VALUE 0 card->controls_rwsem.dep_map->name 0-255
PARAM_VALUE 0 card->controls_rwsem.first_waiter->list.next 2624917664208203776
PARAM_VALUE 0 card->controls_rwsem.first_waiter->list.prev 2624917664208203776
PARAM_VALUE 0 card->controls_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 card->controls_rwsem.osq.tail.counter 0-s32max
PARAM_VALUE 0 card->controls_rwsem.wait_lock.dep_map->name 0-255
PARAM_VALUE 1 mask 2
PARAM_VALUE 2 kctl 4096-ptr_max
PARAM_VALUE 2 kctl->vd 4096-ptr_max
CAPPED_DATA 0 &card->controls_rwsem 1
CAPPED_DATA 3 ioff 1
DATA_SOURCE 0 card $0
DATA_SOURCE 2 kctl r snd_ctl_find_id
DATA_SOURCE 3 ioff r snd_ctl_get_ioff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 0 &card->controls_rwsem
TYPE_LOCK (struct snd_card)->controls_rwsem

sound/core/control.c snd_ctl_elem_write() -> snd_ctl_notify_one()

Type Parameter Key Value
PARAM_VALUE 0 card 4096-ptr_max
PARAM_VALUE 0 card->controls_rwsem.dep_map->name 0-255
PARAM_VALUE 0 card->controls_rwsem.first_waiter->list.next 2624917664208203776
PARAM_VALUE 0 card->controls_rwsem.first_waiter->list.prev 2624917664208203776
PARAM_VALUE 0 card->controls_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 card->controls_rwsem.osq.tail.counter 0-s32max
PARAM_VALUE 0 card->controls_rwsem.wait_lock.dep_map->name 0-255
PARAM_VALUE 1 mask 1
PARAM_VALUE 2 kctl 4096-ptr_max
PARAM_VALUE 2 kctl->info 4096-ptr_max
PARAM_VALUE 2 kctl->put 1-u64max
PARAM_VALUE 2 kctl->vd 4096-ptr_max
CAPPED_DATA 0 &card->controls_rwsem 1
CAPPED_DATA 3 ioff 1
DATA_SOURCE 0 card $0
DATA_SOURCE 2 kctl r snd_ctl_find_id
DATA_SOURCE 3 ioff r snd_ctl_get_ioff
NOCHECK_CALL
LOCK2 0 &card->controls_rwsem
TYPE_LOCK (struct snd_card)->controls_rwsem

sound/soc/sof/ipc3-control.c sof_ipc3_control_update() -> snd_ctl_notify_one()

Type Parameter Key Value
PARAM_VALUE 1 mask 1
PARAM_VALUE 2 kctl 4096-ptr_max
PARAM_VALUE 2 kctl->private_value 4096-ptr_max
PARAM_VALUE 3 ioff 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

sound/hda/common/codec.c notify_spdif_share_sw() -> snd_ctl_notify_one()

Type Parameter Key Value
PARAM_VALUE 1 mask 1
PARAM_VALUE 2 kctl 1-u64max
PARAM_VALUE 3 ioff 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 _T->lock
HALF_LOCKED2 &chip->open_mutex