Home
last modified time | relevance | path

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

/Linux-v5.10/net/xdp/
Dxskmap.c14 int xsk_map_inc(struct xsk_map *map) in xsk_map_inc()
20 void xsk_map_put(struct xsk_map *map) in xsk_map_put()
25 static struct xsk_map_node *xsk_map_node_alloc(struct xsk_map *map, in xsk_map_node_alloc()
78 struct xsk_map *m; in xsk_map_alloc()
90 size = struct_size(m, xsk_map, attr->max_entries); in xsk_map_alloc()
111 struct xsk_map *m = container_of(map, struct xsk_map, map); in xsk_map_free()
120 struct xsk_map *m = container_of(map, struct xsk_map, map); in xsk_map_get_next_key()
143 *insn++ = BPF_ALU64_IMM(BPF_ADD, mp, offsetof(struct xsk_map, xsk_map)); in xsk_map_gen_lookup()
165 struct xsk_map *m = container_of(map, struct xsk_map, map); in xsk_map_update_elem()
188 map_entry = &m->xsk_map[i]; in xsk_map_update_elem()
[all …]
Dxsk.h33 struct xsk_map *map;
42 void xsk_map_try_sock_delete(struct xsk_map *map, struct xdp_sock *xs,
44 int xsk_map_inc(struct xsk_map *map);
45 void xsk_map_put(struct xsk_map *map);
Dxsk.c545 static struct xsk_map *xsk_get_map_list_entry(struct xdp_sock *xs, in xsk_get_map_list_entry()
548 struct xsk_map *map = NULL; in xsk_get_map_list_entry()
583 struct xsk_map *map; in xsk_delete_from_maps()
/Linux-v5.10/include/net/
Dxdp_sock.h37 struct xsk_map { struct
40 struct xdp_sock *xsk_map[]; argument
90 struct xsk_map *m = container_of(map, struct xsk_map, map); in __xsk_map_lookup_elem()
96 xs = READ_ONCE(m->xsk_map[key]); in __xsk_map_lookup_elem()
/Linux-v5.10/tools/testing/selftests/bpf/progs/
Dmap_ptr_kern.c460 struct xsk_map { struct
473 struct xsk_map *xskmap = (struct xsk_map *)&m_xskmap; in check_xskmap() argument