Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:wait_on_page_locked_killable

Proto:static inline int wait_on_page_locked_killable(struct page *page)

Type:int

Parameter:

TypeParameterName
struct page *page
532  If Not PageLocked(page) Then Return 0
534  Return wait_on_page_bit_killable(compound_head(page), Page is locked. Don't touch. )
Caller
NameDescribe
__lock_page_or_retryReturn values:* 1 - page is locked; mmap_sem is still held
generic_file_buffered_readgeneric_file_buffered_read - generic file read routine*@iocb: the iocb to read*@iter: data destination*@written: already copied* This is a generic file read routine, and uses the* mapping->a_ops->readpage() function for the actual low-level stuff.