函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\rcu\srcutree.c Create Date:2022-07-27 11:19:30
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Handle one module, either coming or going.

函数原型:static int srcu_module_notify(struct notifier_block *self, unsigned long val, void *data)

返回类型:int

参数:

类型参数名称
struct notifier_block *self
unsigned longval
void *data
1347  mod等于data
1348  ret等于0
1351  :val恒等于MODULE_STATE_COMING
1352  ret等于Initialize any global-scope srcu_struct structures used by this module.
1353  退出
1354  :val恒等于MODULE_STATE_GOING
1355  Clean up any global-scope srcu_struct structures used by this module.
1356  退出
1357  默认
1358  退出
1360  返回:ret