Home
last modified time | relevance | path

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

/linux-6.1.9/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()
1127 int zlib_deflate_workspacesize(int windowBits, int memLevel) in zlib_deflate_workspacesize() argument
1133 BUG_ON(memLevel < 1 || memLevel > MAX_MEM_LEVEL || windowBits < 9 || in zlib_deflate_workspacesize()
1139 + zlib_deflate_head_memsize(memLevel) in zlib_deflate_workspacesize()
1140 + 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-6.1.9/include/linux/
Dzlib.h182 extern int zlib_deflate_workspacesize (int windowBits, int memLevel);
587 int windowBits, int memLevel,