Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\slab.c Create Date:2022-07-28 15:44:41
Last Modify:2022-05-23 17:02:55 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:__kmem_cache_shrink

Proto:int __kmem_cache_shrink(struct kmem_cache *cachep)

Type:int

Parameter:

TypeParameterName
struct kmem_cache *cachep
2278  ret = 0
2282  drain_cpu_caches(cachep)
2284  check_irq_on()
2286  drain_freelist(cachep, n, INT_MAX)
2288  ret += Not list_empty - tests whether a list is empty*@head: the list to test. || Not list_empty - tests whether a list is empty*@head: the list to test.
2291  Return If ret Then 1 Else 0