函数逻辑报告

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

函数名称:aw_write_seqcount_barrier - do a seq write barrier*@s: pointer to seqcount_t* This can be used to provide an ordering guarantee instead of the* usual consistency guarantee

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

返回类型:void

参数:

类型参数名称
seqcount_t *s
274  sequence自加
275  smp_wmb()
276  sequence自加
调用者
名称描述
__run_hrtimerThe write_seqcount_barrier()s in __run_hrtimer() split the thing into 3* distinct sections:* - queued: the timer is queued* - callback: the timer is being ran* - post: the timer is inactive or (re)queued* On the read side we ensure we observe timer->state