函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:btree_grow

函数原型:static int btree_grow(struct btree_head *head, struct btree_geo *geo, gfp_t gfp)

返回类型:int

参数:

类型参数名称
struct btree_head *head
struct btree_geo *geo
gfp_tgfp
419  node等于btree_node_alloc(head, gfp)
420  如果非node则返回:负ENOMEM
422  如果node
423  fill等于getfill(geo, node, 0)
424  setkey(geo, node, 0, bkey(geo, node, fill - 1))
425  setval(geo, node, 0, node)
427  node等于node
428  height自加
429  返回:0
调用者
名称描述
btree_insert_level