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_unregister - Remove notifier from an atomic notifier chain*@nh: Pointer to head of the atomic notifier chain*@n: Entry to remove from notifier chain* Removes a notifier from an atomic notifier chain.
Proto:int atomic_notifier_chain_unregister(struct atomic_notifier_head *nh, struct notifier_block *n)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct atomic_notifier_head * | nh | |
| struct notifier_block * | n |
| 139 | spin_lock_irqsave( & lock, flags) |
| 140 | ret = notifier_chain_unregister( & head, n) |
| 141 | spin_unlock_irqrestore( & lock, flags) |
| 142 | synchronize_rcu() |
| 143 | Return ret |
| Name | Describe |
|---|---|
| unregister_die_notifier | |
| unregister_restart_handler | register_restart_handler - Unregister previously registered* restart handler*@nb: Hook to be unregistered* Unregisters a previously registered restart handler function.* Returns zero on success, or %-ENOENT on failure. |
| task_handoff_unregister | |
| cpu_pm_unregister_notifier | pu_pm_unregister_notifier - unregister a driver with cpu_pm*@nb: notifier block to be unregistered* Remove a driver from the CPU PM notifier list.* This function may sleep, and has the same return conditions as* raw_notifier_chain_unregister. |
| 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 |