函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Dirty pagecache page* Issues: when the error hit a hole page the error is not properly* propagated.

函数原型:static int me_pagecache_dirty(struct page *p, unsigned long pfn)

返回类型:int

参数:

类型参数名称
struct page *p
unsigned longpfn
677  mapping等于page_mapping(p)
679  SetPageError(p)
681  如果mapping
716  mapping_set_error - record a writeback error in the address_space*@mapping - the mapping in which an error should be set*@error - the error to set in the mapping* When writeback fails in some way, we must record that error so that
719  返回:Clean (or cleaned) page cache page.