Home
last modified time | relevance | path

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

/net/xdp/
Dxskmap.c15 struct xdp_sock __rcu **map_entry) in xsk_map_node_alloc() argument
27 node->map_entry = map_entry; in xsk_map_node_alloc()
45 struct xdp_sock __rcu **map_entry) in xsk_map_sock_delete() argument
51 if (map_entry == n->map_entry) { in xsk_map_sock_delete()
155 struct xdp_sock __rcu **map_entry; in xsk_map_update_elem() local
178 map_entry = &m->xsk_map[i]; in xsk_map_update_elem()
179 node = xsk_map_node_alloc(m, map_entry); in xsk_map_update_elem()
186 old_xs = rcu_dereference_protected(*map_entry, lockdep_is_held(&m->lock)); in xsk_map_update_elem()
198 rcu_assign_pointer(*map_entry, xs); in xsk_map_update_elem()
200 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.c785 struct xdp_sock __rcu ***map_entry) in xsk_get_map_list_entry() argument
790 *map_entry = NULL; in xsk_get_map_list_entry()
798 *map_entry = node->map_entry; in xsk_get_map_list_entry()
821 struct xdp_sock __rcu **map_entry = NULL; in xsk_delete_from_maps() local
824 while ((map = xsk_get_map_list_entry(xs, &map_entry))) { in xsk_delete_from_maps()
825 xsk_map_try_sock_delete(map, xs, map_entry); in xsk_delete_from_maps()