Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\errseq.c Create Date:2022-07-28 06:25:25
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:seq_check() - Has an error occurred since a particular sample point?*@eseq: Pointer to errseq_t value to be checked.*@since: Previously-sampled errseq_t from which to check.* Grab the value that eseq points to, and see if it has changed @since

Proto:int errseq_check(errseq_t *eseq, errseq_t since)

Type:int

Parameter:

TypeParameterName
errseq_t *eseq
errseq_tsince
146  cur = READ_ONCE( * eseq)
148  If Value is more likely to compile time(cur == since) Then Return 0
150  Return -(cur & Kernel pointers have redundant information, so we can use a* scheme where we can return either an error code or a normal* pointer with the same return value.* This should be a per-architecture thing, to allow different* error and pointer decisions.)