Function report |
Source Code:kernel\notifier.c |
Create Date:2022-07-28 09:31:43 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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.
Proto:int atomic_notifier_chain_register(struct atomic_notifier_head *nh, struct notifier_block *n)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct atomic_notifier_head * | nh | |
| struct notifier_block * | n |
| 117 | spin_lock_irqsave( & lock, flags) |
| 118 | ret = Notifier chain core routines. The exported routines below* are layered on top of these, with appropriate locking added. |
| 119 | spin_unlock_irqrestore( & lock, flags) |
| 120 | Return ret |
| Name | Describe |
|---|---|
| register_die_notifier | |
| register_restart_handler | gister_restart_handler - Register function to be called to reset* the system*@nb: Info about handler function to be called*@nb->priority: Handler priority |
| task_handoff_register | |
| hung_task_init | |
| tracer_alloc_buffers | |
| cpu_pm_register_notifier | pu_pm_register_notifier - register a driver with cpu_pm*@nb: notifier block to register* Add a driver to a list of drivers that are notified about* CPU and CPU cluster low power entry and exit |
| 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 |