Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

sound/core/control.c sanity_check_elem_value() -> sanity_check_input_values()

Type Parameter Key Value
PARAM_VALUE 0 card 4096-ptr_max
PARAM_VALUE 1 control 4096-ptr_max
PARAM_VALUE 1 control->value.bytes.data 4096-ptr_max
PARAM_VALUE 2 info 8345771933854601216
PARAM_VALUE 2 info->owner (-1)-s32max
PARAM_VALUE 3 print_error 1
BUF_SIZE 1 control 1224
DATA_SOURCE 0 card $0
DATA_SOURCE 1 control $1
DATA_SOURCE 2 info $2
MEM_ZERO 2 info
USER_DATA 1 control->value.iec958.pad 0-255
USER_PTR 1 control
USER_PTR 1 control->id.name
USER_PTR 1 control->reserved
USER_PTR 1 control->value.bytes.data
LOCK2 _T->lock

sound/core/control.c snd_ctl_elem_user_put() -> sanity_check_input_values()

Type Parameter Key Value
PARAM_VALUE 1 control 4096-ptr_max
PARAM_VALUE 2 info 4096-ptr_max
PARAM_VALUE 3 print_error 0
BUF_SIZE 1 control (-1),4,16,24,64,72,80,88,160-s32max
BUF_SIZE 1 control (-1),4,16,24,64,72,80,88,160-s32max
DATA_SOURCE 1 control $1
NOSPEC 1 control->id.index
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 control->id.device 0-u32max
USER_DATA 1 control->id.iface s32min-s32max
USER_DATA 1 control->id.index 0-u32max
USER_DATA 1 control->id.numid 0-u32max
USER_DATA 1 control->id.subdevice 0-u32max
USER_DATA 1 control->value.iec958.pad 0-255
NO_OVERFLOW_SIMPLE 1 control->value.bytes.data
USER_PTR 1 control
USER_PTR 1 control->id.name
USER_PTR 1 control->reserved
USER_PTR 1 control->value.bytes.data
HALF_LOCKED2 &card->controls_rwsem
HALF_LOCKED2 &card->mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 _T->lock

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

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 0 card->controls_rwsem.wait_lock.owner (-1)
PARAM_VALUE 0 card->controls_rwsem.wait_lock.owner_cpu u32max
PARAM_VALUE 1 control 4096-ptr_max
PARAM_VALUE 2 info 6544931442969841664
PARAM_VALUE 2 info->owner (-1)-s32max
PARAM_VALUE 3 print_error 0
BUF_SIZE 1 control 1224
CAPPED_DATA 0 &card->controls_rwsem 1
DATA_SOURCE 0 card $0
DATA_SOURCE 1 control $2
MEM_ZERO 2 info
USER_DATA 1 control->value.iec958.pad 0-255
NO_OVERFLOW_SIMPLE 1 control->value.bytes.data
USER_PTR 1 control
USER_PTR 1 control->id.name
USER_PTR 1 control->reserved
USER_PTR 1 control->value.bytes.data
LOCK2 0 &card->controls_rwsem
TYPE_LOCK (struct snd_card)->controls_rwsem