Lines Matching refs:rcu_in_progress
720 static void destroy_mem_alloc(struct bpf_mem_alloc *ma, int rcu_in_progress) in destroy_mem_alloc() argument
724 if (!rcu_in_progress) { in destroy_mem_alloc()
749 int cpu, i, rcu_in_progress; in bpf_mem_alloc_destroy() local
752 rcu_in_progress = 0; in bpf_mem_alloc_destroy()
758 rcu_in_progress += atomic_read(&c->call_rcu_ttrace_in_progress); in bpf_mem_alloc_destroy()
759 rcu_in_progress += atomic_read(&c->call_rcu_in_progress); in bpf_mem_alloc_destroy()
762 destroy_mem_alloc(ma, rcu_in_progress); in bpf_mem_alloc_destroy()
765 rcu_in_progress = 0; in bpf_mem_alloc_destroy()
773 rcu_in_progress += atomic_read(&c->call_rcu_ttrace_in_progress); in bpf_mem_alloc_destroy()
774 rcu_in_progress += atomic_read(&c->call_rcu_in_progress); in bpf_mem_alloc_destroy()
778 destroy_mem_alloc(ma, rcu_in_progress); in bpf_mem_alloc_destroy()