Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\rcu\srcutree.c Create Date:2022-07-28 10:19:10
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Handle one module, either coming or going.

Proto:static int srcu_module_notify(struct notifier_block *self, unsigned long val, void *data)

Type:int

Parameter:

TypeParameterName
struct notifier_block *self
unsigned longval
void *data
1347  mod = data
1348  ret = 0
1351  Case val == MODULE_STATE_COMING
1352  ret = Initialize any global-scope srcu_struct structures used by this module.
1353  Break
1354  Case val == MODULE_STATE_GOING
1355  Clean up any global-scope srcu_struct structures used by this module.
1356  Break
1357  Default
1358  Break
1360  Return ret