Lines Matching refs:inlen
302 static int nx842_pseries_compress(const unsigned char *in, unsigned int inlen, in nx842_pseries_compress() argument
321 if (check_constraints(inbuf, &inlen, true)) in nx842_pseries_compress()
348 ((inbuf + inlen - 1) & NX842_HW_PAGE_MASK)) { in nx842_pseries_compress()
351 op.inlen = inlen; in nx842_pseries_compress()
354 nx842_build_scatterlist(inbuf, inlen, &slin); in nx842_pseries_compress()
356 op.inlen = -nx842_get_scatterlist_size(&slin); in nx842_pseries_compress()
372 __func__, (unsigned long)op.in, (long)op.inlen, in nx842_pseries_compress()
432 static int nx842_pseries_decompress(const unsigned char *in, unsigned int inlen, in nx842_pseries_decompress() argument
452 if (check_constraints(inbuf, &inlen, true)) in nx842_pseries_decompress()
480 ((inbuf + inlen - 1) & NX842_HW_PAGE_MASK)) { in nx842_pseries_decompress()
483 op.inlen = inlen; in nx842_pseries_decompress()
486 nx842_build_scatterlist(inbuf, inlen, &slin); in nx842_pseries_decompress()
488 op.inlen = -nx842_get_scatterlist_size(&slin); in nx842_pseries_decompress()
504 __func__, (unsigned long)op.in, (long)op.inlen, in nx842_pseries_decompress()