Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:page_mkclean

Proto:int page_mkclean(struct page *page)

Type:int

Parameter:

TypeParameterName
struct page *page
988  cleaned = 0
990  struct rmap_walk_control rwc = { passed to rmap_one() and invalid_vma() = (void * ) & cleaned, executed on each vma where page is mapped = page_mkclean_one, for skipping uninterested vma = invalid_mkclean_vma, }
996  BUG_ON(!PageLocked(page))
998  If Not Return true if this page is mapped into pagetables.* For compound page it returns true if any subpage of compound page is mapped. Then Return 0
1001  mapping = page_mapping(page)
1002  If Not mapping Then Return 0
1005  rmap_walk(page, & rwc)
1007  Return cleaned
Caller
NameDescribe
pagecache_isize_extendedpagecache_isize_extended - update pagecache after extension of i_size*@inode: inode for which i_size was extended*@from: original inode size*@to: new inode size* Handle extension of inode size either caused by extending truncate or by
hwpoison_user_mappingsDo all that is necessary to remove user space mappings. Unmap* the pages and send SIGBUS to the processes if the data was dirty.