函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:first_se

函数原型:static inline struct swap_extent *first_se(struct swap_info_struct *sis)

返回类型:struct swap_extent

参数:

类型参数名称
struct swap_info_struct *sis
157  rb等于This function returns the first node (in sort order) of the tree.
158  返回:rb_entry(rb, structswap_extent, rb_node)
调用者
名称描述
discard_swapswapon tell device that all the old swap contents can be discarded,* to allow the swap device to optimize its wear-levelling.