Searched refs:windowBits (Results 1 - 8 of 8) sorted by relevance
/kernel/linux/linux-5.10/lib/zlib_deflate/ |
H A D | deflate.c | 192 int windowBits, in zlib_deflateInit2() 215 if (windowBits < 0) { /* undocumented feature: suppress zlib header */ in zlib_deflateInit2() 217 windowBits = -windowBits; in zlib_deflateInit2() 220 windowBits < 9 || windowBits > 15 || level < 0 || level > 9 || in zlib_deflateInit2() 240 next += zlib_deflate_window_memsize(windowBits); in zlib_deflateInit2() 242 next += zlib_deflate_prev_memsize(windowBits); in zlib_deflateInit2() 252 s->w_bits = windowBits; in zlib_deflateInit2() 1127 int zlib_deflate_workspacesize(int windowBits, in argument 188 zlib_deflateInit2( z_streamp strm, int level, int method, int windowBits, int memLevel, int strategy ) zlib_deflateInit2() argument [all...] |
H A D | defutil.h | 244 #define zlib_deflate_window_memsize(windowBits) \ 245 (2 * (1 << (windowBits)) * sizeof(Byte) + PAGE_SIZE) 247 #define zlib_deflate_window_memsize(windowBits) \ 248 (2 * (1 << (windowBits)) * sizeof(Byte)) 250 #define zlib_deflate_prev_memsize(windowBits) \ 251 ((1 << (windowBits)) * sizeof(Pos))
|
/kernel/linux/linux-6.6/lib/zlib_deflate/ |
H A D | deflate.c | 192 int windowBits, in zlib_deflateInit2() 215 if (windowBits < 0) { /* undocumented feature: suppress zlib header */ in zlib_deflateInit2() 217 windowBits = -windowBits; in zlib_deflateInit2() 220 windowBits < 9 || windowBits > 15 || level < 0 || level > 9 || in zlib_deflateInit2() 240 next += zlib_deflate_window_memsize(windowBits); in zlib_deflateInit2() 242 next += zlib_deflate_prev_memsize(windowBits); in zlib_deflateInit2() 252 s->w_bits = windowBits; in zlib_deflateInit2() 1134 int zlib_deflate_workspacesize(int windowBits, in argument 188 zlib_deflateInit2( z_streamp strm, int level, int method, int windowBits, int memLevel, int strategy ) zlib_deflateInit2() argument [all...] |
H A D | defutil.h | 244 #define zlib_deflate_window_memsize(windowBits) \ 245 (2 * (1 << (windowBits)) * sizeof(Byte) + PAGE_SIZE) 247 #define zlib_deflate_window_memsize(windowBits) \ 248 (2 * (1 << (windowBits)) * sizeof(Byte)) 250 #define zlib_deflate_prev_memsize(windowBits) \ 251 ((1 << (windowBits)) * sizeof(Pos))
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | zlib.h | 182 extern int zlib_deflate_workspacesize (int windowBits, int memLevel); 188 zlib_deflateInit(), specify windowBits = MAX_WBITS and memLevel = 189 MAX_MEM_LEVEL here. If you call zlib_deflateInit2(), the windowBits 463 int windowBits, 474 The windowBits parameter is the base two logarithm of the window size 484 usage as a function of windowBits and memLevel. 520 extern int inflateInit2 (z_streamp strm, int windowBits); 526 The windowBits parameter is the base two logarithm of the maximum window 529 instead. windowBits must be greater than or equal to the windowBits valu [all...] |
/kernel/linux/linux-6.6/include/linux/ |
H A D | zlib.h | 182 extern int zlib_deflate_workspacesize (int windowBits, int memLevel); 188 zlib_deflateInit(), specify windowBits = MAX_WBITS and memLevel = 189 MAX_MEM_LEVEL here. If you call zlib_deflateInit2(), the windowBits 463 int windowBits, 474 The windowBits parameter is the base two logarithm of the window size 484 usage as a function of windowBits and memLevel. 520 extern int inflateInit2 (z_streamp strm, int windowBits); 526 The windowBits parameter is the base two logarithm of the maximum window 529 instead. windowBits must be greater than or equal to the windowBits valu [all...] |
/kernel/linux/linux-5.10/lib/zlib_inflate/ |
H A D | inflate.c | 59 int zlib_inflateInit2(z_streamp strm, int windowBits) in zlib_inflateInit2() argument 69 if (windowBits < 0) { in zlib_inflateInit2() 71 windowBits = -windowBits; in zlib_inflateInit2() 74 state->wrap = (windowBits >> 4) + 1; in zlib_inflateInit2() 76 if (windowBits < 8 || windowBits > 15) { in zlib_inflateInit2() 79 state->wbits = (unsigned)windowBits; in zlib_inflateInit2()
|
/kernel/linux/linux-6.6/lib/zlib_inflate/ |
H A D | inflate.c | 59 int zlib_inflateInit2(z_streamp strm, int windowBits) in zlib_inflateInit2() argument 69 if (windowBits < 0) { in zlib_inflateInit2() 71 windowBits = -windowBits; in zlib_inflateInit2() 74 state->wrap = (windowBits >> 4) + 1; in zlib_inflateInit2() 76 if (windowBits < 8 || windowBits > 15) { in zlib_inflateInit2() 79 state->wbits = (unsigned)windowBits; in zlib_inflateInit2()
|
Completed in 10 milliseconds