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_shrink

Proto:static void btree_shrink(struct btree_head *head, struct btree_geo *geo)

Type:void

Parameter:

TypeParameterName
struct btree_head *head
struct btree_geo *geo
437  If height <= 1 Then Return
440  node = node
441  fill = getfill(geo, node, 0)
442  BUG_ON(fill > 1)
443  node = bval(geo, node, 0)
444  height--
445  mempool_free - return an element to the pool.*@element: pool element pointer.*@pool: pointer to the memory pool which was allocated via* mempool_create().* this function only sleeps if the free_fn() function sleeps.
Caller
NameDescribe
btree_remove_level