函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\notifier.c Create Date:2022-07-27 10:32:20
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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.

函数原型:int atomic_notifier_chain_unregister(struct atomic_notifier_head *nh, struct notifier_block *n)

返回类型:int

参数:

类型参数名称
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  返回:ret
调用者
名称描述
unregister_die_notifier
unregister_restart_handlerregister_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_notifierpu_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.