函数逻辑报告 |
Source Code:lib\radix-tree.c |
Create Date:2022-07-27 07:10:15 |
Last Modify:2022-05-21 10:04:37 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:This assumes that the caller has performed appropriate preallocation, and* that the caller has pinned this thread of control to the current CPU.
函数原型:static struct xa_node *radix_tree_node_alloc(gfp_t gfp_mask, struct xa_node *parent, struct xarray *root, unsigned int shift, unsigned int offset, unsigned int count, unsigned int nr_values)
返回类型:struct xa_node
参数:
类型 | 参数 | 名称 |
---|---|---|
gfp_t | gfp_mask | |
struct xa_node * | parent | |
struct xarray * | root | |
unsigned int | shift | |
unsigned int | offset | |
unsigned int | count | |
unsigned int | nr_values |
254 | 如果非gfpflags_allow_blocking(gfp_mask)且非in_interrupt()则 |
272 | rtp等于this_cpu_ptr( & radix_tree_preloads) |
273 | 如果nr则 |
276 | nr自减 |
283 | 转到:out |
286 | out : |
288 | 如果ret则 |
290 | Slot offset in parent 等于offset |
291 | Total entry count 等于count |
292 | Value entry count 等于nr_values |
293 | NULL at top of tree 等于parent |
294 | The array we belong to 等于root |
296 | 返回:ret |
名称 | 描述 |
---|---|
radix_tree_extend | Extend a radix tree so it can store key @index. |
__radix_tree_create | |
idr_get_free |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |