Lines Matching refs:streams
357 struct crypto_acomp_stream __percpu *streams = s->streams; in acomp_stream_workfn() local
364 ps = per_cpu_ptr(streams, cpu); in acomp_stream_workfn()
382 struct crypto_acomp_stream __percpu *streams = s->streams; in crypto_acomp_free_streams() local
386 s->streams = NULL; in crypto_acomp_free_streams()
387 if (!streams) in crypto_acomp_free_streams()
394 struct crypto_acomp_stream *ps = per_cpu_ptr(streams, i); in crypto_acomp_free_streams()
402 free_percpu(streams); in crypto_acomp_free_streams()
408 struct crypto_acomp_stream __percpu *streams; in crypto_acomp_alloc_streams() local
413 if (s->streams) in crypto_acomp_alloc_streams()
416 streams = alloc_percpu(struct crypto_acomp_stream); in crypto_acomp_alloc_streams()
417 if (!streams) in crypto_acomp_alloc_streams()
422 free_percpu(streams); in crypto_acomp_alloc_streams()
427 ps = per_cpu_ptr(streams, i); in crypto_acomp_alloc_streams()
431 ps = per_cpu_ptr(streams, i); in crypto_acomp_alloc_streams()
435 s->streams = streams; in crypto_acomp_alloc_streams()
445 struct crypto_acomp_stream __percpu *streams = s->streams; in _crypto_acomp_lock_stream_bh() local
449 ps = per_cpu_ptr(streams, cpu); in _crypto_acomp_lock_stream_bh()
458 ps = per_cpu_ptr(streams, cpumask_first(cpu_possible_mask)); in _crypto_acomp_lock_stream_bh()