Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\btree.c Create Date:2022-07-28 06:53:43
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:btree_grow

Proto:static int btree_grow(struct btree_head *head, struct btree_geo *geo, gfp_t gfp)

Type:int

Parameter:

TypeParameterName
struct btree_head *head
struct btree_geo *geo
gfp_tgfp
419  node = btree_node_alloc(head, gfp)
420  If Not node Then Return -ENOMEM
422  If node Then
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  Return 0
Caller
NameDescribe
btree_insert_level