Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:memory_bm_free

Proto:static void memory_bm_free(struct memory_bitmap *bm, int clear_nosave_free)

Type:void

Parameter:

TypeParameterName
struct memory_bitmap *bm
intclear_nosave_free
690  list_for_each_entry - iterate over list of given type*@pos: the type * to use as a loop cursor.*@head: the head for your list.*@member: the name of the list_head within the struct.(zone, & zones, list)
691  free_zone_bm_rtree(zone, clear_nosave_free)
693  free_list_of_pages( list of pages used to store zone bitmap objects and bitmap block objects , clear_nosave_free)
695  Initialization list head
Caller
NameDescribe
memory_bm_creatememory_bm_create - Allocate memory for a memory bitmap.
create_basic_memory_bitmapsreate_basic_memory_bitmaps - Create bitmaps to hold basic page information
free_basic_memory_bitmaps_basic_memory_bitmaps - Free memory bitmaps holding basic information.* Free memory bitmaps allocated by create_basic_memory_bitmaps(). The* auxiliary pointers are necessary so that the bitmaps themselves are not* referred to while they are being freed.
prepare_imageprepare_image - Make room for loading hibernation image