函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\rbtree_latch.h Create Date:2022-07-27 06:49:17
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:latch_tree_insert() - insert @node into the trees @root*@node: nodes to insert*@root: trees to insert @node into*@ops: operators defining the node order* It inserts @node into @root in an ordered fashion such that we can always* observe one complete tree

函数原型:static __always_inline void latch_tree_insert(struct latch_tree_node *node, struct latch_tree_root *root, const struct latch_tree_ops *ops)

返回类型:void

参数:

类型参数名称
struct latch_tree_node *node
struct latch_tree_root *root
const struct latch_tree_ops *ops
148  aw_write_seqcount_latch - redirect readers to even/odd copy*@s: pointer to seqcount_t* The latch technique is a multiversion concurrency control method that allows* queries during non-atomic modifications. If you can guarantee queries never
149  __lt_insert(node, root, 0, less)
150  aw_write_seqcount_latch - redirect readers to even/odd copy*@s: pointer to seqcount_t* The latch technique is a multiversion concurrency control method that allows* queries during non-atomic modifications. If you can guarantee queries never
151  __lt_insert(node, root, 1, less)