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:dec_key

Proto:static void dec_key(struct btree_geo *geo, unsigned long *key)

Type:void

Parameter:

TypeParameterName
struct btree_geo *geo
unsigned long *key
140  When i >= 0 cycle
141  val = key[i]
142  key[i] = val - 1
143  If val Then Break
Caller
NameDescribe
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