Home
last modified time | relevance | path

Searched refs:rcu_in_progress (Results 1 – 1 of 1) sorted by relevance

/linux/kernel/bpf/
H A Dmemalloc.c711 static void destroy_mem_alloc(struct bpf_mem_alloc *ma, int rcu_in_progress) in destroy_mem_alloc() argument
715 if (!rcu_in_progress) { in destroy_mem_alloc()
740 int cpu, i, rcu_in_progress; in bpf_mem_alloc_destroy() local
743 rcu_in_progress = 0; in bpf_mem_alloc_destroy()
749 rcu_in_progress += atomic_read(&c->call_rcu_ttrace_in_progress); in bpf_mem_alloc_destroy()
750 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()
756 rcu_in_progress = 0; in bpf_mem_alloc_destroy()
764 rcu_in_progress += atomic_read(&c->call_rcu_ttrace_in_progress); in bpf_mem_alloc_destroy()
765 rcu_in_progress += atomic_read(&c->call_rcu_in_progress); in bpf_mem_alloc_destroy()
[all …]