函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\cpuhotplug.h Create Date:2022-07-27 06:55:41
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:puhp_setup_state - Setup hotplug state callbacks with calling the callbacks*@state: The state for which the calls are installed*@name: Name of the callback (will be used in debug output)*@startup: startup callback function*@teardown: teardown callback

函数原型:static inline int cpuhp_setup_state(enum cpuhp_state state, const char *name, int (*startup)(unsigned int cpu), int (*teardown)(unsigned int cpu))

返回类型:int

参数:

类型参数名称
enum cpuhp_statestate
const char *name
int (*startup
int (*teardown
215  返回:__cpuhp_setup_state(state, name, true, startup, teardown, false)
调用者
名称描述
percpu_counter_startup
tboot_late_init
umwait_init
intel_epb_init
mcheck_init_device
resctrl_late_init
msr_init
cpuid_init
x2apic_cluster_probe
hpet_late_initThe late initialization runs after the PCI quirks have been invoked* which might have detected a system on which the HPET can be enforced
kvmclock_init
rcu_torture_init
page_writeback_initCalled early on to tune the page writeback dirty limits
enable_swap_slots_cache
init_zswapmodule init and exit
cpucache_init
zs_init