函数逻辑报告 |
Source Code:kernel\notifier.c |
Create Date:2022-07-27 10:32:17 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Notifier chain core routines. The exported routines below* are layered on top of these, with appropriate locking added.
函数原型:static int notifier_chain_register(struct notifier_block **nl, struct notifier_block *n)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct notifier_block ** | nl | |
struct notifier_block * | n |
26 | 如果此条件成立可能性小(为编译器优化)(( * nl) == n)则 |
27 | WARN(1, "double register detected") |
28 | 返回:0 |
36 | 返回:0 |
名称 | 描述 |
---|---|
atomic_notifier_chain_register | atomic_notifier_chain_register - Add notifier to an atomic notifier chain*@nh: Pointer to head of the atomic notifier chain*@n: New entry in notifier chain* Adds a notifier to an atomic notifier chain.* Currently always returns zero. |
blocking_notifier_chain_register | locking_notifier_chain_register - Add notifier to a blocking notifier chain*@nh: Pointer to head of the blocking notifier chain*@n: New entry in notifier chain* Adds a notifier to a blocking notifier chain.* Must be called in process context. |
raw_notifier_chain_register | aw_notifier_chain_register - Add notifier to a raw notifier chain*@nh: Pointer to head of the raw notifier chain*@n: New entry in notifier chain* Adds a notifier to a raw notifier chain.* All locking must be provided by the caller. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |