Defined in 3 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/hwmon/corsair-cpro.c ccp_write() -> set_target()

Type Parameter Key Value
BUF_SIZE 0 ccp s32min-(-2),1-s32max
BUF_SIZE 0 ccp s32min-(-2),1-s32max
DATA_SOURCE 1 channel $3
DATA_SOURCE 2 val $4
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 val s64min-s64max
UNITS 0 ccp unit_byte
LOCK2 &of->mutex
LOCK2 _T->lock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/cpufreq/cpufreq.c __target_index() -> (struct cpufreq_driver)->target_index()

Type Parameter Key Value
PARAM_VALUE 0 ccp 4096-ptr_max
PARAM_VALUE 0 ccp->freq_table 4096-ptr_max
PARAM_VALUE 0 ccp->governor->exit 0,4096-ptr_max
PARAM_VALUE 0 ccp->governor->flags 0-2
PARAM_VALUE 0 ccp->governor->init 0,4096-ptr_max
PARAM_VALUE 0 ccp->governor->limits 0,4096-ptr_max
PARAM_VALUE 0 ccp->governor->owner 0,4096-ptr_max
PARAM_VALUE 0 ccp->governor->show_setspeed 0,6023193915670159360
PARAM_VALUE 0 ccp->governor->start 0,4096-ptr_max
PARAM_VALUE 0 ccp->governor->stop 0,4096-ptr_max
PARAM_VALUE 0 ccp->governor->store_setspeed 0,5607523499178598400
PARAM_VALUE 0 ccp->kobj.sd->attr.open->nr_mmapped 0-4294967295
BUF_SIZE 0 ccp (-1),1576
BUF_SIZE 0 ccp (-1),1576
BUF_SIZE 0 ccp->governor (-1)-0,104
DATA_SOURCE 0 ccp $0
DATA_SOURCE 1 channel $1
STR_LEN 0 ccp (-1),8-9,11-29,31-34,38
STR_LEN 0 ccp (-1),8-9,11-29,31-34,38
STR_LEN 0 ccp->cpu (-1)
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 ccp->cached_target_freq
NO_OVERFLOW_SIMPLE 0 ccp->cur
NO_OVERFLOW_SIMPLE 0 ccp->max
NO_OVERFLOW_SIMPLE 0 ccp->min
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &policy_dbs->update_mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &sg_policy->work_lock
HALF_LOCKED2 &userspace->mutex
HALF_LOCKED2 global &gov_dbs_data_mutex
HALF_LOCKED2 0 &ccp->rwsem