Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\filemap.c Create Date:2022-07-28 14:01:39
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:After completing I/O on a page, call this routine to update the page* flags appropriately

Proto:void page_endio(struct page *page, bool is_write, int err)

Type:void

Parameter:

TypeParameterName
struct page *page
boolis_write
interr
1353  If Not is_write Then
1354  If Not err Then
1356  Else
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  Else
1362  If err Then
1365  SetPageError(page)
1370  d_page_writeback - end writeback against a page*@page: the page