函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:ype can be of enum type zs_stat_type or fullness_group

函数原型:static inline unsigned long zs_stat_get(struct size_class *class, int type)

返回类型:unsigned long

参数:

类型参数名称
struct size_class *class
inttype
568  返回:objs[type]
调用者
名称描述
zs_can_compactBased on the number of unused allocated objects calculate* and return the number of pages that we can free.