Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:first_se

Proto:static inline struct swap_extent *first_se(struct swap_info_struct *sis)

Type:struct swap_extent

Parameter:

TypeParameterName
struct swap_info_struct *sis
157  rb = This function returns the first node (in sort order) of the tree.
158  Return rb_entry(rb, structswap_extent, rb_node)
Caller
NameDescribe
discard_swapswapon tell device that all the old swap contents can be discarded,* to allow the swap device to optimize its wear-levelling.