Home
last modified time | relevance | path

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

/linux-4.19.296/crypto/
Dscompress.c68 static void crypto_scomp_free_scratches(void * __percpu *scratches) in crypto_scomp_free_scratches() argument
72 if (!scratches) in crypto_scomp_free_scratches()
76 vfree(*per_cpu_ptr(scratches, i)); in crypto_scomp_free_scratches()
78 free_percpu(scratches); in crypto_scomp_free_scratches()
83 void * __percpu *scratches; in crypto_scomp_alloc_scratches() local
86 scratches = alloc_percpu(void *); in crypto_scomp_alloc_scratches()
87 if (!scratches) in crypto_scomp_alloc_scratches()
96 *per_cpu_ptr(scratches, i) = scratch; in crypto_scomp_alloc_scratches()
99 return scratches; in crypto_scomp_alloc_scratches()
102 crypto_scomp_free_scratches(scratches); in crypto_scomp_alloc_scratches()