Lines Matching refs:rcu_in_progress
692 static void destroy_mem_alloc(struct bpf_mem_alloc *ma, int rcu_in_progress) in destroy_mem_alloc() argument
696 if (!rcu_in_progress) { in destroy_mem_alloc()
721 int cpu, i, rcu_in_progress; in bpf_mem_alloc_destroy() local
724 rcu_in_progress = 0; in bpf_mem_alloc_destroy()
730 rcu_in_progress += atomic_read(&c->call_rcu_ttrace_in_progress); in bpf_mem_alloc_destroy()
731 rcu_in_progress += atomic_read(&c->call_rcu_in_progress); in bpf_mem_alloc_destroy()
736 destroy_mem_alloc(ma, rcu_in_progress); in bpf_mem_alloc_destroy()
739 rcu_in_progress = 0; in bpf_mem_alloc_destroy()
747 rcu_in_progress += atomic_read(&c->call_rcu_ttrace_in_progress); in bpf_mem_alloc_destroy()
748 rcu_in_progress += atomic_read(&c->call_rcu_in_progress); in bpf_mem_alloc_destroy()
753 destroy_mem_alloc(ma, rcu_in_progress); in bpf_mem_alloc_destroy()