Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

kernel/cpu.c _cpu_down() -> cpuhp_set_state()

Type Parameter Key Value
PARAM_VALUE 0 cpu 0-s32max
PARAM_VALUE 2 target 0-235
CAPPED_DATA 2 target 1
DATA_SOURCE 0 cpu $0
DATA_SOURCE 2 target $2
FUZZY_MAX 2 target 235
HARD_MAX 2 target 235
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 target 0-235[c]
NO_OVERFLOW_SIMPLE 2 target
LOCK2 global &cpu_add_remove_lock
HALF_LOCKED2 global &system_transition_mutex

kernel/cpu.c _cpu_up() -> cpuhp_set_state()

Type Parameter Key Value
PARAM_VALUE 0 cpu 0-s32max
PARAM_VALUE 1 st 4096-ptr_max
PARAM_VALUE 1 st->state s32min-234
PARAM_VALUE 2 target 0-235
CAPPED_DATA 0 cpu 1
CAPPED_DATA 1 st->state 1
CAPPED_DATA 2 target 1
DATA_SOURCE 0 cpu $0
DATA_SOURCE 2 target $2
FUZZY_MAX 2 target 235
PARAM_COMPARE 1 st->state < $2
PARAM_COMPARE 2 target > $1->state
HARD_MAX 1 st->state 234
HARD_MAX 2 target 235
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 2 target 0-235[c]
NO_OVERFLOW_SIMPLE 2 target
LOCK2 global &cpu_add_remove_lock
HALF_LOCKED2 global &device_hotplug_lock
HALF_LOCKED2 global &system_transition_mutex

kernel/cpu.c cpuhp_kick_ap() -> cpuhp_set_state()

Type Parameter Key Value
PARAM_VALUE 0 cpu 0-s32max
PARAM_VALUE 1 st 4096-ptr_max
CAPPED_DATA 0 cpu 1
DATA_SOURCE 0 cpu $0
DATA_SOURCE 1 st $1
DATA_SOURCE 2 target $2
STR_LEN 0 cpu (-1),8-9,11-29,31-34,38
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &cpu_add_remove_lock