Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:bkey

Proto:static unsigned long *bkey(struct btree_geo *geo, unsigned long *node, int n)

Type:unsigned long

Parameter:

TypeParameterName
struct btree_geo *geo
unsigned long *node
intn
150  Return node[n * keylen]
Caller
NameDescribe
setkey
clearpair
btree_last
keycmp
btree_get_prevUsually this function is quite similar to normal lookup. But the key of* a parent node may be smaller than the smallest key of all its siblings.* In such a case we cannot just return NULL, as we have only proven that no
btree_grow
btree_insert_level
merge
btree_remove_level
__btree_for_each