Searched refs:MAX_MEM_LEVEL (Results 1 – 7 of 7) sorted by relevance
25 #ifndef MAX_MEM_LEVEL26 # define MAX_MEM_LEVEL 8 macro44 #if MAX_MEM_LEVEL >= 847 # define DEF_MEM_LEVEL MAX_MEM_LEVEL
46 MAX_MEM_LEVEL)); in alloc_workspaces()51 zlib_deflate_workspacesize(MAX_WBITS, MAX_MEM_LEVEL)); in alloc_workspaces()
35 #define DEFLATE_DEF_MEMLEVEL MAX_MEM_LEVEL48 MAX_WBITS, MAX_MEM_LEVEL)); in deflate_comp_init()
219 if (memLevel < 1 || memLevel > MAX_MEM_LEVEL || method != Z_DEFLATED || in zlib_deflateInit2()1133 BUG_ON(memLevel < 1 || memLevel > MAX_MEM_LEVEL || windowBits < 9 || in zlib_deflate_workspacesize()
64 workspacesize = max(zlib_deflate_workspacesize(MAX_WBITS, MAX_MEM_LEVEL), in zlib_alloc_workspace()
1068 MAX_MEM_LEVEL), in deflate_compress()
258 kmalloc(zlib_deflate_workspacesize(MAX_WBITS, MAX_MEM_LEVEL), in compress_init()