Home
last modified time | relevance | path

Searched refs:memLevel (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.6/lib/zlib_deflate/
Ddeflate.c193 int memLevel, in zlib_deflateInit2() argument
219 if (memLevel < 1 || memLevel > MAX_MEM_LEVEL || method != Z_DEFLATED || in zlib_deflateInit2()
244 next += zlib_deflate_head_memsize(memLevel); in zlib_deflateInit2()
256 s->hash_bits = memLevel + 7; in zlib_deflateInit2()
265 s->lit_bufsize = 1 << (memLevel + 6); /* 16K elements by default */ in zlib_deflateInit2()
1134 int zlib_deflate_workspacesize(int windowBits, int memLevel) in zlib_deflate_workspacesize() argument
1140 BUG_ON(memLevel < 1 || memLevel > MAX_MEM_LEVEL || windowBits < 9 || in zlib_deflate_workspacesize()
1146 + zlib_deflate_head_memsize(memLevel) in zlib_deflate_workspacesize()
1147 + zlib_deflate_overlay_memsize(memLevel); in zlib_deflate_workspacesize()
Ddefutil.h252 #define zlib_deflate_head_memsize(memLevel) \ argument
253 ((1 << ((memLevel)+7)) * sizeof(Pos))
254 #define zlib_deflate_overlay_memsize(memLevel) \ argument
255 ((1 << ((memLevel)+6)) * (sizeof(ush)+2))
/Linux-v6.6/include/linux/
Dzlib.h182 extern int zlib_deflate_workspacesize (int windowBits, int memLevel);
587 int windowBits, int memLevel,