Function report |
Source Code:kernel\reboot.c |
Create Date:2022-07-28 09:32:54 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:devm_register_reboot_notifier
Proto:int devm_register_reboot_notifier(struct device *dev, struct notifier_block *nb)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct device * | dev | |
| struct notifier_block * | nb |
| 120 | rcnb = devres_alloc(devm_unregister_reboot_notifier, size of rcnb , GFP_KERNEL) |
| 126 | If Not ret Then |
| 128 | devres_add(dev, rcnb) |
| 129 | Else |
| 130 | devres_free(rcnb) |
| 133 | Return ret |
| 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 |