Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

sound/pci/emu10k1/emu10k1_main.c emu1010_clock_event() -> snd_ctl_build_ioff()

Type Parameter Key Value
PARAM_VALUE 0 dst_id 6620816118142955520
PARAM_VALUE 2 offset 0
NOCHECK_CALL
LOCK2 &emu->emu1010.lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct snd_emu1010)->lock

sound/pci/trident/trident_main.c snd_trident_notify_pcm_change1() -> snd_ctl_build_ioff()

Type Parameter Key Value
PARAM_VALUE 0 dst_id 5633657304849784832
PARAM_VALUE 1 src_kctl 4096-ptr_max
DATA_SOURCE 1 src_kctl $1
DATA_SOURCE 2 offset $2
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pcm->open_mutex

sound/pci/emu10k1/emupcm.c snd_emu10k1_pcm_mixer_notify1() -> snd_ctl_build_ioff()

Type Parameter Key Value
PARAM_VALUE 0 dst_id 898007061299683328
PARAM_VALUE 1 src_kctl 4096-ptr_max
DATA_SOURCE 1 src_kctl $1
DATA_SOURCE 2 offset $2
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pcm->open_mutex

sound/core/control.c __snd_ctl_elem_info() -> snd_ctl_build_ioff()

Type Parameter Key Value
PARAM_VALUE 0 dst_id 4096-ptr_max
PARAM_VALUE 1 src_kctl 4096-ptr_max
CAPPED_DATA 2 offset 1
DATA_SOURCE 1 src_kctl $1
DATA_SOURCE 2 offset r snd_ctl_get_ioff
NOSPEC 0 dst_id->index
NOCHECK_CALL
USER_DATA 0 dst_id->device 0-u32max
USER_DATA 0 dst_id->iface s32min-s32max
USER_DATA 0 dst_id->index 0-u32max
USER_DATA 0 dst_id->numid 0-u32max
USER_DATA 0 dst_id->subdevice 0-u32max
USER_PTR 0 dst_id->name
HALF_LOCKED2 &card->controls_rwsem
HALF_LOCKED2 _T->lock

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

Type Parameter Key Value
PARAM_VALUE 0 dst_id 4096-ptr_max
PARAM_VALUE 1 src_kctl 4096-ptr_max
CAPPED_DATA 2 offset 1
DATA_SOURCE 0 dst_id $1
DATA_SOURCE 1 src_kctl r snd_ctl_find_id
DATA_SOURCE 2 offset r snd_ctl_get_ioff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &card->controls_rwsem
TYPE_LOCK (struct snd_card)->controls_rwsem

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

Type Parameter Key Value
PARAM_VALUE 0 dst_id 4096-ptr_max
PARAM_VALUE 1 src_kctl 4096-ptr_max
BUF_SIZE 1 src_kctl->private_data 320-4415226379580
CAPPED_DATA 1 src_kctl 1
CAPPED_DATA 1 src_kctl->count 1
CAPPED_DATA 2 offset 1
DATA_SOURCE 2 offset r snd_ctl_get_ioff
BIT_INFO 1 src_kctl->info 0x630090a260801000,0xffffffffffffffff
NOSPEC 1 src_kctl->count
NOCHECK_CALL
USER_DATA 0 dst_id->device 0-u32max
USER_DATA 0 dst_id->iface s32min-s32max
USER_DATA 0 dst_id->index 0-u32max
USER_DATA 0 dst_id->numid 0-u32max
USER_DATA 0 dst_id->subdevice 0-u32max
USER_DATA 1 src_kctl->count 1-1028[c]
USER_DATA 1 src_kctl->id.device 0-u32max
USER_DATA 1 src_kctl->id.iface s32min-s32max
USER_DATA 1 src_kctl->id.index 0-u32max
USER_DATA 1 src_kctl->id.subdevice 0-u32max
USER_PTR 0 dst_id->name
USER_PTR 1 src_kctl->id.name
LOCK2 _T->lock

sound/core/control.c snd_ctl_elem_list() -> snd_ctl_build_ioff()

Type Parameter Key Value
PARAM_VALUE 0 dst_id 4392685023475511296
PARAM_VALUE 1 src_kctl 4096-ptr_max
PARAM_VALUE 2 offset 0-4294967294
CAPPED_DATA 2 offset 1
PARAM_COMPARE 2 offset < $1->count
CONSTRAINT 2 offset <3913
NOCHECK_CALL
USER_DATA 2 offset 0-s32max[c]
LOCK2 _T->lock

sound/core/control.c snd_ctl_elem_read() -> snd_ctl_build_ioff()

Type Parameter Key Value
PARAM_VALUE 0 dst_id 1-ptr_max
PARAM_VALUE 1 src_kctl 4096-ptr_max
CAPPED_DATA 2 offset 1
DATA_SOURCE 1 src_kctl r snd_ctl_find_id
DATA_SOURCE 2 offset r snd_ctl_get_ioff
NOCHECK_CALL
USER_DATA 0 dst_id->device 0-u32max
USER_DATA 0 dst_id->iface s32min-s32max
USER_DATA 0 dst_id->index 0-u32max
USER_DATA 0 dst_id->numid 0-u32max
USER_DATA 0 dst_id->subdevice 0-u32max
USER_PTR 0 dst_id->name
LOCK2 _T->lock

sound/core/control.c snd_ctl_elem_user_enum_info() -> snd_ctl_build_ioff()

Type Parameter Key Value
PARAM_VALUE 0 dst_id 4096-ptr_max
PARAM_VALUE 1 src_kctl 4096-ptr_max
CAPPED_DATA 2 offset 1
DATA_SOURCE 1 src_kctl $0
DATA_SOURCE 2 offset r snd_ctl_get_ioff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_PTR 0 dst_id->name
HALF_LOCKED2 &card->controls_rwsem
HALF_LOCKED2 _T->lock

sound/core/control.c snd_ctl_elem_user_info() -> snd_ctl_build_ioff()

Type Parameter Key Value
PARAM_VALUE 1 src_kctl 4096-ptr_max
CAPPED_DATA 2 offset 1
DATA_SOURCE 1 src_kctl $0
DATA_SOURCE 2 offset r snd_ctl_get_ioff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_PTR 0 dst_id->name
HALF_LOCKED2 &card->controls_rwsem
HALF_LOCKED2 _T->lock

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

Type Parameter Key Value
PARAM_VALUE 0 dst_id 1-ptr_max
PARAM_VALUE 1 src_kctl 4096-ptr_max
CAPPED_DATA 2 offset 1
DATA_SOURCE 1 src_kctl r snd_ctl_find_id
DATA_SOURCE 2 offset r snd_ctl_get_ioff
NOCHECK_CALL
USER_DATA 0 dst_id->device 0-u32max
USER_DATA 0 dst_id->iface s32min-s32max
USER_DATA 0 dst_id->index 0-u32max
USER_DATA 0 dst_id->numid 0-u32max
USER_DATA 0 dst_id->subdevice 0-u32max
USER_PTR 0 dst_id->name
LOCK2 &card->controls_rwsem
TYPE_LOCK (struct snd_card)->controls_rwsem

sound/core/control.c snd_ctl_tlv_ioctl() -> snd_ctl_build_ioff()

Type Parameter Key Value
PARAM_VALUE 0 dst_id 2058753753170239488
PARAM_VALUE 1 src_kctl 4096-ptr_max
DATA_SOURCE 1 src_kctl r snd_ctl_find_numid
NOCHECK_CALL
LOCK2 _T->lock