Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:ype can be of enum type zs_stat_type or fullness_group

Proto:static inline unsigned long zs_stat_get(struct size_class *class, int type)

Type:unsigned long

Parameter:

TypeParameterName
struct size_class *class
inttype
568  Return objs[type]
Caller
NameDescribe
zs_can_compactBased on the number of unused allocated objects calculate* and return the number of pages that we can free.