函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:ree_next_node - Jump to the next leaf node.* Set the position to the beginning of the next node in the* memory bitmap. This is either the next node in the current* zone's radix tree or the first node in the radix tree of the* next zone.

函数原型:static bool rtree_next_node(struct memory_bitmap *bm)

返回类型:bool

参数:

类型参数名称
struct memory_bitmap *bm
847  如果非检查是否为链表尾
848  node等于list_entry - get the struct for this entry*@ptr: the &struct list_head pointer.*@type: the type of the struct this is embedded in.*@member: the name of the list_head within the struct.(链表后项, structrtree_node, list)
850  node_pfn加等于BM_BITS_PER_BLOCK
851  node_bit等于0
852  touch_softlockup_watchdog()
853  返回:true
857  如果非检查是否为链表尾
858  zone等于list_entry - get the struct for this entry*@ptr: the &struct list_head pointer.*@type: the type of the struct this is embedded in.*@member: the name of the list_head within the struct.(链表后项, structmem_zone_bm_rtree, list)
860  node等于list_entry - get the struct for this entry*@ptr: the &struct list_head pointer.*@type: the type of the struct this is embedded in.*@member: the name of the list_head within the struct.(链表后项, structrtree_node, list)
862  node_pfn等于0
863  node_bit等于0
864  返回:true
868  返回:false
调用者
名称描述
memory_bm_next_pfnmemory_bm_rtree_next_pfn - Find the next set bit in a memory bitmap.*@bm: Memory bitmap.* Starting from the last returned position this function searches for the next* set bit in @bm and returns the PFN represented by it. If no more bits are