Home
last modified time | relevance | path

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

/openbmc/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()
208 rcu_assign_pointer(*map_entry, xs); in xsk_map_update_elem()
225 struct xdp_sock __rcu **map_entry; in xsk_map_delete_elem() local
233 map_entry = &m->xsk_map[k]; in xsk_map_delete_elem()
253 rcu_assign_pointer(*map_entry, NULL); in xsk_map_try_sock_delete()
[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() 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()
/openbmc/u-boot/drivers/gpio/
H A Dadi_gpio2.c50 #define map_entry(m, i) reserved_##m##_map[gpio_bank(i)] macro
51 #define is_reserved(m, i, e) (map_entry(m, i) & gpio_bit(i))
52 #define reserve(m, i) (map_entry(m, i) |= gpio_bit(i))
53 #define unreserve(m, i) (map_entry(m, i) &= ~gpio_bit(i))
/openbmc/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()
/openbmc/linux/Documentation/trace/
H A Dhistogram-design.rst153 of preallocated tracing_map_elts (abbreviated below as map_entry and | |
158 If a map_entry is unused, meaning no key has yet hashed into it, its | |
159 .key value is 0 and its .val pointer is NULL. Once a map_entry has | |
176 | .map |---->| map_entry | | |
182 | map_entry | | |
192 | map_entry | +---------------+ | |
198 | map_entry | . | |
204 | map_entry | | .offset (key) | | |
234 map_entry = struct tracing_map_entry
475 | .map |---->| map_entry | | | |
[all …]
/openbmc/linux/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()
589 if ((log_newmap != map_entry) && (log_oldmap == map_entry)) { in btt_freelist_init()