Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__down_read_killable

Proto:static inline int __down_read_killable(struct rw_semaphore *sem)

Type:int

Parameter:

TypeParameterName
struct rw_semaphore *sem
1353  If Not rwsem_read_trylock(sem) Then
1354  If IS_ERR(Wait for the read lock to be granted) Then Return -EINTR
1357  Else
1358  rwsem_set_reader_owned(sem)
1360  Return 0