Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:next_se

Proto:static inline struct swap_extent *next_se(struct swap_extent *se)

Type:struct swap_extent

Parameter:

TypeParameterName
struct swap_extent *se
163  rb = rb_next( & rb_node)
164  Return rb ? rb_entry(rb, structswap_extent, rb_node) : NULL
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.
discard_swap_clusterswap allocation tell device that a cluster of swap can now be discarded,* to allow the swap device to optimize its wear-levelling.