Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__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

Proto:static inline unsigned __read_seqcount_begin(const seqcount_t *s)

Type:unsigned

Parameter:

TypeParameterName
const seqcount_t *s
112  repeat :
113  ret = READ_ONCE(sequence)
114  If Value for the false possibility is greater at compile time(ret & 1) Then
115  cpu_relax()
116  Go to repeat
118  Return ret
Caller
NameDescribe
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