函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\pagemap.h Create Date:2022-07-27 06:45:58
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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..

函数原型:static inline void wait_on_page_locked(struct page *page)

返回类型:void

参数:

类型参数名称
struct page *page
526  如果PageLocked(page)则This is exported only for wait_on_page_locked/wait_on_page_writeback, etc.,* and should not be used directly.
调用者
名称描述
__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