Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\vmscan.c Create Date:2022-07-28 14:17:29
Last Modify:2022-05-23 13:41:30 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:may_write_to_inode

Proto:static int may_write_to_inode(struct inode *inode)

Type:int

Parameter:

TypeParameterName
struct inode *inode
745  If flags & Allowed to write to swap Then Return 1
747  If Not inode_write_congested(inode) Then Return 1
749  If inode_to_bdi(inode) == backing_dev_info Then Return 1
751  Return 0
Caller
NameDescribe
pageoutpageout is called by shrink_page_list() for each dirty page.* Calls ->writepage().