函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

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

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

返回类型:int

参数:

类型参数名称
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  返回:ret
调用者
名称描述
register_die_notifier
register_restart_handlergister_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_notifierpu_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
register_kernel_offset_dumper
check_cpu_stall_init