Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:scan_swap_map

Proto:static unsigned long scan_swap_map(struct swap_info_struct *si, unsigned char usage)

Type:unsigned long

Parameter:

TypeParameterName
struct swap_info_struct *si
unsigned charusage
983  n_ret = scan_swap_map_slots(si, usage, 1, & entry)
985  If n_ret Then Return Extract the `offset' field from a swp_entry_t. The swp_entry_t is in* arch-independent format
987  Else Return 0
Caller
NameDescribe
get_swap_page_of_typeThe only caller of this function is now suspend routine