Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Sanity check for callbacks

Proto:static int cpuhp_cb_check(enum cpuhp_state state)

Type:int

Parameter:

TypeParameterName
enum cpuhp_statestate
1539  If state <= CPUHP_OFFLINE || state >= CPUHP_ONLINE Then Return -EINVAL
1541  Return 0
Caller
NameDescribe
__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
__cpuhp_state_remove_instance
__cpuhp_remove_state_cpuslocked__cpuhp_remove_state_cpuslocked - Remove the callbacks for an hotplug machine state*@state: The state to remove*@invoke: If true, the teardown function is invoked for cpus where* cpu state >= @state