Lines Matching refs:xsk_map
16 static struct xsk_map_node *xsk_map_node_alloc(struct xsk_map *map, in xsk_map_node_alloc()
63 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_free()
98 struct xsk_map *m = container_of(map, struct xsk_map, map); in xsk_map_get_next_key()
121 *insn++ = BPF_ALU64_IMM(BPF_ADD, mp, offsetof(struct xsk_map, xsk_map)); in xsk_map_gen_lookup()
135 struct xsk_map *m = container_of(map, struct xsk_map, map); in __xsk_map_lookup_elem()
140 return rcu_dereference_check(m->xsk_map[key], rcu_read_lock_bh_held()); in __xsk_map_lookup_elem()
156 struct xsk_map *m = container_of(map, struct xsk_map, map); in xsk_map_update_elem()
180 map_entry = &m->xsk_map[i]; in xsk_map_update_elem()
216 struct xsk_map *m = container_of(map, struct xsk_map, map); in xsk_map_delete_elem()
225 map_entry = &m->xsk_map[k]; in xsk_map_delete_elem()
240 void xsk_map_try_sock_delete(struct xsk_map *map, struct xdp_sock *xs, in xsk_map_try_sock_delete()
258 BTF_ID_LIST_SINGLE(xsk_map_btf_ids, struct, xsk_map)