函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:pvclock_gtod_register_notifier - register a pvclock timedata update listener

函数原型:int pvclock_gtod_register_notifier(struct notifier_block *nb)

返回类型:int

参数:

类型参数名称
struct notifier_block *nb
586  tk等于timekeeper
590  raw_spin_lock_irqsave( & timekeeper_lock, flags)
591  ret等于aw_notifier_chain_register - Add notifier to a raw notifier chain*@nh: Pointer to head of the raw notifier chain*@n: New entry in notifier chain* Adds a notifier to a raw notifier chain.* All locking must be provided by the caller.
592  update_pvclock_gtod(tk, true)
593  raw_spin_unlock_irqrestore( & timekeeper_lock, flags)
595  返回:ret