函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:ktime_get_mono_fast_ns

函数原型:u64 ktime_get_mono_fast_ns(void)

返回类型:u64

参数:

474  返回:ktime_get_mono_fast_ns - Fast NMI safe access to clock monotonic* This timestamp is not guaranteed to be monotonic across an update
调用者
名称描述
srcu_gp_endNote the end of an SRCU grace period. Initiates callback invocation* and starts a new grace period if needed.* The ->srcu_cb_mutex acquisition does not protect any data, but* instead prevents more than one grace period from starting while we
srcu_might_be_idleIf SRCU is likely idle, return true, otherwise return false.* Note that it is OK for several current from-idle requests for a new* grace period from idle to specify expediting because they will all end* up requesting the same grace period anyhow
rcu_perf_writerRCU perf writer kthread. Repeatedly does a grace period.
ktime_get_boot_fast_nsktime_get_boot_fast_ns - NMI safe and fast access to boot clock.* To keep it NMI safe since we're accessing from tracing, we're not using a* separate timekeeper with updates to monotonic clock and boot offset* protected with seqlocks
kdb_sysinfoMost of this code has been lifted from kernel/timer.c::sys_sysinfo().* I cannot call that code directly from kdb, it has an unconditional* cli()/sti() and calls routines that take locks which can stop the debugger.
____bpf_ktime_get_ns
init_srcu_struct_fieldsInitialize non-compile-time initialized fields, including the* associated srcu_node and srcu_data structures. The is_static* parameter is passed through to init_srcu_struct_nodes(), and* also tells us that ->sda has already been wired up to srcu_data.