函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\power\swap.c Create Date:2022-07-27 11:02:17
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:_all_swap_pages - free swap pages allocated for saving image data.* It also frees the extents used to register which swap entries had been* allocated.

函数原型:void free_all_swap_pages(int swap)

返回类型:void

参数:

类型参数名称
intswap
200 node等于rb_node循环
204  ext等于rb_entry(node, structswsusp_extent, node)
205  rb_erase(node, & swsusp_extents)
206 offset小于等于end循环swap_free(Store a type+offset into a swp_entry_t in an arch-independent format)
209  释放内存
调用者
名称描述
swap_writer_finish
snapshot_release
snapshot_ioctl