Lines Matching defs:scratch
70 struct scomp_scratch *scratch;
74 scratch = per_cpu_ptr(&scomp_scratch, i);
76 free_page(scratch->saddr);
77 vfree(scratch->dst);
78 scratch->src = NULL;
79 scratch->dst = NULL;
85 struct scomp_scratch *scratch;
92 scratch = per_cpu_ptr(&scomp_scratch, i);
97 scratch->src = page_address(page);
101 scratch->dst = mem;
176 struct scomp_scratch *scratch = raw_cpu_ptr(&scomp_scratch);
200 src = scratch->src;
228 dst = scratch->dst;
253 spin_lock_bh(&scratch->lock);
255 if (src == scratch->src)
256 memcpy_from_sglist(scratch->src, req->src, 0, slen);
267 if (dst == scratch->dst)
271 spin_unlock_bh(&scratch->lock);
275 if (!acomp_request_dst_isvirt(req) && dst != scratch->dst) {
286 if (!acomp_request_src_isvirt(req) && src != scratch->src)