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 for a page to be unlocked.* This must be called with the caller "holding" the page,* ie with increased "page->count" so that the page won't* go away during the wait..

Proto:static inline void wait_on_page_locked(struct page *page)

Type:void

Parameter:

TypeParameterName
struct page *page
526  If PageLocked(page) Then This is exported only for wait_on_page_locked/wait_on_page_writeback, etc.,* and should not be used directly.
Caller
NameDescribe
__lock_page_or_retryReturn values:* 1 - page is locked; mmap_sem is still held
filemap_faultlemap_fault - read in file data for page fault handling*@vmf: struct vm_fault containing details of the fault* filemap_fault() is invoked via the vma operations vector for a* mapped memory region to read in file data during a page fault
wait_on_page_read
do_read_cache_page
hugetlb_fault