Home
last modified time | relevance | path

Searched refs:scratches (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/net/xfrm/
H A Dxfrm_ipcomp.c190 void * __percpu *scratches; in ipcomp_free_scratches() local
195 scratches = ipcomp_scratches; in ipcomp_free_scratches()
196 if (!scratches) in ipcomp_free_scratches()
200 vfree(*per_cpu_ptr(scratches, i)); in ipcomp_free_scratches()
202 free_percpu(scratches); in ipcomp_free_scratches()
208 void * __percpu *scratches; in ipcomp_alloc_scratches() local
214 scratches = alloc_percpu(void *); in ipcomp_alloc_scratches()
215 if (!scratches) in ipcomp_alloc_scratches()
218 ipcomp_scratches = scratches; in ipcomp_alloc_scratches()
226 *per_cpu_ptr(scratches, i) = scratch; in ipcomp_alloc_scratches()
[all …]