Lines Matching refs:VhostVDPAState

34 typedef struct VhostVDPAState {  struct
51 } VhostVDPAState; argument
137 VhostVDPAState *s = DO_UPCAST(VhostVDPAState, nc, nc); in vhost_vdpa_get_vhost_net()
194 VhostVDPAState *s; in vhost_vdpa_add()
199 s = DO_UPCAST(VhostVDPAState, nc, ncs); in vhost_vdpa_add()
225 VhostVDPAState *s = DO_UPCAST(VhostVDPAState, nc, nc); in vhost_vdpa_cleanup()
265 VhostVDPAState *s = DO_UPCAST(VhostVDPAState, nc, nc); in vhost_vdpa_has_ufo()
295 static VhostVDPAState *vhost_vdpa_net_get_nc_vdpa(VhostVDPAState *s, int i) in vhost_vdpa_net_get_nc_vdpa()
300 return DO_UPCAST(VhostVDPAState, nc, nc_i); in vhost_vdpa_net_get_nc_vdpa()
303 static VhostVDPAState *vhost_vdpa_net_first_nc_vdpa(VhostVDPAState *s) in vhost_vdpa_net_first_nc_vdpa()
308 static void vhost_vdpa_net_log_global_enable(VhostVDPAState *s, bool enable) in vhost_vdpa_net_log_global_enable()
349 VhostVDPAState *s = container_of(notifier, VhostVDPAState, migration_state); in vdpa_net_migration_state_notifier()
359 static void vhost_vdpa_net_data_start_first(VhostVDPAState *s) in vhost_vdpa_net_data_start_first()
373 VhostVDPAState *s = DO_UPCAST(VhostVDPAState, nc, nc); in vhost_vdpa_net_data_start()
396 VhostVDPAState *s = DO_UPCAST(VhostVDPAState, nc, nc); in vhost_vdpa_net_data_load()
415 VhostVDPAState *s = DO_UPCAST(VhostVDPAState, nc, nc); in vhost_vdpa_net_client_stop()
433 .size = sizeof(VhostVDPAState),
540 VhostVDPAState *s, *s0; in vhost_vdpa_net_cvq_start()
548 s = DO_UPCAST(VhostVDPAState, nc, nc); in vhost_vdpa_net_cvq_start()
628 VhostVDPAState *s = DO_UPCAST(VhostVDPAState, nc, nc); in vhost_vdpa_net_cvq_stop()
640 static ssize_t vhost_vdpa_net_cvq_add(VhostVDPAState *s, in vhost_vdpa_net_cvq_add()
664 static ssize_t vhost_vdpa_net_svq_poll(VhostVDPAState *s, size_t cmds_in_flight) in vhost_vdpa_net_svq_poll()
670 static void vhost_vdpa_net_load_cursor_reset(VhostVDPAState *s, in vhost_vdpa_net_load_cursor_reset()
691 static ssize_t vhost_vdpa_net_svq_flush(VhostVDPAState *s, size_t len) in vhost_vdpa_net_svq_flush()
708 static ssize_t vhost_vdpa_net_load_cmd(VhostVDPAState *s, in vhost_vdpa_net_load_cmd()
771 static int vhost_vdpa_net_load_mac(VhostVDPAState *s, const VirtIONet *n, in vhost_vdpa_net_load_mac()
841 static int vhost_vdpa_net_load_rss(VhostVDPAState *s, const VirtIONet *n, in vhost_vdpa_net_load_rss()
938 static int vhost_vdpa_net_load_mq(VhostVDPAState *s, in vhost_vdpa_net_load_mq()
983 static int vhost_vdpa_net_load_offloads(VhostVDPAState *s, in vhost_vdpa_net_load_offloads()
1028 static int vhost_vdpa_net_load_rx_mode(VhostVDPAState *s, in vhost_vdpa_net_load_rx_mode()
1049 static int vhost_vdpa_net_load_rx(VhostVDPAState *s, in vhost_vdpa_net_load_rx()
1190 static int vhost_vdpa_net_load_single_vlan(VhostVDPAState *s, in vhost_vdpa_net_load_single_vlan()
1211 static int vhost_vdpa_net_load_vlan(VhostVDPAState *s, in vhost_vdpa_net_load_vlan()
1239 VhostVDPAState *s = DO_UPCAST(VhostVDPAState, nc, nc); in vhost_vdpa_net_cvq_load()
1300 .size = sizeof(VhostVDPAState),
1337 static int vhost_vdpa_net_excessive_mac_filter_cvq_add(VhostVDPAState *s, in vhost_vdpa_net_excessive_mac_filter_cvq_add()
1481 VhostVDPAState *s = opaque; in vhost_vdpa_net_handle_ctrl_avail()
1686 VhostVDPAState *s; in net_vhost_vdpa_init()
1706 s = DO_UPCAST(VhostVDPAState, nc, nc); in net_vhost_vdpa_init()
1856 shared = DO_UPCAST(VhostVDPAState, nc, ncs[0])->vhost_vdpa.shared; in net_init_vhost_vdpa()
1866 VhostVDPAState *s0 = DO_UPCAST(VhostVDPAState, nc, ncs[0]); in net_init_vhost_vdpa()