函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:hwpoison_filter

函数原型:int hwpoison_filter(struct page *p)

返回类型:int

参数:

类型参数名称
struct page *p
152  如果非hwpoison_filter_enable则返回:0
155  如果hwpoison_filter_dev(p)则返回:负EINVAL
158  如果hwpoison_filter_flags(p)则返回:负EINVAL
161  如果hwpoison_filter_task(p)则返回:负EINVAL
164  返回:0
调用者
名称描述
memory_failure_hugetlb
memory_failure_dev_pagemap
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
hwpoison_inject