Searched refs:map_entry (Results 1 – 6 of 6) sorted by relevance
| /Linux-v5.15/net/xdp/ |
| D | xskmap.c | 15 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 …]
|
| D | xsk.h | 34 struct xdp_sock __rcu **map_entry; member 43 struct xdp_sock __rcu **map_entry);
|
| D | xsk.c | 752 struct xdp_sock __rcu ***map_entry) in xsk_get_map_list_entry() argument 757 *map_entry = NULL; in xsk_get_map_list_entry() 765 *map_entry = node->map_entry; in xsk_get_map_list_entry() 788 struct xdp_sock __rcu **map_entry = NULL; in xsk_delete_from_maps() local 791 while ((map = xsk_get_map_list_entry(xs, &map_entry))) { in xsk_delete_from_maps() 792 xsk_map_try_sock_delete(map, xs, map_entry); in xsk_delete_from_maps()
|
| /Linux-v5.15/samples/bpf/ |
| D | xdp_sample_user.c | 97 struct map_entry { struct 327 static int map_entry_init(struct map_entry *e, __u64 pair) in map_entry_init() 408 struct map_entry *e, *x = NULL; in map_collect_percpu_devmap() 548 struct map_entry *e; in free_stats_record() 1005 struct map_entry *entry; in stats_get_devmap_xmit_multi() 1011 struct map_entry *e, *x = NULL; in stats_get_devmap_xmit_multi()
|
| /Linux-v5.15/Documentation/trace/ |
| D | histogram-design.rst | 153 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 …]
|
| /Linux-v5.15/drivers/nvdimm/ |
| D | btt.c | 539 u32 i, map_entry, log_oldmap, log_newmap; in btt_freelist_init() local 578 ret = btt_map_read(arena, le32_to_cpu(log_new.lba), &map_entry, in btt_freelist_init() 590 if ((log_newmap != map_entry) && (log_oldmap == map_entry)) { in btt_freelist_init()
|