Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\cpu.c Create Date:2022-07-28 09:00:54
Last Modify:2020-03-18 13:00:59 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Called from __cpuhp_setup_state on a recoverable failure.* Note: The teardown callbacks for rollback are not allowed to fail!

Proto:static void cpuhp_rollback_install(int failedcpu, enum cpuhp_state state, struct hlist_node *node)

Type:void

Parameter:

TypeParameterName
intfailedcpu
enum cpuhp_statestate
struct hlist_node *node
1661  for_each_present_cpu(cpu)
1662  st = per_cpu_ptr( & cpuhp_state, cpu)
1663  cpustate = state
1665  If cpu >= failedcpu Then Break
1669  If cpustate >= state Then Call the startup/teardown function for a step either on the AP or* on the current CPU.
Caller
NameDescribe
__cpuhp_state_add_instance_cpuslocked
__cpuhp_setup_state_cpuslocked__cpuhp_setup_state_cpuslocked - Setup the callbacks for an hotplug machine state*@state: The state to setup*@invoke: If true, the startup function is invoked for cpus where* cpu state >= @state*@startup: startup callback function*@teardown: teardown