Home
last modified time | relevance | path

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

/net/xdp/
Dxskmap.c16 struct xdp_sock __rcu **map_entry) in xsk_map_node_alloc() argument
29 node->map_entry = map_entry; in xsk_map_node_alloc()
50 struct xdp_sock __rcu **map_entry) in xsk_map_sock_delete() argument
56 if (map_entry == n->map_entry) { in xsk_map_sock_delete()
165 struct xdp_sock __rcu **map_entry; in xsk_map_update_elem() local
188 map_entry = &m->xsk_map[i]; in xsk_map_update_elem()
189 node = xsk_map_node_alloc(m, map_entry); in xsk_map_update_elem()
196 old_xs = rcu_dereference_protected(*map_entry, lockdep_is_held(&m->lock)); in xsk_map_update_elem()
208 rcu_assign_pointer(*map_entry, xs); in xsk_map_update_elem()
210 xsk_map_sock_delete(old_xs, map_entry); in xsk_map_update_elem()
[all …]
Dxsk.h34 struct xdp_sock __rcu **map_entry; member
43 struct xdp_sock __rcu **map_entry);
Dxsk.c981 struct xdp_sock __rcu ***map_entry) in xsk_get_map_list_entry() argument
986 *map_entry = NULL; in xsk_get_map_list_entry()
994 *map_entry = node->map_entry; in xsk_get_map_list_entry()
1017 struct xdp_sock __rcu **map_entry = NULL; in xsk_delete_from_maps() local
1020 while ((map = xsk_get_map_list_entry(xs, &map_entry))) { in xsk_delete_from_maps()
1021 xsk_map_try_sock_delete(map, xs, map_entry); in xsk_delete_from_maps()