函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\radix-tree.c Create Date:2022-07-27 07:10:22
Last Modify:2022-05-21 10:04:37 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:adix_tree_tag_set - set a tag on a radix tree node*@root: radix tree root*@index: index key*@tag: tag index* Set the search tag (which must be < RADIX_TREE_MAX_TAGS)* corresponding to @index in the radix tree. From

函数原型:void *radix_tree_tag_set(struct xarray *root, unsigned long index, unsigned int tag)

返回类型:void

参数:

类型参数名称
struct xarray *root
unsigned longindex
unsigned inttag
982  radix_tree_load_root(root, & node, & maxindex)
983  BUG_ON(index > maxindex)
985 radix_tree_is_internal_node(node)循环
988  parent等于entry_to_node(node)
989  offset等于radix_tree_descend(parent, & node, index)
990  BUG_ON(!node)
992  如果非tag_get(parent, tag, offset)则tag_set(parent, tag, offset)
997  如果非root_tag_get(root, tag)则root_tag_set(root, tag)
1000  返回:node
调用者
名称描述
active_cacheline_set_overlap