Home
last modified time | relevance | path

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

/linux/net/xdp/
H A 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 …]
H A Dxsk.h34 struct xdp_sock __rcu **map_entry; member
43 struct xdp_sock __rcu **map_entry);
H A Dxsk.c1170 struct xdp_sock __rcu ***map_entry)
1175 *map_entry = NULL; in xsk_get_map_list_entry()
1183 *map_entry = node->map_entry; in xsk_get_map_list_entry()
1206 struct xdp_sock __rcu **map_entry = NULL; in xsk_delete_from_maps()
1209 while ((map = xsk_get_map_list_entry(xs, &map_entry))) { in xsk_delete_from_maps()
1210 xsk_map_try_sock_delete(map, xs, map_entry); in xsk_delete_from_maps()
1172 xsk_get_map_list_entry(struct xdp_sock * xs,struct xdp_sock __rcu *** map_entry) xsk_get_map_list_entry() argument
1208 struct xdp_sock __rcu **map_entry = NULL; xsk_delete_from_maps() local
/linux/samples/bpf/
H A Dxdp_sample_user.c96 struct map_entry { struct
329 static int map_entry_init(struct map_entry *e, __u64 pair) in map_entry_init()
410 struct map_entry *e, *x = NULL; in map_collect_percpu_devmap()
550 struct map_entry *e; in free_stats_record()
1007 struct map_entry *entry; in stats_get_devmap_xmit_multi()
1013 struct map_entry *e, *x = NULL; in stats_get_devmap_xmit_multi()