函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\cpu.c Create Date:2022-07-27 10:00:26
Last Modify:2020-03-18 13:00:59 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Sanity check for callbacks

函数原型:static int cpuhp_cb_check(enum cpuhp_state state)

返回类型:int

参数:

类型参数名称
enum cpuhp_statestate
1539  如果state小于等于CPUHP_OFFLINEstate大于等于CPUHP_ONLINE则返回:负EINVAL
1541  返回:0
调用者
名称描述
__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