xdp_sock 976 include/linux/bpf.h struct xdp_sock; xdp_sock 977 include/linux/bpf.h struct xdp_sock *__xsk_map_lookup_elem(struct bpf_map *map, u32 key); xdp_sock 979 include/linux/bpf.h struct xdp_sock *xs); xdp_sock 982 include/linux/bpf.h struct xdp_sock; xdp_sock 983 include/linux/bpf.h static inline struct xdp_sock *__xsk_map_lookup_elem(struct bpf_map *map, xdp_sock 990 include/linux/bpf.h struct xdp_sock *xs) xdp_sock 76 include/net/xdp_sock.h struct xdp_sock **map_entry; xdp_sock 111 include/net/xdp_sock.h int xsk_generic_rcv(struct xdp_sock *xs, struct xdp_buff *xdp); xdp_sock 112 include/net/xdp_sock.h int xsk_rcv(struct xdp_sock *xs, struct xdp_buff *xdp); xdp_sock 113 include/net/xdp_sock.h void xsk_flush(struct xdp_sock *xs); xdp_sock 114 include/net/xdp_sock.h bool xsk_is_setup_for_bpf_map(struct xdp_sock *xs); xdp_sock 133 include/net/xdp_sock.h void xsk_map_try_sock_delete(struct xsk_map *map, struct xdp_sock *xs, xdp_sock 134 include/net/xdp_sock.h struct xdp_sock **map_entry); xdp_sock 222 include/net/xdp_sock.h static inline int xsk_generic_rcv(struct xdp_sock *xs, struct xdp_buff *xdp) xdp_sock 227 include/net/xdp_sock.h static inline int xsk_rcv(struct xdp_sock *xs, struct xdp_buff *xdp) xdp_sock 232 include/net/xdp_sock.h static inline void xsk_flush(struct xdp_sock *xs) xdp_sock 236 include/net/xdp_sock.h static inline bool xsk_is_setup_for_bpf_map(struct xdp_sock *xs) xdp_sock 14 kernel/bpf/xskmap.c struct xdp_sock **xsk_map; xdp_sock 33 kernel/bpf/xskmap.c struct xdp_sock **map_entry) xdp_sock 59 kernel/bpf/xskmap.c static void xsk_map_sock_add(struct xdp_sock *xs, struct xsk_map_node *node) xdp_sock 66 kernel/bpf/xskmap.c static void xsk_map_sock_delete(struct xdp_sock *xs, xdp_sock 67 kernel/bpf/xskmap.c struct xdp_sock **map_entry) xdp_sock 102 kernel/bpf/xskmap.c cost = (u64)m->map.max_entries * sizeof(struct xdp_sock *); xdp_sock 120 kernel/bpf/xskmap.c sizeof(struct xdp_sock *), xdp_sock 163 kernel/bpf/xskmap.c struct xdp_sock *__xsk_map_lookup_elem(struct bpf_map *map, u32 key) xdp_sock 166 kernel/bpf/xskmap.c struct xdp_sock *xs; xdp_sock 176 kernel/bpf/xskmap.c struct xdp_sock *xs) xdp_sock 196 kernel/bpf/xskmap.c struct xdp_sock *xs, *tmp; xdp_sock 219 kernel/bpf/xskmap.c struct xdp_sock *xs, *old_xs, **map_entry; xdp_sock 239 kernel/bpf/xskmap.c xs = (struct xdp_sock *)sock->sk; xdp_sock 283 kernel/bpf/xskmap.c struct xdp_sock *old_xs, **map_entry; xdp_sock 299 kernel/bpf/xskmap.c void xsk_map_try_sock_delete(struct xsk_map *map, struct xdp_sock *xs, xdp_sock 300 kernel/bpf/xskmap.c struct xdp_sock **map_entry) xdp_sock 3540 net/core/filter.c struct xdp_sock *xs = fwd; xdp_sock 3672 net/core/filter.c struct xdp_sock *xs = fwd; xdp_sock 5771 net/core/filter.c BUILD_BUG_ON(FIELD_SIZEOF(struct xdp_sock, FIELD) > \ xdp_sock 5773 net/core/filter.c *insn++ = BPF_LDX_MEM(BPF_FIELD_SIZEOF(struct xdp_sock, FIELD),\ xdp_sock 5775 net/core/filter.c offsetof(struct xdp_sock, FIELD)); \ xdp_sock 26 net/xdp/xdp_umem.c void xdp_add_sk_umem(struct xdp_umem *umem, struct xdp_sock *xs) xdp_sock 38 net/xdp/xdp_umem.c void xdp_del_sk_umem(struct xdp_umem *umem, struct xdp_sock *xs) xdp_sock 17 net/xdp/xdp_umem.h void xdp_add_sk_umem(struct xdp_umem *umem, struct xdp_sock *xs); xdp_sock 18 net/xdp/xdp_umem.h void xdp_del_sk_umem(struct xdp_umem *umem, struct xdp_sock *xs); xdp_sock 34 net/xdp/xsk.c bool xsk_is_setup_for_bpf_map(struct xdp_sock *xs) xdp_sock 70 net/xdp/xsk.c struct xdp_sock *xs; xdp_sock 97 net/xdp/xsk.c struct xdp_sock *xs; xdp_sock 142 net/xdp/xsk.c static int __xsk_rcv(struct xdp_sock *xs, struct xdp_buff *xdp, u32 len) xdp_sock 180 net/xdp/xsk.c static int __xsk_rcv_zc(struct xdp_sock *xs, struct xdp_buff *xdp, u32 len) xdp_sock 190 net/xdp/xsk.c static bool xsk_is_bound(struct xdp_sock *xs) xdp_sock 200 net/xdp/xsk.c int xsk_rcv(struct xdp_sock *xs, struct xdp_buff *xdp) xdp_sock 216 net/xdp/xsk.c void xsk_flush(struct xdp_sock *xs) xdp_sock 222 net/xdp/xsk.c int xsk_generic_rcv(struct xdp_sock *xs, struct xdp_buff *xdp) xdp_sock 276 net/xdp/xsk.c struct xdp_sock *xs; xdp_sock 288 net/xdp/xsk.c struct xdp_sock *xs; xdp_sock 309 net/xdp/xsk.c static int xsk_wakeup(struct xdp_sock *xs, u8 flags) xdp_sock 321 net/xdp/xsk.c static int xsk_zc_xmit(struct xdp_sock *xs) xdp_sock 329 net/xdp/xsk.c struct xdp_sock *xs = xdp_sk(skb->sk); xdp_sock 341 net/xdp/xsk.c struct xdp_sock *xs = xdp_sk(sk); xdp_sock 407 net/xdp/xsk.c struct xdp_sock *xs = xdp_sk(sk); xdp_sock 421 net/xdp/xsk.c struct xdp_sock *xs = xdp_sk(sk); xdp_sock 436 net/xdp/xsk.c struct xdp_sock *xs = xdp_sk(sk); xdp_sock 478 net/xdp/xsk.c static void xsk_unbind_dev(struct xdp_sock *xs) xdp_sock 493 net/xdp/xsk.c static struct xsk_map *xsk_get_map_list_entry(struct xdp_sock *xs, xdp_sock 494 net/xdp/xsk.c struct xdp_sock ***map_entry) xdp_sock 513 net/xdp/xsk.c static void xsk_delete_from_maps(struct xdp_sock *xs) xdp_sock 530 net/xdp/xsk.c struct xdp_sock **map_entry = NULL; xdp_sock 542 net/xdp/xsk.c struct xdp_sock *xs = xdp_sk(sk); xdp_sock 614 net/xdp/xsk.c struct xdp_sock *xs = xdp_sk(sk); xdp_sock 650 net/xdp/xsk.c struct xdp_sock *umem_xs; xdp_sock 738 net/xdp/xsk.c struct xdp_sock *xs = xdp_sk(sk); xdp_sock 851 net/xdp/xsk.c struct xdp_sock *xs = xdp_sk(sk); xdp_sock 967 net/xdp/xsk.c struct xdp_sock *xs = xdp_sk(sock->sk); xdp_sock 1018 net/xdp/xsk.c struct xdp_sock *xs = xdp_sk(sk); xdp_sock 1042 net/xdp/xsk.c .obj_size = sizeof(struct xdp_sock), xdp_sock 1068 net/xdp/xsk.c struct xdp_sock *xs = xdp_sk(sk); xdp_sock 1082 net/xdp/xsk.c struct xdp_sock *xs; xdp_sock 20 net/xdp/xsk.h static inline struct xdp_sock *xdp_sk(struct sock *sk) xdp_sock 22 net/xdp/xsk.h return (struct xdp_sock *)sk; xdp_sock 17 net/xdp/xsk_diag.c static int xsk_diag_put_info(const struct xdp_sock *xs, struct sk_buff *nlskb) xdp_sock 35 net/xdp/xsk_diag.c static int xsk_diag_put_rings_cfg(const struct xdp_sock *xs, xdp_sock 47 net/xdp/xsk_diag.c static int xsk_diag_put_umem(const struct xdp_sock *xs, struct sk_buff *nlskb) xdp_sock 84 net/xdp/xsk_diag.c struct xdp_sock *xs = xdp_sk(sk);