Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:cluster_list_first

Proto:static inline unsigned int cluster_list_first(struct swap_cluster_list *list)

Type:unsigned int

Parameter:

TypeParameterName
struct swap_cluster_list *list
391  Return cluster_next( & head)
Caller
NameDescribe
alloc_cluster
scan_swap_map_ssd_cluster_conflictIt's possible scan_swap_map() uses a free cluster in the middle of free* cluster list. Avoiding such abuse to avoid list corruption.
swap_alloc_cluster