Lines Matching refs:in_len
86 * @in_len: length of the data to compress
92 * This function compresses input buffer @in_buf of length @in_len and stores
102 int in_len, void *out_buf, int *out_len, int *compr_type)
111 if (in_len < UBIFS_MIN_COMPR_LEN)
116 err = crypto_comp_compress(compr->cc, in_buf, in_len, out_buf,
122 in_len, compr->name, err);
130 if (in_len - *out_len < UBIFS_MIN_COMPRESS_DIFF)
136 memcpy(out_buf, in_buf, in_len);
137 *out_len = in_len;
144 * @in_len: length of the data to decompress
154 int in_len, void *out_buf, int *out_len, int compr_type)
172 memcpy(out_buf, in_buf, in_len);
173 *out_len = in_len;
179 err = crypto_comp_decompress(compr->cc, in_buf, in_len, out_buf,
185 in_len, compr->name, err);