Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Module notifier call back, checking error injection table on the module

Proto:static int ei_module_callback(struct notifier_block *nb, unsigned long val, void *data)

Type:int

Parameter:

TypeParameterName
struct notifier_block *nb
unsigned longval
void *data
131  mod = data
133  If val == Full formed, running module_init. Then module_load_ei_list(mod)
135  Else if val == Going away. Then module_unload_ei_list(mod)
138  Return Don't care