Lines Matching refs:z_erofs_pcpu_workers
341 static struct kthread_worker __rcu **z_erofs_pcpu_workers; variable
350 z_erofs_pcpu_workers[cpu], 1); in erofs_destroy_percpu_workers()
351 rcu_assign_pointer(z_erofs_pcpu_workers[cpu], NULL); in erofs_destroy_percpu_workers()
355 kfree(z_erofs_pcpu_workers); in erofs_destroy_percpu_workers()
375 z_erofs_pcpu_workers = kcalloc(num_possible_cpus(), in erofs_init_percpu_workers()
377 if (!z_erofs_pcpu_workers) in erofs_init_percpu_workers()
383 rcu_assign_pointer(z_erofs_pcpu_workers[cpu], worker); in erofs_init_percpu_workers()
405 old = rcu_dereference_protected(z_erofs_pcpu_workers[cpu], in erofs_cpu_online()
408 rcu_assign_pointer(z_erofs_pcpu_workers[cpu], worker); in erofs_cpu_online()
420 worker = rcu_dereference_protected(z_erofs_pcpu_workers[cpu], in erofs_cpu_offline()
422 rcu_assign_pointer(z_erofs_pcpu_workers[cpu], NULL); in erofs_cpu_offline()
1419 z_erofs_pcpu_workers[raw_smp_processor_id()]); in z_erofs_decompress_kickoff()