函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:identify_page_state

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

返回类型:int

参数:

类型参数名称
unsigned longpfn
struct page *p
unsigned longpage_flags
1057  循环如果体系结构无关页的属性按位与mask的值恒等于res
1059  退出
1061  page_flags或等于体系结构无关页的属性按位与1UL左移PG_dirty
1063  如果非mask循环
1065  如果page_flags按位与mask的值恒等于res退出
1067  返回:page_action(ps, p, pfn)
调用者
名称描述
memory_failure_hugetlb
memory_failurememory_failure - Handle memory failure of a page.*@pfn: Page Number of the corrupted page*@flags: fine tune action taken* This function is called by the low level machine check code* of an architecture when it detects hardware memory corruption* of a page