Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Counts the new reader in the appropriate per-CPU element of the* srcu_struct. Can be invoked from irq/bh handlers, but the matching* __srcu_read_unlock() must be in the same handler instance. Returns an

Proto:static inline int __srcu_read_lock(struct srcu_struct *ssp)

Type:int

Parameter:

TypeParameterName
struct srcu_struct *ssp
62  idx = READ_ONCE( Current reader array element. )
63  WRITE_ONCE( srcu_read_lock() nesting depth. [idx], srcu_read_lock() nesting depth. [idx] + 1)
64  Return idx