Searched refs:old_xs (Results 1 – 1 of 1) sorted by relevance
166 struct xdp_sock *xs, *old_xs; in xsk_map_update_elem() local196 old_xs = rcu_dereference_protected(*map_entry, lockdep_is_held(&m->lock)); in xsk_map_update_elem()197 if (old_xs == xs) { in xsk_map_update_elem()200 } else if (old_xs && map_flags == BPF_NOEXIST) { in xsk_map_update_elem()203 } else if (!old_xs && map_flags == BPF_EXIST) { in xsk_map_update_elem()209 if (old_xs) in xsk_map_update_elem()210 xsk_map_sock_delete(old_xs, map_entry); in xsk_map_update_elem()226 struct xdp_sock *old_xs; in xsk_map_delete_elem() local234 old_xs = unrcu_pointer(xchg(map_entry, NULL)); in xsk_map_delete_elem()235 if (old_xs) in xsk_map_delete_elem()[all …]