Home
last modified time | relevance | path

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

/kernel/bpf/
Dcpumap.c549 struct bpf_cpu_map_entry *old_rcpu; in __cpu_map_entry_replace() local
551 old_rcpu = unrcu_pointer(xchg(&cmap->cpu_map[key_cpu], RCU_INITIALIZER(rcpu))); in __cpu_map_entry_replace()
552 if (old_rcpu) { in __cpu_map_entry_replace()
553 call_rcu(&old_rcpu->rcu, __cpu_map_entry_free); in __cpu_map_entry_replace()
554 INIT_WORK(&old_rcpu->kthread_stop_wq, cpu_map_kthread_stop); in __cpu_map_entry_replace()
555 schedule_work(&old_rcpu->kthread_stop_wq); in __cpu_map_entry_replace()