函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\jump_label.c Create Date:2022-07-27 15:10:53
Last Modify:2020-03-17 20:59:06 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:jump_label_module_notify

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

返回类型:int

参数:

类型参数名称
struct notifier_block *self
unsigned longval
void *data
722  mod等于data
723  ret等于0
725  cpus_read_lock()
726  jump_label_lock()
729  :val恒等于 Full formed, running module_init.
730  ret等于jump_label_add_module(mod)
731  如果ret
732  WARN(1, "Failed to allocate memory: jump_label may not work properly.\n")
735  退出
736  :val恒等于 Going away.
737  jump_label_del_module(mod)
738  退出
741  jump_label_unlock()
742  cpus_read_unlock()
744  返回:Encapsulate (negative) errno value (in particular, NOTIFY_BAD <=> EPERM).