Lines Matching defs:outlen

286  * Upon return from this function @outlen contains the length of the
287 * compressed data. If there is an error then @outlen will be 0 and an
293 * @outlen: Length of output buffer
298 * 0 Success, output of length @outlen stored in the buffer at @out
305 unsigned char *out, unsigned int *outlen,
327 if (check_constraints(outbuf, outlen, false))
362 ((outbuf + *outlen - 1) & NX842_HW_PAGE_MASK)) {
365 op.outlen = *outlen;
368 nx842_build_scatterlist(outbuf, *outlen, &slout);
370 op.outlen = -nx842_get_scatterlist_size(&slout);
373 dev_dbg(dev, "%s: op.in %lx op.inlen %ld op.out %lx op.outlen %ld\n",
375 (unsigned long)op.out, (long)op.outlen);
393 *outlen = be32_to_cpu(csbcpb->csb.processed_byte_count);
394 dev_dbg(dev, "%s: processed_bytes=%d\n", __func__, *outlen);
414 * provided by the caller of this function in @outlen. Upon return from
415 * this function @outlen contains the length of the decompressed data.
416 * If there is an error then @outlen will be 0 and an error will be
422 * @outlen: Length of output buffer
427 * 0 Success, output of length @outlen stored in the buffer at @out
435 unsigned char *out, unsigned int *outlen,
458 if (check_constraints(outbuf, outlen, false))
494 ((outbuf + *outlen - 1) & NX842_HW_PAGE_MASK)) {
497 op.outlen = *outlen;
500 nx842_build_scatterlist(outbuf, *outlen, &slout);
502 op.outlen = -nx842_get_scatterlist_size(&slout);
505 dev_dbg(dev, "%s: op.in %lx op.inlen %ld op.out %lx op.outlen %ld\n",
507 (unsigned long)op.out, (long)op.outlen);
524 *outlen = be32_to_cpu(csbcpb->csb.processed_byte_count);