Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:is_hugetlb_entry_hwpoisoned

Proto:static int is_hugetlb_entry_hwpoisoned(pte_t pte)

Type:int

Parameter:

TypeParameterName
pte_tpte
3291  If huge_pte_none(pte) || pte_present(pte) Then Return 0
3293  swp = Convert the arch-dependent pte representation of a swp_entry_t into an* arch-independent swp_entry_t.
3294  If non_swap_entry(swp) && is_hwpoison_entry(swp) Then Return 1
3296  Else Return 0
Caller
NameDescribe
copy_hugetlb_page_range
hugetlb_fault
hugetlb_change_protection