Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\kasan.h Create Date:2022-07-28 06:00:26
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:kasan_cache_shrink

Proto:static inline void kasan_cache_shrink(struct kmem_cache *cache)

Type:void

Parameter:

TypeParameterName
struct kmem_cache *cache

NULL

Caller
NameDescribe
kmem_cache_shrinkkmem_cache_shrink - Shrink a cache.*@cachep: The cache to shrink.* Releases as many slabs as possible for a cache.* To help debugging, a zero exit status indicates all slabs were released.* Return: %0 if all slabs were released, non-zero otherwise