Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\rbtree_latch.h Create Date:2022-07-28 05:48:55
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:__lt_find

Proto:static __always_inline struct latch_tree_node *__lt_find(void *key, struct latch_tree_root *ltr, int idx, int (*comp)(void *key, struct latch_tree_node *node))

Type:struct latch_tree_node

Parameter:

TypeParameterName
void *key
struct latch_tree_root *ltr
intidx
int (*comp
109  node = Dependency order vs. p above. (rb_node)
113  When node cycle
114  ltn = __lt_from_rb(node, idx)
115  c = comp(key, ltn)
117  If c < 0 Then node = Dependency order vs. p above. (rb_left)
119  Else if c > 0 Then node = Dependency order vs. p above. (rb_right)
121  Else Return ltn
125  Return NULL