Lines Matching refs:dlen
46 int dlen = IPCOMP_SCRATCH_SIZE;
51 int err = crypto_comp_decompress(tfm, start, plen, scratch, &dlen);
57 if (dlen < (plen + sizeof(struct ip_comp_hdr))) {
62 len = dlen - plen;
71 while ((scratch += len, dlen -= len) > 0) {
86 if (dlen < len)
87 len = dlen;
139 int dlen = IPCOMP_SCRATCH_SIZE;
147 err = crypto_comp_compress(tfm, start, plen, scratch, &dlen);
152 if ((dlen + sizeof(struct ip_comp_hdr)) >= plen) {
157 memcpy(start + sizeof(struct ip_comp_hdr), scratch, dlen);
160 pskb_trim(skb, dlen + sizeof(struct ip_comp_hdr));