Home
last modified time | relevance | path

Searched refs:xsk_map (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/net/xdp/
H A Dxskmap.c15 static struct xsk_map_node *xsk_map_node_alloc(struct xsk_map *map, in xsk_map_node_alloc()
35 struct xsk_map *map = node->map; in xsk_map_node_free()
66 struct xsk_map *m; in xsk_map_alloc()
76 size = struct_size(m, xsk_map, attr->max_entries); in xsk_map_alloc()
90 struct xsk_map *m = container_of(map, struct xsk_map, map); in xsk_map_mem_usage()
92 return struct_size(m, xsk_map, map->max_entries) + in xsk_map_mem_usage()
98 struct xsk_map *m = container_of(map, struct xsk_map, map); in xsk_map_free()
106 struct xsk_map *m = container_of(map, struct xsk_map, map); in xsk_map_get_next_key()
129 *insn++ = BPF_ALU64_IMM(BPF_ADD, mp, offsetof(struct xsk_map, xsk_map)); in xsk_map_gen_lookup()
143 struct xsk_map *m = container_of(map, struct xsk_map, map); in __xsk_map_lookup_elem()
[all …]
H A Dxsk.h33 struct xsk_map *map;
42 void xsk_map_try_sock_delete(struct xsk_map *map, struct xdp_sock *xs,
H A Dxsk.c980 static struct xsk_map *xsk_get_map_list_entry(struct xdp_sock *xs, in xsk_get_map_list_entry()
983 struct xsk_map *map = NULL; in xsk_get_map_list_entry()
1018 struct xsk_map *map; in xsk_delete_from_maps()
/openbmc/linux/include/net/
H A Dxdp_sock.h40 struct xsk_map { struct
44 struct xdp_sock __rcu *xsk_map[]; argument
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dmap_ptr_kern.c471 struct xsk_map { struct
484 struct xsk_map *xskmap = (struct xsk_map *)&m_xskmap; in check_xskmap() argument