函数逻辑报告

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_begin - begin a seq-read critical section*@s: pointer to seqcount_t* Returns: count to be passed to read_seqcount_retry* read_seqcount_begin opens a read critical section of the given seqcount

函数原型:static inline unsigned read_seqcount_begin(const seqcount_t *s)

返回类型:unsigned

参数:

类型参数名称
const seqcount_t *s
164  seqcount_lockdep_reader_access(s)
165  返回:aw_read_seqcount_begin - start seq-read critical section w/o lockdep*@s: pointer to seqcount_t* Returns: count to be passed to read_seqcount_retry* raw_read_seqcount_begin opens a read critical section of the given
调用者
名称描述
fprop_fraction_singleReturn fraction of events of type pl
fprop_fraction_percpu
get_recent_times
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:
ioc_nowake a snapshot of the current [v]time and vrate
set_root
__follow_mount_rcuTry to skip to top of mountpoint pile in rcuwalk mode. Fail if* we meet a managed dentry that would need blocking.
follow_dotdot_rcu
path_initmust be paired with terminate_walk()
get_fs_root_rcu
get_fs_root_and_pwd_rcu
wake_userfault
read_seqbeginRead side functions for starting and finalizing a read side section.