函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:shutdown_cache

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

返回类型:int

参数:

类型参数名称
struct kmem_cache *s
604  kasan_cache_shutdown(s)
606  如果__kmem_cache_shutdown(s)不等于0则返回:负EBUSY
609  memcg_unlink_cache(s)
610  删除链表项
612  如果Used for retrieving partial slabs, etc. 按位与Defer freeing slabs to RCU
616  添加链表项
617  schedule_work - put work task in global workqueue*@work: job to be done* Returns %false if @work was already on the kernel-global workqueue and* %true otherwise
618  否则
623  slab_kmem_cache_release(s)
627  返回:0
调用者
名称描述
kmem_cache_destroy删除高速缓存区