Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\seqlock.h Create Date:2022-07-28 05:35:24
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:write_seqcount_begin

Proto:static inline void write_seqcount_begin(seqcount_t *s)

Type:void

Parameter:

TypeParameterName
seqcount_t *s
382  Sequence counter only version assumes that callers are using their* own mutexing.
Caller
NameDescribe
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_initmekeeping_init - Initializes the clocksource and common timekeeping values
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_seqlockLock out other writers and update the count.* Acts like a normal spin_lock/unlock.* Don't need preempt_disable() because that is in the spin_lock already.
write_seqlock_bh
write_seqlock_irq
__write_seqlock_irqsave