函数逻辑报告 |
Source Code:mm\slub.c |
Create Date:2022-07-27 17:23:09 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Attempt to free all partial slabs on a node.* This is called from __kmem_cache_shutdown(). We must take list_lock* because sysfs file might still access partial list after the shutdowning.
函数原型:static void free_partial(struct kmem_cache *s, struct kmem_cache_node *n)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct kmem_cache * | s | |
struct kmem_cache_node * | n |
3708 | spin_lock_irq( & list_lock) |
3710 | 如果非 SLUB 则 |
3711 | remove_partial(n, page) |
3712 | 添加链表项 |
3713 | 否则 |
3714 | list_slab_objects(s, page, "Objects remaining in %s on __kmem_cache_shutdown()") |
3718 | spin_unlock_irq( & list_lock) |
3721 | discard_slab(s, page) |
名称 | 描述 |
---|---|
__kmem_cache_shutdown | Release all resources used by a slab cache. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |