函数逻辑报告 |
Source Code:mm\slab.c |
Create Date:2022-07-27 17:17:16 |
| Last Modify:2022-05-23 17:02:55 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:__drain_alien_cache
函数原型:static void __drain_alien_cache(struct kmem_cache *cachep, struct array_cache *ac, int node, struct list_head *list)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct kmem_cache * | cachep | |
| struct array_cache * | ac | |
| int | node | |
| struct list_head * | list |
| 738 | 如果avail则 |
| 739 | 加自旋锁 |
| 745 | 如果shared则Transfer objects in one arraycache to another.* Locking must be handled by the caller.* Return the number of entries transferred. |
| 749 | avail等于0 |
| 750 | 自旋锁解锁 |
| 名称 | 描述 |
|---|---|
| reap_alien | Called from cache_reap() to regularly drain alien caches round robin. |
| drain_alien_cache | |
| __cache_free_alien |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |