函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\swapfile.c Create Date:2022-07-27 16:46:38
Last Modify:2020-03-17 22:19:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:next_se

函数原型:static inline struct swap_extent *next_se(struct swap_extent *se)

返回类型:struct swap_extent

参数:

类型参数名称
struct swap_extent *se
163  rb等于rb_next( & rb_node)
164  返回:rb ? rb_entry(rb, structswap_extent, rb_node) : NULL
调用者
名称描述
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.