Function report |
Source Code:lib\radix-tree.c |
Create Date:2022-07-28 06:12:57 |
| Last Modify:2022-05-21 10:04:37 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Load up this CPU's radix_tree_node buffer with sufficient objects to* ensure that the addition of a single element in the tree cannot fail
Proto:static __must_check int __radix_tree_preload(gfp_t gfp_mask, unsigned nr)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| gfp_t | gfp_mask | |
| unsigned | nr |
| 342 | gfp_mask &= ~__GFP_ACCOUNT |
| 345 | rtp = this_cpu_ptr( & radix_tree_preloads) |
| 361 | ret = 0 |
| 362 | out : |
| 363 | Return ret |
| Name | Describe |
|---|---|
| radix_tree_preload | Load up this CPU's radix_tree_node buffer with sufficient objects to* ensure that the addition of a single element in the tree cannot fail |
| radix_tree_maybe_preload | The same as above function, except we don't guarantee preloading happens.* We do it, if we decide it helps. On success, return zero with preemption* disabled. On error, return -ENOMEM with preemption not disabled. |
| idr_preload | dr_preload - preload for idr_alloc()*@gfp_mask: allocation mask to use for preloading* Preallocate memory to use for the next call to idr_alloc(). This function* returns with preemption disabled. It will be enabled by idr_preload_end(). |
| 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 |