Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/powercap/intel_rapl_common.c get_constraint_name() -> contraint_to_pl()

Type Parameter Key Value
PARAM_VALUE 0 rd 4096-ptr_max
PARAM_VALUE 1 cid s32min-2147483646
CAPPED_DATA 1 cid 1
DATA_SOURCE 1 cid $1
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 get_current_power_limit() -> contraint_to_pl()

Type Parameter Key Value
PARAM_VALUE 0 rd 4096-ptr_max
PARAM_VALUE 1 cid s32min-2147483646
CAPPED_DATA 1 cid 1
DATA_SOURCE 1 cid $1
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 get_max_power() -> contraint_to_pl()

Type Parameter Key Value
PARAM_VALUE 0 rd 4096-ptr_max
PARAM_VALUE 1 cid s32min-2147483646
CAPPED_DATA 1 cid 1
DATA_SOURCE 1 cid $1
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 get_time_window() -> contraint_to_pl()

Type Parameter Key Value
PARAM_VALUE 0 rd 4096-ptr_max
PARAM_VALUE 1 cid s32min-2147483646
CAPPED_DATA 1 cid 1
DATA_SOURCE 1 cid $1
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 set_power_limit() -> contraint_to_pl()

Type Parameter Key Value
PARAM_VALUE 0 rd 4096-ptr_max
PARAM_VALUE 1 cid s32min-2147483646
CAPPED_DATA 1 cid 1
DATA_SOURCE 1 cid $1
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 set_time_window() -> contraint_to_pl()

Type Parameter Key Value
PARAM_VALUE 0 rd 4096-ptr_max
PARAM_VALUE 1 cid s32min-2147483646
CAPPED_DATA 1 cid 1
DATA_SOURCE 1 cid $1
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex