Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\zlib_deflate\deflate.c Create Date:2022-07-28 06:58:36
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:zlib_deflate_workspacesize

Proto:int zlib_deflate_workspacesize(int windowBits, int memLevel)

Type:int

Parameter:

TypeParameterName
intwindowBits
intmemLevel
1125  If windowBits < 0 Then windowBits = -windowBits
1129  BUG_ON(memLevel < 1 || memLevel > Maximum value for memLevel in deflateInit2 || windowBits < 9 || windowBits > 15)
1132  Return sizeof(deflate_workspace) + zlib_deflate_window_memsize(windowBits) + zlib_deflate_prev_memsize(windowBits) + zlib_deflate_head_memsize(memLevel) + zlib_deflate_overlay_memsize(memLevel)