Home
last modified time | relevance | path

Searched refs:map_entry (Results 1 - 9 of 9) sorted by relevance

/kernel/linux/linux-5.10/net/xdp/
H A Dxskmap.c26 struct xdp_sock **map_entry) in xsk_map_node_alloc()
42 node->map_entry = map_entry; in xsk_map_node_alloc()
60 struct xdp_sock **map_entry) in xsk_map_sock_delete()
66 if (map_entry == n->map_entry) { in xsk_map_sock_delete()
166 struct xdp_sock *xs, *old_xs, **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 = READ_ONCE(*map_entry); in xsk_map_update_elem()
25 xsk_map_node_alloc(struct xsk_map *map, struct xdp_sock **map_entry) xsk_map_node_alloc() argument
59 xsk_map_sock_delete(struct xdp_sock *xs, struct xdp_sock **map_entry) xsk_map_sock_delete() argument
225 struct xdp_sock *old_xs, **map_entry; xsk_map_delete_elem() local
241 xsk_map_try_sock_delete(struct xsk_map *map, struct xdp_sock *xs, struct xdp_sock **map_entry) xsk_map_try_sock_delete() argument
[all...]
H A Dxsk.h34 struct xdp_sock **map_entry; member
43 struct xdp_sock **map_entry);
H A Dxsk.c559 struct xdp_sock ***map_entry) in xsk_get_map_list_entry()
564 *map_entry = NULL; in xsk_get_map_list_entry()
572 *map_entry = node->map_entry; in xsk_get_map_list_entry()
595 struct xdp_sock **map_entry = NULL; in xsk_delete_from_maps() local
598 while ((map = xsk_get_map_list_entry(xs, &map_entry))) { in xsk_delete_from_maps()
599 xsk_map_try_sock_delete(map, xs, map_entry); in xsk_delete_from_maps()
558 xsk_get_map_list_entry(struct xdp_sock *xs, struct xdp_sock ***map_entry) xsk_get_map_list_entry() argument
/kernel/linux/linux-6.6/net/xdp/
H A Dxskmap.c16 struct xdp_sock __rcu **map_entry) in xsk_map_node_alloc()
29 node->map_entry = map_entry; in xsk_map_node_alloc()
50 struct xdp_sock __rcu **map_entry) in xsk_map_sock_delete()
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_hel in xsk_map_update_elem()
15 xsk_map_node_alloc(struct xsk_map *map, struct xdp_sock __rcu **map_entry) xsk_map_node_alloc() argument
49 xsk_map_sock_delete(struct xdp_sock *xs, struct xdp_sock __rcu **map_entry) xsk_map_sock_delete() argument
225 struct xdp_sock __rcu **map_entry; xsk_map_delete_elem() local
248 xsk_map_try_sock_delete(struct xsk_map *map, struct xdp_sock *xs, struct xdp_sock __rcu **map_entry) xsk_map_try_sock_delete() argument
[all...]
H A Dxsk.h34 struct xdp_sock __rcu **map_entry; member
43 struct xdp_sock __rcu **map_entry);
H A Dxsk.c981 struct xdp_sock __rcu ***map_entry) in xsk_get_map_list_entry()
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()
980 xsk_get_map_list_entry(struct xdp_sock *xs, struct xdp_sock __rcu ***map_entry) xsk_get_map_list_entry() argument
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/drivers/nvdimm/
H A Dbtt.c538 u32 i, map_entry, log_oldmap, log_newmap; in btt_freelist_init() local
577 ret = btt_map_read(arena, le32_to_cpu(log_new.lba), &map_entry, in btt_freelist_init()
583 * The map_entry from btt_read_map is stripped of any flag bits, in btt_freelist_init()
589 if ((log_newmap != map_entry) && (log_oldmap == map_entry)) { in btt_freelist_init()
/kernel/linux/linux-6.6/drivers/nvdimm/
H A Dbtt.c538 u32 i, map_entry, log_oldmap, log_newmap; in btt_freelist_init() local
577 ret = btt_map_read(arena, le32_to_cpu(log_new.lba), &map_entry, in btt_freelist_init()
583 * The map_entry from btt_read_map is stripped of any flag bits, in btt_freelist_init()
589 if ((log_newmap != map_entry) && (log_oldmap == map_entry)) { in btt_freelist_init()

Completed in 12 milliseconds