Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:The following functions allow us to read data using a swap map* in a file-alike way

Proto:static void release_swap_reader(struct swap_map_handle *handle)

Type:void

Parameter:

TypeParameterName
struct swap_map_handle *handle
951  When maps cycle
952  If map Then free_page((unsignedlong)map)
954  tmp = maps
955  maps = next
956  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.
958  cur = NULL
Caller
NameDescribe
get_swap_reader
swap_read_page
swap_reader_finish