Lines Matching refs:outlen
303 unsigned char *out, unsigned int *outlen, in nx842_pseries_compress() argument
325 if (check_constraints(outbuf, outlen, false)) in nx842_pseries_compress()
360 ((outbuf + *outlen - 1) & NX842_HW_PAGE_MASK)) { in nx842_pseries_compress()
363 op.outlen = *outlen; in nx842_pseries_compress()
366 nx842_build_scatterlist(outbuf, *outlen, &slout); in nx842_pseries_compress()
368 op.outlen = -nx842_get_scatterlist_size(&slout); in nx842_pseries_compress()
373 (unsigned long)op.out, (long)op.outlen); in nx842_pseries_compress()
391 *outlen = be32_to_cpu(csbcpb->csb.processed_byte_count); in nx842_pseries_compress()
392 dev_dbg(dev, "%s: processed_bytes=%d\n", __func__, *outlen); in nx842_pseries_compress()
433 unsigned char *out, unsigned int *outlen, in nx842_pseries_decompress() argument
456 if (check_constraints(outbuf, outlen, false)) in nx842_pseries_decompress()
492 ((outbuf + *outlen - 1) & NX842_HW_PAGE_MASK)) { in nx842_pseries_decompress()
495 op.outlen = *outlen; in nx842_pseries_decompress()
498 nx842_build_scatterlist(outbuf, *outlen, &slout); in nx842_pseries_decompress()
500 op.outlen = -nx842_get_scatterlist_size(&slout); in nx842_pseries_decompress()
505 (unsigned long)op.out, (long)op.outlen); in nx842_pseries_decompress()
522 *outlen = be32_to_cpu(csbcpb->csb.processed_byte_count); in nx842_pseries_decompress()