函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\filemap.c Create Date:2022-07-27 15:24:30
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:After completing I/O on a page, call this routine to update the page* flags appropriately

函数原型:void page_endio(struct page *page, bool is_write, int err)

返回类型:void

参数:

类型参数名称
struct page *page
boolis_write
interr
1353  如果非is_write
1354  如果非err
1356  否则
1358  SetPageError(page)
1360  lock_page - unlock a locked page*@page: the page* Unlocks the page and wakes up sleepers in ___wait_on_page_locked().* Also wakes sleepers in wait_on_page_writeback() because the wakeup* mechanism between PageLocked pages and PageWriteback pages is shared.
1361  否则
1362  如果err
1365  SetPageError(page)
1366  mapping等于page_mapping(page)
1370  d_page_writeback - end writeback against a page*@page: the page
调用者
名称描述
mpage_end_ioI/O completion handler for multipage BIOs