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()
221 const u8 *src, unsigned int slen, in zip_comp_compress() argument
226 return zip_compress(src, slen, dst, dlen, zip_ctx); in zip_comp_compress()
230 const u8 *src, unsigned int slen, in zip_comp_decompress() argument
235 return zip_decompress(src, slen, dst, dlen, zip_ctx); in zip_comp_decompress()
286 const u8 *src, unsigned int slen, in zip_scomp_compress() argument
291 return zip_compress(src, slen, dst, dlen, zip_ctx); in zip_scomp_compress()
295 const u8 *src, unsigned int slen, in zip_scomp_decompress() argument
300 return zip_decompress(src, slen, dst, dlen, zip_ctx); in zip_scomp_decompress()