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:aw_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

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

Type:unsigned

Parameter:

TypeParameterName
const seqcount_t *s
148  ret = __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
149  smp_rmb()
150  Return ret
Caller
NameDescribe
hrtimer_activeA timer is active, when it is enqueued into the rbtree or the* callback function is running or it's in the state of being migrated* to another cpu.* It is important for this function to not return a false negative.
read_seqcount_beginad_seqcount_begin - begin a seq-read critical section*@s: pointer to seqcount_t* Returns: count to be passed to read_seqcount_retry* read_seqcount_begin opens a read critical section of the given seqcount