Lines Matching full:scratch
44 u8 *scratch = *this_cpu_ptr(ipcomp_scratches); in ipcomp_decompress() local
46 int err = crypto_comp_decompress(tfm, start, plen, scratch, &dlen); in ipcomp_decompress()
62 skb_copy_to_linear_data(skb, scratch, len); in ipcomp_decompress()
64 while ((scratch += len, dlen -= len) > 0) { in ipcomp_decompress()
82 memcpy(skb_frag_address(frag), scratch, len); in ipcomp_decompress()
129 u8 *scratch; in ipcomp_compress() local
133 scratch = *this_cpu_ptr(ipcomp_scratches); in ipcomp_compress()
135 err = crypto_comp_compress(tfm, start, plen, scratch, &dlen); in ipcomp_compress()
144 memcpy(start + sizeof(struct ip_comp_hdr), scratch, dlen); in ipcomp_compress()
221 void *scratch; in ipcomp_alloc_scratches() local
223 scratch = vmalloc_node(IPCOMP_SCRATCH_SIZE, cpu_to_node(i)); in ipcomp_alloc_scratches()
224 if (!scratch) in ipcomp_alloc_scratches()
226 *per_cpu_ptr(scratches, i) = scratch; in ipcomp_alloc_scratches()