函数逻辑报告

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

函数名称:__read_seqcount_begin - begin a seq-read critical section (without barrier)*@s: pointer to seqcount_t* Returns: count to be passed to read_seqcount_retry* __read_seqcount_begin is like read_seqcount_begin, but has no smp_rmb()* barrier

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

返回类型:unsigned

参数:

类型参数名称
const seqcount_t *s
112  repeat :
113  ret等于READ_ONCE(sequence)
114  如果此条件成立可能性小(为编译器优化)(ret & 1)则
115  cpu_relax()
116  转到:repeat
118  返回:ret
调用者
名称描述
set_root
path_initmust be paired with terminate_walk()
raw_read_seqcount_beginaw_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