Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\power\swap.c Create Date:2022-07-28 10:02:14
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:_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.

Proto:void free_all_swap_pages(int swap)

Type:void

Parameter:

TypeParameterName
intswap
200  When node = rb_node cycle
204  ext = rb_entry(node, structswsusp_extent, node)
205  rb_erase(node, & swsusp_extents)
206  When offset <= end cycle swap_free(Store a type+offset into a swp_entry_t in an arch-independent format)
209  kfree - free previously allocated memory*@objp: pointer returned by kmalloc.* If @objp is NULL, no operation is performed.* Don't free memory not originally allocated by kmalloc()* or you will run into trouble.
Caller
NameDescribe
swap_writer_finish
snapshot_release
snapshot_ioctl