函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:zlib_deflate_workspacesize

函数原型:int zlib_deflate_workspacesize(int windowBits, int memLevel)

返回类型:int

参数:

类型参数名称
intwindowBits
intmemLevel
1125  如果windowBits小于0则windowBits等于负windowBits
1129  BUG_ON(memLevel < 1 || memLevel > Maximum value for memLevel in deflateInit2 || windowBits < 9 || windowBits > 15)
1132  返回:sizeof(deflate_workspace)加zlib_deflate_window_memsize(windowBits)加zlib_deflate_prev_memsize(windowBits)加zlib_deflate_head_memsize(memLevel)加zlib_deflate_overlay_memsize(memLevel)
调用者
名称描述
deflate_compress