Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/thermal/intel/int340x_thermal/processor_thermal_device.c power_floor_enable_store() -> proc_thermal_power_floor_set_state()

Type Parameter Key Value
BUF_SIZE 0 proc_priv s32min-(-2),1-s32max
BUF_SIZE 0 proc_priv s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 enable 0-1
UNITS 0 proc_priv unit_byte
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/thermal/intel/int340x_thermal/processor_thermal_device.c proc_thermal_mmio_remove() -> proc_thermal_power_floor_set_state()

Type Parameter Key Value
PARAM_VALUE 0 proc_priv 4096-ptr_max
PARAM_VALUE 0 proc_priv->mmio_feature_mask 64-u32max
PARAM_VALUE 1 enable 0
BUF_SIZE 0 proc_priv s32min-(-1),1-s32max
BUF_SIZE 0 proc_priv s32min-(-1),1-s32max
BUF_SIZE 0 proc_priv->priv_data (-1),216
DATA_SOURCE 0 proc_priv $1
BIT_INFO 0 proc_priv->mmio_feature_mask 0x40,0xffffffff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 proc_priv->int340x_zone->zone->governor->bind_to_tz
NO_OVERFLOW_SIMPLE 0 proc_priv->int340x_zone->zone->num_trips
UNITS 0 proc_priv unit_byte
HALF_LOCKED2 &pdev->dev.mutex