函数逻辑报告 |
Source Code:mm\slub.c |
Create Date:2022-07-27 17:22:51 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:calculate_order
函数原型:static inline int calculate_order(unsigned int size)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| unsigned int | size |
| 3286 | min_objects等于slub_min_objects |
| 3289 | max_objects等于order_objects(slub_max_order, size) |
| 3290 | min_objects等于两数取小(min_objects, max_objects) |
| 3292 | 当min_objects大于1循环 |
| 3295 | fraction等于16 |
| 3299 | 如果order小于等于slub_max_order则返回:order |
| 3301 | fraction除等于2 |
| 3303 | min_objects自减 |
| 3311 | 如果order小于等于slub_max_order则返回:order |
| 3320 | 返回:负ENOSYS |
| 名称 | 描述 |
|---|---|
| calculate_sizes | alculate_sizes() determines the order and the distribution of data within* a slab object. |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |