Lines Matching refs:step
150 static bool cpuhp_step_empty(bool bringup, struct cpuhp_step *step) in cpuhp_step_empty() argument
152 return bringup ? !step->startup.single : !step->teardown.single; in cpuhp_step_empty()
172 struct cpuhp_step *step = cpuhp_get_step(state); in cpuhp_invoke_callback() local
182 if (cpuhp_step_empty(bringup, step)) { in cpuhp_invoke_callback()
187 if (!step->multi_instance) { in cpuhp_invoke_callback()
189 cb = bringup ? step->startup.single : step->teardown.single; in cpuhp_invoke_callback()
196 cbm = bringup ? step->startup.multi : step->teardown.multi; in cpuhp_invoke_callback()
209 hlist_for_each(node, &step->list) { in cpuhp_invoke_callback()
230 cbm = !bringup ? step->startup.multi : step->teardown.multi; in cpuhp_invoke_callback()
234 hlist_for_each(node, &step->list) { in cpuhp_invoke_callback()
1921 struct cpuhp_step *step; in cpuhp_reserve_state() local
1925 step = cpuhp_hp_states + CPUHP_AP_ONLINE_DYN; in cpuhp_reserve_state()
1929 step = cpuhp_hp_states + CPUHP_BP_PREPARE_DYN; in cpuhp_reserve_state()
1936 for (i = state; i <= end; i++, step++) { in cpuhp_reserve_state()
1937 if (!step->name) in cpuhp_reserve_state()