函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\seqlock.h Create Date:2022-07-27 06:39:22
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:ad_seqcount_retry - end a seq-read critical section*@s: pointer to seqcount_t*@start: count, from read_seqcount_begin* Returns: 1 if retry is required, else 0* read_seqcount_retry closes a read critical section of the given seqcount

函数原型:static inline int read_seqcount_retry(const seqcount_t *s, unsigned start)

返回类型:int

参数:

类型参数名称
const seqcount_t *s
unsignedstart
220  smp_rmb()
221  返回:__read_seqcount_retry - end a seq-read critical section (without barrier)*@s: pointer to seqcount_t*@start: count, from read_seqcount_begin* Returns: 1 if retry is required, else 0* __read_seqcount_retry is like read_seqcount_retry, but has no smp_rmb()
调用者
名称描述
fprop_fraction_singleReturn fraction of events of type pl
fprop_fraction_percpu
get_recent_times
hrtimer_activeA timer is active, when it is enqueued into the rbtree or the* callback function is running or it's in the state of being migrated* to another cpu.* It is important for this function to not return a false negative.
__ktime_get_fast_nsktime_get_mono_fast_ns - Fast NMI safe access to clock monotonic* This timestamp is not guaranteed to be monotonic across an update
__ktime_get_real_fast_nsSee comment for __ktime_get_fast_ns() vs. timestamp ordering
ktime_get_real_ts64ktime_get_real_ts64 - Returns the time of day in a timespec64.*@ts: pointer to the timespec to be set* Returns the time of day in a timespec64 (WARN if suspended).
ktime_get
ktime_get_resolution_ns
ktime_get_with_offset
ktime_get_coarse_with_offset
ktime_mono_to_anyktime_mono_to_any() - convert mononotic time to any other time*@tmono: time to convert.*@offs: which offset to use
ktime_get_rawktime_get_raw - Returns the raw monotonic time in ktime_t format
ktime_get_ts64ktime_get_ts64 - get the monotonic clock in timespec64 format*@ts: pointer to timespec variable* The function calculates the monotonic clock from the realtime* clock and the wall_to_monotonic offset and stores the result
ktime_get_real_secondsktime_get_real_seconds - Get the seconds portion of CLOCK_REALTIME* Returns the wall clock seconds since 1970. This replaces the* get_seconds() interface which is not y2038 safe on 32bit systems.
ktime_get_snapshotktime_get_snapshot - snapshots the realtime/monotonic raw clocks with counter*@systime_snapshot: pointer to struct receiving the system time snapshot
get_device_system_crosststampget_device_system_crosststamp - Synchronously capture system/device timestamp*@get_time_fn: Callback to get simultaneous device time and* system counter from the device driver*@ctx: Context passed to get_time_fn()*@history_begin: Historical reference
ktime_get_raw_ts64ktime_get_raw_ts64 - Returns the raw monotonic time in a timespec*@ts: pointer to the timespec64 to be set* Returns the raw monotonic time (completely un-modified by ntp)
timekeeping_valid_for_hresmekeeping_valid_for_hres - Check if timekeeping is suitable for hres
timekeeping_max_defermentmekeeping_max_deferment - Returns max time the clocksource can be deferred
ktime_get_coarse_real_ts64
ktime_get_coarse_ts64
ktime_get_update_offsets_nowktime_get_update_offsets_now - hrtimer helper*@cwsseq: pointer to check and store the clock was set sequence number*@offs_real: pointer to storage for monotonic -> realtime offset*@offs_boot: pointer to storage for monotonic -> boottime offset*@offs_tai:
sched_clock
ioc_nowake a snapshot of the current [v]time and vrate
legitimize_pathpath_put is needed afterwards regardless of success or failure
unlazy_childlazy_child - try to switch to ref-walk mode
set_root
nd_jump_root
follow_dotdot_rcu
lookup_fast
step_intoDo we need to follow links? We _really_ want to be able* to do this check without having to look at inode->i_op,* so we keep a cache of "no, this doesn't need follow_link"* for the common case.
path_initmust be paired with terminate_walk()
dget_parent
__d_lookup_rcu__d_lookup_rcu - search for a dentry (racy, store-free)*@parent: parent dentry*@name: qstr of name we wish to find*@seqp: returns d_seq value at the point where the dentry was found* Returns: dentry, or NULL* __d_lookup_rcu is the dcache lookup function
d_alloc_parallel
get_fs_root_rcu
get_fs_root_and_pwd_rcu
wake_userfault
read_seqretry
latch_tree_findlatch_tree_find() - find the node matching @key in the trees @root*@key: search key*@root: trees to search for @key*@ops: operators defining the node order* Does a lockless lookup in the trees @root for the node matching @key