函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:halt_fast_timekeeper - Prevent fast timekeeper from accessing clocksource.*@tk: Timekeeper to snapshot.* It generally is unsafe to access the clocksource after timekeeping has been* suspended, so take a snapshot of the readout base of @tk and use it as the

函数原型:static void halt_fast_timekeeper(const struct timekeeper *tk)

返回类型:void

参数:

类型参数名称
const struct timekeeper *tk
560  tkr等于tkr_mono
562  内存复制( & tkr_dummy, tkr, tkr_dummy的长度)
563  Suspend-time cycles value for halted fast timekeeper. 等于k_clock_read - atomic clocksource read() helper* This helper is necessary to use in the read paths because, while the* seqlock ensures we don't return a bad value while structures are updated,* it doesn't protect from potential crashes
564  clock等于dummy_clock
565  base_real等于baseoffs_real
566  pdate_fast_timekeeper - Update the fast and NMI safe monotonic timekeeper.*@tkr: Timekeeping readout base from which we take the update* We want to use this from any context including NMI and tracing /* instrumenting the timekeeping code itself.
568  tkr等于tkr_raw
569  内存复制( & tkr_dummy, tkr, tkr_dummy的长度)
570  clock等于dummy_clock
571  pdate_fast_timekeeper - Update the fast and NMI safe monotonic timekeeper.*@tkr: Timekeeping readout base from which we take the update* We want to use this from any context including NMI and tracing /* instrumenting the timekeeping code itself.
调用者
名称描述
timekeeping_suspend