Searched refs:xsk_map (Results 1 – 5 of 5) sorted by relevance
/Linux-v5.10/net/xdp/ |
D | xskmap.c | 14 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 …]
|
D | xsk.h | 33 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);
|
D | xsk.c | 545 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/ |
D | xdp_sock.h | 37 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/ |
D | map_ptr_kern.c | 460 struct xsk_map { struct 473 struct xsk_map *xskmap = (struct xsk_map *)&m_xskmap; in check_xskmap() argument
|