函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\slub.c Create Date:2022-07-27 17:23:11
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Release all resources used by a slab cache.

函数原型:int __kmem_cache_shutdown(struct kmem_cache *s)

返回类型:int

参数:

类型参数名称
struct kmem_cache *s
3743  flush_all(s)
3746  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.
3747  如果nr_partialslabs_node(s, node)则返回:1
3750  sysfs_slab_remove(s)
3751  返回:0