Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:cluster_next

Proto:static inline unsigned int cluster_next(struct swap_cluster_info *info)

Type:unsigned int

Parameter:

TypeParameterName
struct swap_cluster_info *info
294  Return data
Caller
NameDescribe
cluster_list_first
cluster_list_add_tail
cluster_list_del_first
scan_swap_map_try_ssd_clusterTry to get a swap entry from current cpu's swap entry pool (a cluster). This* might involve allocating a new cluster for current CPU too.