Lines Matching defs:old_dev
823 struct bpf_dtab_netdev *old_dev;
829 old_dev = unrcu_pointer(xchg(&dtab->netdev_map[k], NULL));
830 if (old_dev) {
831 call_rcu(&old_dev->rcu, __dev_map_entry_free);
840 struct bpf_dtab_netdev *old_dev;
847 old_dev = __dev_map_hash_lookup_elem(map, k);
848 if (old_dev) {
850 hlist_del_init_rcu(&old_dev->index_hlist);
851 call_rcu(&old_dev->rcu, __dev_map_entry_free);
911 struct bpf_dtab_netdev *dev, *old_dev;
940 old_dev = unrcu_pointer(xchg(&dtab->netdev_map[i], RCU_INITIALIZER(dev)));
941 if (old_dev)
942 call_rcu(&old_dev->rcu, __dev_map_entry_free);
960 struct bpf_dtab_netdev *dev, *old_dev;
974 old_dev = __dev_map_hash_lookup_elem(map, idx);
975 if (old_dev && (map_flags & BPF_NOEXIST))
984 if (old_dev) {
985 hlist_del_rcu(&old_dev->index_hlist);
999 if (old_dev)
1000 call_rcu(&old_dev->rcu, __dev_map_entry_free);