Lines Matching defs:net

319 static void vhost_net_tx_packet(struct vhost_net *net)  in vhost_net_tx_packet()
328 static void vhost_net_tx_err(struct vhost_net *net) in vhost_net_tx_err()
333 static bool vhost_net_tx_select_zcopy(struct vhost_net *net) in vhost_net_tx_select_zcopy()
358 static void vhost_zerocopy_signal_used(struct vhost_net *net, in vhost_zerocopy_signal_used()
461 static void vhost_tx_batch(struct vhost_net *net, in vhost_tx_batch()
509 static void vhost_net_busy_poll_try_queue(struct vhost_net *net, in vhost_net_busy_poll_try_queue()
520 static void vhost_net_busy_poll(struct vhost_net *net, in vhost_net_busy_poll()
571 static int vhost_net_tx_get_vq_desc(struct vhost_net *net, in vhost_net_tx_get_vq_desc()
599 static bool vhost_exceeds_maxpend(struct vhost_net *net) in vhost_exceeds_maxpend()
620 static int get_tx_bufs(struct vhost_net *net, in get_tx_bufs()
657 static bool vhost_net_page_frag_refill(struct vhost_net *net, unsigned int sz, in vhost_net_page_frag_refill()
698 struct vhost_net *net = container_of(vq->dev, struct vhost_net, in vhost_net_build_xdp() local
768 static void handle_tx_copy(struct vhost_net *net, struct socket *sock) in handle_tx_copy()
858 static void handle_tx_zerocopy(struct vhost_net *net, struct socket *sock) in handle_tx_zerocopy()
962 static void handle_tx(struct vhost_net *net) in handle_tx()
1009 static int vhost_net_rx_peek_head_len(struct vhost_net *net, struct sock *sk, in vhost_net_rx_peek_head_len()
1109 static void handle_rx(struct vhost_net *net) in handle_rx()
1259 struct vhost_net *net = container_of(vq->dev, struct vhost_net, dev); in handle_tx_kick() local
1268 struct vhost_net *net = container_of(vq->dev, struct vhost_net, dev); in handle_rx_kick() local
1275 struct vhost_net *net = container_of(work, struct vhost_net, in handle_tx_net() local
1282 struct vhost_net *net = container_of(work, struct vhost_net, in handle_rx_net() local