函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:write_seqcount_begin

函数原型:static inline void write_seqcount_begin(seqcount_t *s)

返回类型:void

参数:

类型参数名称
seqcount_t *s
382  Sequence counter only version assumes that callers are using their* own mutexing.
调用者
名称描述
fprop_new_periodDeclare @periods new periods. It is upto the caller to make sure period* transitions cannot happen in parallel.* The function returns true if the proportions are still defined and false* if aging zeroed out all events
psi_group_change
psi_memstall_tick
do_settimeofday64do_settimeofday64 - Sets the time of day.*@ts: pointer to the timespec64 variable containing the new time* Sets the time of day to the new time and update NTP and notify hrtimers
timekeeping_inject_offsetmekeeping_inject_offset - Adds or subtracts from the current time.*@tv: pointer to the timespec variable containing the offset* Adds or subtracts an offset value from the current time.
change_clocksourcehange_clocksource - Swaps clocksources if a new one is available* Accumulates current time interval and initializes new clocksource
timekeeping_init初始化系统时钟计时
timekeeping_resumemekeeping_resume - Resumes the generic timekeeping subsystem.
timekeeping_suspend
timekeeping_advancemekeeping_advance - Updates the timekeeper to the current time and* current NTP tick length
do_adjtimexdo_adjtimex() - Accessor function to NTP __do_adjtimex function
cpuset_change_task_nodemaskpuset_change_task_nodemask - change task's mems_allowed and mempolicy*@tsk: the task to change*@newmems: new nodes that the task will be set* We use the mems_allowed_seq seqlock to safely update both tsk->mems_allowed
ioc_start_period
__d_move__d_move - move a dentry*@dentry: entry to move*@target: new dentry*@exchange: exchange the two dentries* Update the dcache to reflect the move of a file name
set_fs_rootReplace the fs->{rootmnt,root} with {mnt,dentry}. Put the old values.* It can block.
set_fs_pwdReplace the fs->{pwdmnt,pwd} with {mnt,dentry}. Put the old values.* It can block.
chroot_fs_refs
userfaultfd_ctx_read
write_seqlock当前CPU负责更新时间
write_seqlock_bh
write_seqlock_irq
__write_seqlock_irqsave