函数逻辑报告 |
Source Code:mm\slab.c |
Create Date:2022-07-27 17:17:39 |
| Last Modify:2022-05-23 17:02:55 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:slab_memory_callback
函数原型:static int __meminit slab_memory_callback(struct notifier_block *self, unsigned long action, void *arg)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct notifier_block * | self | |
| unsigned long | action | |
| void * | arg |
| 1170 | ret等于0 |
| 1173 | nid等于status_change_nid |
| 1178 | 当:action恒等于MEM_GOING_ONLINE |
| 1179 | mutex_lock( & slab_mutex) |
| 1180 | ret等于Allocates and initializes node for a node on each slab cache, used for* either memory or cpu hotplug |
| 1182 | 退出 |
| 1183 | 当:action恒等于xposed to userspace |
| 1184 | mutex_lock( & slab_mutex) |
| 1185 | ret等于Drains freelist for a node on each slab cache, used for memory hot-remove.* Returns -EBUSY if all objects cannot be drained so that the node is not* removed.* Must hold slab_mutex. |
| 1187 | 退出 |
| 1188 | 当:action恒等于xposed to userspace |
| 1189 | 当:action恒等于xposed to userspace |
| 1190 | 当:action恒等于MEM_CANCEL_ONLINE |
| 1191 | 当:action恒等于MEM_CANCEL_OFFLINE |
| 1192 | 退出 |
| 1194 | out : |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |