Lines Matching refs:streams
367 struct crypto_acomp_stream __percpu *streams = s->streams; in acomp_stream_workfn() local
374 ps = per_cpu_ptr(streams, cpu); in acomp_stream_workfn()
392 struct crypto_acomp_stream __percpu *streams = s->streams; in crypto_acomp_free_streams() local
396 s->streams = NULL; in crypto_acomp_free_streams()
397 if (!streams) in crypto_acomp_free_streams()
404 struct crypto_acomp_stream *ps = per_cpu_ptr(streams, i); in crypto_acomp_free_streams()
412 free_percpu(streams); in crypto_acomp_free_streams()
418 struct crypto_acomp_stream __percpu *streams; in crypto_acomp_alloc_streams() local
423 if (s->streams) in crypto_acomp_alloc_streams()
426 streams = alloc_percpu(struct crypto_acomp_stream); in crypto_acomp_alloc_streams()
427 if (!streams) in crypto_acomp_alloc_streams()
432 free_percpu(streams); in crypto_acomp_alloc_streams()
437 ps = per_cpu_ptr(streams, i); in crypto_acomp_alloc_streams()
441 ps = per_cpu_ptr(streams, i); in crypto_acomp_alloc_streams()
445 s->streams = streams; in crypto_acomp_alloc_streams()
455 struct crypto_acomp_stream __percpu *streams = s->streams; in crypto_acomp_lock_stream_bh() local
459 ps = per_cpu_ptr(streams, cpu); in crypto_acomp_lock_stream_bh()
468 ps = per_cpu_ptr(streams, cpumask_first(cpu_possible_mask)); in crypto_acomp_lock_stream_bh()