Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\locking\rwsem.c Create Date:2022-07-28 09:48:29
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:int __sched down_read_killable(struct rw_semaphore *sem)

Type:int

Parameter:

TypeParameterName
struct rw_semaphore *sem
1503  might_sleep()
1504  rwsem_acquire_read( & dep_map, 0, 0, _RET_IP_)
1506  If LOCK_CONTENDED_RETURN(sem, __down_read_trylock, __down_read_killable) Then
1507  rwsem_release( & dep_map, _RET_IP_)
1508  Return -EINTR
1511  Return 0
Caller
NameDescribe
__access_remote_vmAccess another process' address space as given in mm. If non-NULL, use the* given task for page fault accounting.