Home
last modified time | relevance | path

Searched refs:ctrlval (Results 1 – 2 of 2) sorted by relevance

/linux/include/linux/
H A Dcpu_smt.h21 extern int cpuhp_smt_disable(enum cpuhp_smt_control ctrlval);
30 static inline int cpuhp_smt_disable(enum cpuhp_smt_control ctrlval) { return 0; } in cpuhp_smt_disable() argument
/linux/kernel/
H A Dcpu.c2671 int cpuhp_smt_disable(enum cpuhp_smt_control ctrlval) in cpuhp_smt_disable() argument
2683 if (ctrlval == CPU_SMT_ENABLED && cpu_smt_thread_allowed(cpu)) in cpuhp_smt_disable()
2704 cpu_smt_control = ctrlval; in cpuhp_smt_disable()
2916 int ctrlval, ret, num_threads, orig_threads; in __store_smt_control() local
2926 ctrlval = CPU_SMT_ENABLED; in __store_smt_control()
2929 ctrlval = CPU_SMT_DISABLED; in __store_smt_control()
2932 ctrlval = CPU_SMT_FORCE_DISABLED; in __store_smt_control()
2936 ctrlval = CPU_SMT_DISABLED; in __store_smt_control()
2938 ctrlval = CPU_SMT_ENABLED; in __store_smt_control()
2952 force_off = ctrlval != cpu_smt_control && ctrlval == CPU_SMT_FORCE_DISABLED; in __store_smt_control()
[all …]