函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:取btree的最后一项

函数原型:void *btree_last(struct btree_head *head, struct btree_geo *geo, unsigned long *key)

返回类型:void

参数:

类型参数名称
struct btree_head *head
struct btree_geo *geo
unsigned long *key
210  height等于height
211  node等于node
213  如果height恒等于0则返回:NULL
216 height大于1循环node等于bval(geo, node, 0)
219  longcpy(key, bkey(geo, node, 0), keylen)
220  返回:bval(geo, node, 0)
调用者
名称描述
btree_merge