Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:puhp_setup_state_multi - Add callbacks for multi state*@state: The state for which the calls are installed*@name: Name of the callback

Proto:static inline int cpuhp_setup_state_multi(enum cpuhp_state state, const char *name, int (*startup)(unsigned int cpu, struct hlist_node *node), int (*teardown)(unsigned int cpu, struct hlist_node *node))

Type:int

Parameter:

TypeParameterName
enum cpuhp_statestate
const char *name
int (*startup
int (*teardown
275  Return __cpuhp_setup_state(state, name, false, (void * )startup, (void * )teardown, true)
Caller
NameDescribe
tracer_alloc_buffers
init_zswapmodule init and exit
blk_mq_init