函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:memory_bm_free

函数原型:static void memory_bm_free(struct memory_bitmap *bm, int clear_nosave_free)

返回类型:void

参数:

类型参数名称
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  初始化链表头
调用者
名称描述
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