Lines Matching refs:xdp_sock

49 	struct xdp_sock *xs;  in xsk_set_tx_need_wakeup()
76 struct xdp_sock *xs; in xsk_clear_tx_need_wakeup()
137 static int __xsk_rcv_zc(struct xdp_sock *xs, struct xdp_buff *xdp, u32 len) in __xsk_rcv_zc()
172 static int __xsk_rcv(struct xdp_sock *xs, struct xdp_buff *xdp) in __xsk_rcv()
199 static bool xsk_tx_writeable(struct xdp_sock *xs) in xsk_tx_writeable()
207 static bool xsk_is_bound(struct xdp_sock *xs) in xsk_is_bound()
217 static int xsk_rcv_check(struct xdp_sock *xs, struct xdp_buff *xdp) in xsk_rcv_check()
229 static void xsk_flush(struct xdp_sock *xs) in xsk_flush()
236 int xsk_generic_rcv(struct xdp_sock *xs, struct xdp_buff *xdp) in xsk_generic_rcv()
250 static int xsk_rcv(struct xdp_sock *xs, struct xdp_buff *xdp) in xsk_rcv()
270 int __xsk_map_redirect(struct xdp_sock *xs, struct xdp_buff *xdp) in __xsk_map_redirect()
288 struct xdp_sock *xs, *tmp; in __xsk_map_flush()
304 struct xdp_sock *xs; in xsk_tx_release()
318 struct xdp_sock *xs; in xsk_tx_peek_desc()
360 struct xdp_sock *xs; in xsk_tx_peek_release_desc_batch()
369 xs = list_first_or_null_rcu(&pool->xsk_tx_list, struct xdp_sock, tx_list); in xsk_tx_peek_release_desc_batch()
403 static int xsk_wakeup(struct xdp_sock *xs, u8 flags) in xsk_wakeup()
413 struct xdp_sock *xs = xdp_sk(skb->sk); in xsk_destruct_skb()
423 static struct sk_buff *xsk_build_skb_zerocopy(struct xdp_sock *xs, in xsk_build_skb_zerocopy()
471 static struct sk_buff *xsk_build_skb(struct xdp_sock *xs, in xsk_build_skb()
516 struct xdp_sock *xs = xdp_sk(sk); in xsk_generic_xmit()
599 struct xdp_sock *xs = xdp_sk(sk); in xsk_xmit()
634 struct xdp_sock *xs = xdp_sk(sk); in __xsk_sendmsg()
672 struct xdp_sock *xs = xdp_sk(sk); in __xsk_recvmsg()
710 struct xdp_sock *xs = xdp_sk(sk); in xsk_poll()
758 static void xsk_unbind_dev(struct xdp_sock *xs) in xsk_unbind_dev()
772 static struct xsk_map *xsk_get_map_list_entry(struct xdp_sock *xs, in xsk_get_map_list_entry()
773 struct xdp_sock __rcu ***map_entry) in xsk_get_map_list_entry()
792 static void xsk_delete_from_maps(struct xdp_sock *xs) in xsk_delete_from_maps()
809 struct xdp_sock __rcu **map_entry = NULL; in xsk_delete_from_maps()
821 struct xdp_sock *xs = xdp_sk(sk); in xsk_release()
871 static bool xsk_validate_queues(struct xdp_sock *xs) in xsk_validate_queues()
880 struct xdp_sock *xs = xdp_sk(sk); in xsk_bind()
916 struct xdp_sock *umem_xs; in xsk_bind()
1049 struct xdp_sock *xs = xdp_sk(sk); in xsk_setsockopt()
1164 struct xdp_sock *xs = xdp_sk(sk); in xsk_getsockopt()
1296 struct xdp_sock *xs = xdp_sk(sock->sk); in xsk_mmap()
1342 struct xdp_sock *xs = xdp_sk(sk); in xsk_notifier()
1366 .obj_size = sizeof(struct xdp_sock),
1392 struct xdp_sock *xs = xdp_sk(sk); in xsk_destruct()
1406 struct xdp_sock *xs; in xsk_create()