Symbol: xdp_sock
include/net/xdp_sock.h
126
int xsk_generic_rcv(struct xdp_sock *xs, struct xdp_buff *xdp);
include/net/xdp_sock.h
127
int __xsk_map_redirect(struct xdp_sock *xs, struct xdp_buff *xdp);
include/net/xdp_sock.h
209
static inline int xsk_generic_rcv(struct xdp_sock *xs, struct xdp_buff *xdp)
include/net/xdp_sock.h
214
static inline int __xsk_map_redirect(struct xdp_sock *xs, struct xdp_buff *xdp)
include/net/xdp_sock.h
45
struct xdp_sock __rcu *xsk_map[];
include/net/xsk_buff_pool.h
107
struct xsk_buff_pool *xp_create_and_assign_umem(struct xdp_sock *xs,
include/net/xsk_buff_pool.h
112
int xp_assign_dev_shared(struct xsk_buff_pool *pool, struct xdp_sock *umem_xs,
include/net/xsk_buff_pool.h
114
int xp_alloc_tx_descs(struct xsk_buff_pool *pool, struct xdp_sock *xs,
include/net/xsk_buff_pool.h
120
void xp_add_xsk(struct xsk_buff_pool *pool, struct xdp_sock *xs);
include/net/xsk_buff_pool.h
121
void xp_del_xsk(struct xsk_buff_pool *pool, struct xdp_sock *xs);
include/net/xsk_buff_pool.h
19
struct xdp_sock;
net/core/filter.c
7652
BUILD_BUG_ON(sizeof_field(struct xdp_sock, FIELD) > \
net/core/filter.c
7654
*insn++ = BPF_LDX_MEM(BPF_FIELD_SIZEOF(struct xdp_sock, FIELD),\
net/core/filter.c
7656
offsetof(struct xdp_sock, FIELD)); \
net/xdp/xsk.c
1006
static struct sk_buff *xsk_build_skb_zerocopy(struct xdp_sock *xs,
net/xdp/xsk.c
1082
static struct sk_buff *xsk_build_skb(struct xdp_sock *xs,
net/xdp/xsk.c
1190
struct xdp_sock *xs = xdp_sk(sk);
net/xdp/xsk.c
1327
static int xsk_check_common(struct xdp_sock *xs)
net/xdp/xsk.c
1341
struct xdp_sock *xs = xdp_sk(sk);
net/xdp/xsk.c
1383
struct xdp_sock *xs = xdp_sk(sk);
net/xdp/xsk.c
1421
struct xdp_sock *xs = xdp_sk(sk);
net/xdp/xsk.c
1467
static void xsk_unbind_dev(struct xdp_sock *xs)
net/xdp/xsk.c
1481
static struct xsk_map *xsk_get_map_list_entry(struct xdp_sock *xs,
net/xdp/xsk.c
1482
struct xdp_sock __rcu ***map_entry)
net/xdp/xsk.c
1501
static void xsk_delete_from_maps(struct xdp_sock *xs)
net/xdp/xsk.c
1518
struct xdp_sock __rcu **map_entry = NULL;
net/xdp/xsk.c
1530
struct xdp_sock *xs = xdp_sk(sk);
net/xdp/xsk.c
1582
static bool xsk_validate_queues(struct xdp_sock *xs)
net/xdp/xsk.c
1591
struct xdp_sock *xs = xdp_sk(sk);
net/xdp/xsk.c
1634
struct xdp_sock *umem_xs;
net/xdp/xsk.c
1789
struct xdp_sock *xs = xdp_sk(sk);
net/xdp/xsk.c
191
static int __xsk_rcv_zc(struct xdp_sock *xs, struct xdp_buff_xsk *xskb, u32 len,
net/xdp/xsk.c
1932
struct xdp_sock *xs = xdp_sk(sk);
net/xdp/xsk.c
2061
struct xdp_sock *xs = xdp_sk(sock->sk);
net/xdp/xsk.c
208
static void __xsk_rcv_zc_safe(struct xdp_sock *xs, struct xdp_buff_xsk *xskb,
net/xdp/xsk.c
2105
struct xdp_sock *xs = xdp_sk(sk);
net/xdp/xsk.c
2129
.obj_size = sizeof(struct xdp_sock),
net/xdp/xsk.c
2154
struct xdp_sock *xs = xdp_sk(sk);
net/xdp/xsk.c
2166
struct xdp_sock *xs;
net/xdp/xsk.c
219
static int xsk_rcv_zc(struct xdp_sock *xs, struct xdp_buff *xdp, u32 len)
net/xdp/xsk.c
296
static int __xsk_rcv(struct xdp_sock *xs, struct xdp_buff *xdp, u32 len)
net/xdp/xsk.c
365
static bool xsk_tx_writeable(struct xdp_sock *xs)
net/xdp/xsk.c
373
static void __xsk_tx_release(struct xdp_sock *xs)
net/xdp/xsk.c
380
static bool xsk_is_bound(struct xdp_sock *xs)
net/xdp/xsk.c
390
static bool xsk_dev_queue_valid(const struct xdp_sock *xs,
net/xdp/xsk.c
415
static int xsk_rcv_check(struct xdp_sock *xs, struct xdp_buff *xdp, u32 len)
net/xdp/xsk.c
430
static void xsk_flush(struct xdp_sock *xs)
net/xdp/xsk.c
437
int xsk_generic_rcv(struct xdp_sock *xs, struct xdp_buff *xdp)
net/xdp/xsk.c
453
static int xsk_rcv(struct xdp_sock *xs, struct xdp_buff *xdp)
net/xdp/xsk.c
473
int __xsk_map_redirect(struct xdp_sock *xs, struct xdp_buff *xdp)
net/xdp/xsk.c
492
struct xdp_sock *xs, *tmp;
net/xdp/xsk.c
525
struct xdp_sock *xs;
net/xdp/xsk.c
537
struct xdp_sock *xs;
net/xdp/xsk.c
624
__xsk_tx_peek_release_desc_batch(struct xsk_buff_pool *pool, struct xdp_sock *xs,
net/xdp/xsk.c
63
struct xdp_sock *xs;
net/xdp/xsk.c
651
struct xdp_sock *xs;
net/xdp/xsk.c
723
struct xdp_sock *xs;
net/xdp/xsk.c
730
xs = list_first_or_null_rcu(&pool->xsk_tx_list, struct xdp_sock,
net/xdp/xsk.c
769
static int xsk_wakeup(struct xdp_sock *xs, u8 flags)
net/xdp/xsk.c
90
struct xdp_sock *xs;
net/xdp/xsk.c
921
static int xsk_skb_init_misc(struct sk_buff *skb, struct xdp_sock *xs,
net/xdp/xsk.c
939
struct xdp_sock *xs = xdp_sk(skb->sk);
net/xdp/xsk.c
957
struct xdp_sock *xs = xdp_sk(skb->sk);
net/xdp/xsk.h
27
struct xdp_sock __rcu **map_entry;
net/xdp/xsk.h
30
static inline struct xdp_sock *xdp_sk(struct sock *sk)
net/xdp/xsk.h
32
return (struct xdp_sock *)sk;
net/xdp/xsk.h
35
void xsk_map_try_sock_delete(struct xsk_map *map, struct xdp_sock *xs,
net/xdp/xsk.h
36
struct xdp_sock __rcu **map_entry);
net/xdp/xsk_buff_pool.c
15
void xp_add_xsk(struct xsk_buff_pool *pool, struct xdp_sock *xs)
net/xdp/xsk_buff_pool.c
25
void xp_del_xsk(struct xsk_buff_pool *pool, struct xdp_sock *xs)
net/xdp/xsk_buff_pool.c
273
int xp_assign_dev_shared(struct xsk_buff_pool *pool, struct xdp_sock *umem_xs,
net/xdp/xsk_buff_pool.c
45
int xp_alloc_tx_descs(struct xsk_buff_pool *pool, struct xdp_sock *xs,
net/xdp/xsk_buff_pool.c
58
struct xsk_buff_pool *xp_create_and_assign_umem(struct xdp_sock *xs,
net/xdp/xsk_diag.c
17
static int xsk_diag_put_info(const struct xdp_sock *xs, struct sk_buff *nlskb)
net/xdp/xsk_diag.c
35
static int xsk_diag_put_rings_cfg(const struct xdp_sock *xs,
net/xdp/xsk_diag.c
47
static int xsk_diag_put_umem(const struct xdp_sock *xs, struct sk_buff *nlskb)
net/xdp/xsk_diag.c
79
static int xsk_diag_put_stats(const struct xdp_sock *xs, struct sk_buff *nlskb)
net/xdp/xsk_diag.c
97
struct xdp_sock *xs = xdp_sk(sk);
net/xdp/xsk_queue.h
278
xskq_cons_read_desc_batch(struct xdp_sock *xs, struct xsk_buff_pool *pool,
net/xdp/xskmap.c
16
struct xdp_sock __rcu **map_entry)
net/xdp/xskmap.c
165
struct xdp_sock __rcu **map_entry;
net/xdp/xskmap.c
166
struct xdp_sock *xs, *old_xs;
net/xdp/xskmap.c
186
xs = (struct xdp_sock *)sock->sk;
net/xdp/xskmap.c
229
struct xdp_sock __rcu **map_entry;
net/xdp/xskmap.c
230
struct xdp_sock *old_xs;
net/xdp/xskmap.c
252
void xsk_map_try_sock_delete(struct xsk_map *map, struct xdp_sock *xs,
net/xdp/xskmap.c
253
struct xdp_sock __rcu **map_entry)
net/xdp/xskmap.c
42
static void xsk_map_sock_add(struct xdp_sock *xs, struct xsk_map_node *node)
net/xdp/xskmap.c
49
static void xsk_map_sock_delete(struct xdp_sock *xs,
net/xdp/xskmap.c
50
struct xdp_sock __rcu **map_entry)