Function report |
Source Code:lib\radix-tree.c |
Create Date:2022-07-28 06:12:56 |
Last Modify:2022-05-21 10:04:37 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:This assumes that the caller has performed appropriate preallocation, and* that the caller has pinned this thread of control to the current CPU.
Proto: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)
Type:struct xa_node
Parameter:
Type | Parameter | Name |
---|---|---|
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 | If Not gfpflags_allow_blocking(gfp_mask) && Not in_interrupt() Then |
272 | rtp = this_cpu_ptr( & radix_tree_preloads) |
273 | If nr Then |
276 | nr-- |
283 | Go to out |
286 | out : |
288 | If ret Then |
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 | Return ret |
Name | Describe |
---|---|
radix_tree_extend | Extend a radix tree so it can store key @index. |
__radix_tree_create | |
idr_get_free |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |