函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:page_mkclean

函数原型:int page_mkclean(struct page *page)

返回类型:int

参数:

类型参数名称
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  如果非Return true if this page is mapped into pagetables.* For compound page it returns true if any subpage of compound page is mapped.则返回:0
1001  mapping等于page_mapping(page)
1002  如果非mapping则返回:0
1005  rmap_walk(page, & rwc)
1007  返回:cleaned
调用者
名称描述
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.
clear_page_dirty_for_ioClear a page's dirty flag, while caring for dirty memory accounting.* Returns true if the page was previously dirty.* This is for preparing to put the page under writeout. We leave the page* tagged as dirty in the xarray so that a concurrent write-for-sync