函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\slab.c Create Date:2022-07-27 17:18:00
Last Modify:2022-05-23 17:02:55 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:slabs_destroy

函数原型:static void slabs_destroy(struct kmem_cache *cachep, struct list_head *list)

返回类型:void

参数:

类型参数名称
struct kmem_cache *cachep
struct list_head *list
1683  删除链表项
1684  slab_destroy - destroy and release all objects in a slab*@cachep: cache pointer being destroyed*@page: page pointer being destroyed* Destroy all the objs in a slab page, and release the mem back to the system.
调用者
名称描述
cache_free_pfmemalloc
reap_alienCalled from cache_reap() to regularly drain alien caches round robin.
drain_alien_cache
__cache_free_alien
setup_kmem_cache_node
do_drain
drain_cpu_caches
cache_flusharray
__do_tune_cpucacheAlways called with the slab_mutex held
drain_arrayDrain an array if it contains any elements taking the node lock only if* necessary. Note that the node listlock also protects the array_cache* if drain_array() is used on the shared array.