Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\locking\rwsem.c Create Date:2022-07-28 09:48:02
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Return true if the rwsem is owned by a reader.

Proto:static inline bool is_rwsem_reader_owned(struct rw_semaphore *sem)

Type:bool

Parameter:

TypeParameterName
struct rw_semaphore *sem
231  Return Test the flags in the owner field.
Caller
NameDescribe
__down_readlock for reading
__down_read_killable
__up_readlock after reading
up_read_non_owner