Home
last modified time | relevance | path

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

/Linux-v5.4/kernel/bpf/
Dxskmap.c12 struct xsk_map { struct
14 struct xdp_sock **xsk_map; member
19 int xsk_map_inc(struct xsk_map *map) in xsk_map_inc() argument
27 void xsk_map_put(struct xsk_map *map) in xsk_map_put()
32 static struct xsk_map_node *xsk_map_node_alloc(struct xsk_map *map, in xsk_map_node_alloc()
83 struct xsk_map *m; in xsk_map_alloc()
119 m->xsk_map = bpf_map_area_alloc(m->map.max_entries * in xsk_map_alloc()
122 if (!m->xsk_map) in xsk_map_alloc()
137 struct xsk_map *m = container_of(map, struct xsk_map, map); in xsk_map_free()
142 bpf_map_area_free(m->xsk_map); in xsk_map_free()
[all …]
/Linux-v5.4/include/net/
Dxdp_sock.h72 struct xsk_map;
75 struct xsk_map *map;
133 void xsk_map_try_sock_delete(struct xsk_map *map, struct xdp_sock *xs,
135 int xsk_map_inc(struct xsk_map *map);
136 void xsk_map_put(struct xsk_map *map);
/Linux-v5.4/net/xdp/
Dxsk.c486 static struct xsk_map *xsk_get_map_list_entry(struct xdp_sock *xs, in xsk_get_map_list_entry()
489 struct xsk_map *map = NULL; in xsk_get_map_list_entry()
524 struct xsk_map *map; in xsk_delete_from_maps()