Function report |
Source Code:kernel\jump_label.c |
Create Date:2022-07-28 13:49:09 |
| Last Modify:2020-03-17 20:59:06 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:jump_label_module_notify
Proto:static int jump_label_module_notify(struct notifier_block *self, unsigned long val, void *data)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct notifier_block * | self | |
| unsigned long | val | |
| void * | data |
| 723 | ret = 0 |
| 725 | cpus_read_lock() |
| 726 | jump_label_lock() |
| 729 | Case val == Full formed, running module_init. |
| 730 | ret = jump_label_add_module(mod) |
| 731 | If ret Then |
| 732 | WARN(1, "Failed to allocate memory: jump_label may not work properly.\n") |
| 733 | jump_label_del_module(mod) |
| 735 | Break |
| 736 | Case val == Going away. |
| 737 | jump_label_del_module(mod) |
| 738 | Break |
| 741 | jump_label_unlock() |
| 742 | cpus_read_unlock() |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |