Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\cpuhotplug.h Create Date:2022-07-28 05:56:32
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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

Proto:static inline int cpuhp_setup_state(enum cpuhp_state state, const char *name, int (*startup)(unsigned int cpu), int (*teardown)(unsigned int cpu))

Type:int

Parameter:

TypeParameterName
enum cpuhp_statestate
const char *name
int (*startup
int (*teardown
215  Return __cpuhp_setup_state(state, name, true, startup, teardown, false)
Caller
NameDescribe
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