Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\slab_common.c Create Date:2022-07-28 14:29:30
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:shutdown_cache

Proto:static int shutdown_cache(struct kmem_cache *s)

Type:int

Parameter:

TypeParameterName
struct kmem_cache *s
604  kasan_cache_shutdown(s)
606  If __kmem_cache_shutdown(s) != 0 Then Return -EBUSY
609  memcg_unlink_cache(s)
610  deletes entry from list
612  If Used for retrieving partial slabs, etc. & Defer freeing slabs to RCU Then
616  list_add_tail - add a new entry*@new: new entry to be added*@head: list head to add it before* Insert a new entry before the specified head.* This is useful for implementing queues.
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  Else
623  slab_kmem_cache_release(s)
627  Return 0
Caller
NameDescribe
kmem_cache_destroy