Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

arch/x86/kernel/smp.c arch_cpu_rescan_dead_smt_siblings() -> cpuhp_smt_disable()

Type Parameter Key Value
PARAM_VALUE 0 ctrlval 1-2
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &device_hotplug_lock
HALF_LOCKED2 global &system_transition_mutex

kernel/cpu.c __store_smt_control() -> cpuhp_smt_disable()

Type Parameter Key Value
PARAM_VALUE 0 ctrlval 0-2
CAPPED_DATA 0 ctrlval 1
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
LOCK2 global &device_hotplug_lock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex