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:lock for reading

Proto:inline void __down_read(struct rw_semaphore *sem)

Type:void

Parameter:

TypeParameterName
struct rw_semaphore *sem
1343  If Not rwsem_read_trylock(sem) Then
1344  Wait for the read lock to be granted
1346  Else
1347  rwsem_set_reader_owned(sem)
Caller
NameDescribe
down_read_non_owner
__percpu_down_read