Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/powercap/intel_rapl_common.c event_read_counter() -> rapl_read_data_raw()

Type Parameter Key Value
PARAM_VALUE 0 rd 4096-ptr_max
PARAM_VALUE 1 prim 3
PARAM_VALUE 2 xlate 0
PARAM_VALUE 3 data 8452498880986800128
PARAM_VALUE 4 pmu_ctx 1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &data->lock
HALF_LOCKED2 &event->child_mutex
HALF_LOCKED2 flags

drivers/powercap/intel_rapl_common.c get_energy_counter() -> rapl_read_data_raw()

Type Parameter Key Value
PARAM_VALUE 0 rd 4096-ptr_max
PARAM_VALUE 1 prim 3
PARAM_VALUE 2 xlate 1
PARAM_VALUE 3 data 7547184182214594560
PARAM_VALUE 4 pmu_ctx 0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/powercap/intel_rapl_common.c rapl_read_pl_data() -> rapl_read_data_raw()

Type Parameter Key Value
PARAM_VALUE 0 rd 4096-ptr_max
PARAM_VALUE 0 rd->rp->priv->rpi->mask 31,8191,s16max-32768,65536,131071-131072,262143,332922,16646144,33292288,66584576,2147418112,2147483648,u32max,68719214592,140733193388032,140737488355328,281474976710656,562945658454016,562949953421312,17732923532771328-u64max
PARAM_VALUE 1 prim 0-2,4-9,14-17,4294967274
PARAM_VALUE 3 data 4096-ptr_max
PARAM_VALUE 4 pmu_ctx 0
BUF_SIZE 0 rd (-1),2336-s32max
BUF_SIZE 0 rd (-1),2336-s32max
CAPPED_DATA 0 rd 1
DATA_SOURCE 0 rd $0
DATA_SOURCE 1 prim r get_pl_prim
DATA_SOURCE 2 xlate $3
DATA_SOURCE 3 data $4
BIT_INFO 1 prim 0x0,0x1f
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &of->mutex

drivers/powercap/intel_rapl_common.c rapl_update_domain_data() -> rapl_read_data_raw()

Type Parameter Key Value
PARAM_VALUE 0 rd 4096-ptr_max
PARAM_VALUE 1 prim 0-25
PARAM_VALUE 3 data 8018764712053149696
PARAM_VALUE 4 pmu_ctx 0
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 3 *data 0-u64max[c]