Lines Matching refs:vhost_net

99 static const int *vhost_net_get_feature_bits(struct vhost_net *net)  in vhost_net_get_feature_bits()
124 uint64_t vhost_net_get_features(struct vhost_net *net, uint64_t features) in vhost_net_get_features()
129 int vhost_net_get_config(struct vhost_net *net, uint8_t *config, in vhost_net_get_config()
134 int vhost_net_set_config(struct vhost_net *net, const uint8_t *data, in vhost_net_set_config()
140 void vhost_net_ack_features(struct vhost_net *net, uint64_t features) in vhost_net_ack_features()
170 struct vhost_net *net; in vhost_net_disable_notifiers_nvhosts()
230 struct vhost_net *net; in vhost_net_enable_notifiers()
318 struct vhost_net *vhost_net_init(VhostNetOptions *options) in vhost_net_init()
322 struct vhost_net *net = g_new0(struct vhost_net, 1); in vhost_net_init()
397 static void vhost_net_set_vq_index(struct vhost_net *net, int vq_index, in vhost_net_set_vq_index()
404 static int vhost_net_start_one(struct vhost_net *net, in vhost_net_start_one()
471 static void vhost_net_stop_one(struct vhost_net *net, in vhost_net_stop_one()
500 struct vhost_net *net; in vhost_net_start()
617 void vhost_net_cleanup(struct vhost_net *net) in vhost_net_cleanup()
622 int vhost_net_notify_migration_done(struct vhost_net *net, char* mac_addr) in vhost_net_notify_migration_done()
654 VHostNetState *vhost_net = 0; in get_vhost_net() local
662 vhost_net = tap_get_vhost_net(nc); in get_vhost_net()
672 vhost_net = vhost_user_get_vhost_net(nc); in get_vhost_net()
673 assert(vhost_net); in get_vhost_net()
678 vhost_net = vhost_vdpa_get_vhost_net(nc); in get_vhost_net()
679 assert(vhost_net); in get_vhost_net()
686 return vhost_net; in get_vhost_net()
713 int vhost_net_set_mtu(struct vhost_net *net, uint16_t mtu) in vhost_net_set_mtu()