Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:swap_set_page_dirty

Proto:int swap_set_page_dirty(struct page *page)

Type:int

Parameter:

TypeParameterName
struct page *page
437  sis = page_swap_info(page)
439  If SWP_USED etc: see above & SWP_FS Then
440  mapping = f_mapping
442  VM_BUG_ON_PAGE(!PageSwapCache(page), page)
443  Return set_page_dirty(page)
444  Else
445  Return For address_spaces which do not use buffers nor write back.