Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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 activityDownload SCCTChinese

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:

TypeParameterName
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
Caller
NameDescribe
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