Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\swapops.h Create Date:2022-07-28 10:02:00
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:is_hwpoison_entry

Proto:static inline int is_hwpoison_entry(swp_entry_t entry)

Type:int

Parameter:

TypeParameterName
swp_entry_tentry
321  Return Extract the `type' field from a swp_entry_t. The swp_entry_t is in* arch-independent format == SWP_HWPOISON
Caller
NameDescribe
do_swap_pageWe enter with non-exclusive mmap_sem (to exclude vma changes,* but allow concurrent faults), and pte mapped but not yet locked.* We return with pte unmapped and unlocked.* We return with the mmap_sem locked or unlocked in the same cases
is_hugetlb_entry_hwpoisoned