Lines Matching refs:outlen

259  * Upon return from this function @outlen contains the length of the
260 * compressed data. If there is an error then @outlen will be 0 and an
266 * @outlen: Length of output buffer
271 * 0 Success, output of length @outlen stored in the buffer at @out
278 unsigned char *out, unsigned int *outlen,
300 if (check_constraints(outbuf, outlen, false))
335 ((outbuf + *outlen - 1) & NX842_HW_PAGE_MASK)) {
338 op.outlen = *outlen;
341 nx842_build_scatterlist(outbuf, *outlen, &slout);
343 op.outlen = -nx842_get_scatterlist_size(&slout);
346 dev_dbg(dev, "%s: op.in %lx op.inlen %ld op.out %lx op.outlen %ld\n",
348 (unsigned long)op.out, (long)op.outlen);
366 *outlen = be32_to_cpu(csbcpb->csb.processed_byte_count);
367 dev_dbg(dev, "%s: processed_bytes=%d\n", __func__, *outlen);
387 * provided by the caller of this function in @outlen. Upon return from
388 * this function @outlen contains the length of the decompressed data.
389 * If there is an error then @outlen will be 0 and an error will be
395 * @outlen: Length of output buffer
400 * 0 Success, output of length @outlen stored in the buffer at @out
408 unsigned char *out, unsigned int *outlen,
431 if (check_constraints(outbuf, outlen, false))
467 ((outbuf + *outlen - 1) & NX842_HW_PAGE_MASK)) {
470 op.outlen = *outlen;
473 nx842_build_scatterlist(outbuf, *outlen, &slout);
475 op.outlen = -nx842_get_scatterlist_size(&slout);
478 dev_dbg(dev, "%s: op.in %lx op.inlen %ld op.out %lx op.outlen %ld\n",
480 (unsigned long)op.out, (long)op.outlen);
497 *outlen = be32_to_cpu(csbcpb->csb.processed_byte_count);