Lines Matching refs:outlen
287 * Upon return from this function @outlen contains the length of the
288 * compressed data. If there is an error then @outlen will be 0 and an
294 * @outlen: Length of output buffer
299 * 0 Success, output of length @outlen stored in the buffer at @out
306 unsigned char *out, unsigned int *outlen,
328 if (check_constraints(outbuf, outlen, false))
363 ((outbuf + *outlen - 1) & NX842_HW_PAGE_MASK)) {
366 op.outlen = *outlen;
369 nx842_build_scatterlist(outbuf, *outlen, &slout);
371 op.outlen = -nx842_get_scatterlist_size(&slout);
374 dev_dbg(dev, "%s: op.in %lx op.inlen %ld op.out %lx op.outlen %ld\n",
376 (unsigned long)op.out, (long)op.outlen);
394 *outlen = be32_to_cpu(csbcpb->csb.processed_byte_count);
395 dev_dbg(dev, "%s: processed_bytes=%d\n", __func__, *outlen);
415 * provided by the caller of this function in @outlen. Upon return from
416 * this function @outlen contains the length of the decompressed data.
417 * If there is an error then @outlen will be 0 and an error will be
423 * @outlen: Length of output buffer
428 * 0 Success, output of length @outlen stored in the buffer at @out
436 unsigned char *out, unsigned int *outlen,
459 if (check_constraints(outbuf, outlen, false))
495 ((outbuf + *outlen - 1) & NX842_HW_PAGE_MASK)) {
498 op.outlen = *outlen;
501 nx842_build_scatterlist(outbuf, *outlen, &slout);
503 op.outlen = -nx842_get_scatterlist_size(&slout);
506 dev_dbg(dev, "%s: op.in %lx op.inlen %ld op.out %lx op.outlen %ld\n",
508 (unsigned long)op.out, (long)op.outlen);
525 *outlen = be32_to_cpu(csbcpb->csb.processed_byte_count);