Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:hwpoison_filter

Proto:int hwpoison_filter(struct page *p)

Type:int

Parameter:

TypeParameterName
struct page *p
152  If Not hwpoison_filter_enable Then Return 0
155  If hwpoison_filter_dev(p) Then Return -EINVAL
158  If hwpoison_filter_flags(p) Then Return -EINVAL
161  If hwpoison_filter_task(p) Then Return -EINVAL
164  Return 0
Caller
NameDescribe
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