Lines Matching refs:slen
122 static int zip_compress(const u8 *src, unsigned int slen, in zip_compress() argument
144 zip_ops->input_len = slen; in zip_compress()
146 memcpy(zip_ops->input, src, slen); in zip_compress()
158 static int zip_decompress(const u8 *src, unsigned int slen, in zip_decompress() argument
179 memcpy(zip_ops->input, src, slen); in zip_decompress()
183 zip_ops->input[slen++] = 0; in zip_decompress()
185 zip_ops->input_len = slen; in zip_decompress()
227 const u8 *src, unsigned int slen, in zip_comp_compress() argument
233 ret = zip_compress(src, slen, dst, dlen, zip_ctx); in zip_comp_compress()
239 const u8 *src, unsigned int slen, in zip_comp_decompress() argument
245 ret = zip_decompress(src, slen, dst, dlen, zip_ctx); in zip_comp_decompress()
298 const u8 *src, unsigned int slen, in zip_scomp_compress() argument
304 ret = zip_compress(src, slen, dst, dlen, zip_ctx); in zip_scomp_compress()
310 const u8 *src, unsigned int slen, in zip_scomp_decompress() argument
316 ret = zip_decompress(src, slen, dst, dlen, zip_ctx); in zip_scomp_decompress()