函数逻辑报告 |
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 |
函数名称: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
函数原型:static __must_check int __radix_tree_preload(gfp_t gfp_mask, unsigned nr)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| gfp_t | gfp_mask | |
| unsigned | nr |
| 342 | gfp_mask与等于__GFP_ACCOUNT的反 |
| 344 | 禁止抢占() |
| 345 | rtp等于this_cpu_ptr( & radix_tree_preloads) |
| 361 | ret等于0 |
| 362 | out : |
| 363 | 返回:ret |
| 名称 | 描述 |
|---|---|
| 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(). |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |