Lines Matching defs:dev

504 static int vhost_vdpa_call(struct vhost_dev *dev, unsigned long int request,  in vhost_vdpa_call()
517 static int vhost_vdpa_add_status(struct vhost_dev *dev, uint8_t status) in vhost_vdpa_add_status()
565 static bool vhost_vdpa_first_dev(struct vhost_dev *dev) in vhost_vdpa_first_dev()
572 static bool vhost_vdpa_last_dev(struct vhost_dev *dev) in vhost_vdpa_last_dev()
577 static int vhost_vdpa_get_dev_features(struct vhost_dev *dev, in vhost_vdpa_get_dev_features()
602 static int vhost_vdpa_set_backend_cap(struct vhost_dev *dev) in vhost_vdpa_set_backend_cap()
632 static int vhost_vdpa_init(struct vhost_dev *dev, void *opaque, Error **errp) in vhost_vdpa_init()
686 static void vhost_vdpa_host_notifier_uninit(struct vhost_dev *dev, in vhost_vdpa_host_notifier_uninit()
704 static int vhost_vdpa_host_notifier_init(struct vhost_dev *dev, int queue_index) in vhost_vdpa_host_notifier_init()
743 static void vhost_vdpa_host_notifiers_uninit(struct vhost_dev *dev, int n) in vhost_vdpa_host_notifiers_uninit()
761 static void vhost_vdpa_host_notifiers_init(struct vhost_dev *dev) in vhost_vdpa_host_notifiers_init()
788 static void vhost_vdpa_svq_cleanup(struct vhost_dev *dev) in vhost_vdpa_svq_cleanup()
799 static int vhost_vdpa_cleanup(struct vhost_dev *dev) in vhost_vdpa_cleanup()
818 static int vhost_vdpa_memslots_limit(struct vhost_dev *dev) in vhost_vdpa_memslots_limit()
824 static int vhost_vdpa_set_mem_table(struct vhost_dev *dev, in vhost_vdpa_set_mem_table()
850 static int vhost_vdpa_set_features(struct vhost_dev *dev, in vhost_vdpa_set_features()
885 static int vhost_vdpa_get_device_id(struct vhost_dev *dev, in vhost_vdpa_get_device_id()
894 static int vhost_vdpa_reset_device(struct vhost_dev *dev) in vhost_vdpa_reset_device()
912 static int vhost_vdpa_get_vq_index(struct vhost_dev *dev, int idx) in vhost_vdpa_get_vq_index()
923 struct vhost_dev *dev = v->dev; in vhost_vdpa_set_vring_enable_one() local
934 static int vhost_vdpa_set_vring_enable(struct vhost_dev *dev, int enable) in vhost_vdpa_set_vring_enable()
955 static int vhost_vdpa_set_config_call(struct vhost_dev *dev, in vhost_vdpa_set_config_call()
962 static void vhost_vdpa_dump_config(struct vhost_dev *dev, const uint8_t *config, in vhost_vdpa_dump_config()
977 static int vhost_vdpa_set_config(struct vhost_dev *dev, const uint8_t *data, in vhost_vdpa_set_config()
999 static int vhost_vdpa_get_config(struct vhost_dev *dev, uint8_t *config, in vhost_vdpa_get_config()
1020 static int vhost_vdpa_set_dev_vring_base(struct vhost_dev *dev, in vhost_vdpa_set_dev_vring_base()
1030 static int vhost_vdpa_set_vring_dev_kick(struct vhost_dev *dev, in vhost_vdpa_set_vring_dev_kick()
1037 static int vhost_vdpa_set_vring_dev_call(struct vhost_dev *dev, in vhost_vdpa_set_vring_dev_call()
1044 static int vhost_vdpa_set_vring_dev_addr(struct vhost_dev *dev, in vhost_vdpa_set_vring_dev_addr()
1067 static int vhost_vdpa_svq_set_fds(struct vhost_dev *dev, in vhost_vdpa_svq_set_fds()
1145 static void vhost_vdpa_svq_unmap_rings(struct vhost_dev *dev, in vhost_vdpa_svq_unmap_rings()
1203 static bool vhost_vdpa_svq_map_rings(struct vhost_dev *dev, in vhost_vdpa_svq_map_rings()
1248 static bool vhost_vdpa_svq_setup(struct vhost_dev *dev, in vhost_vdpa_svq_setup()
1268 static bool vhost_vdpa_svqs_start(struct vhost_dev *dev) in vhost_vdpa_svqs_start()
1323 static void vhost_vdpa_svqs_stop(struct vhost_dev *dev) in vhost_vdpa_svqs_stop()
1342 static void vhost_vdpa_suspend(struct vhost_dev *dev) in vhost_vdpa_suspend()
1365 static int vhost_vdpa_dev_start(struct vhost_dev *dev, bool started) in vhost_vdpa_dev_start()
1409 static void vhost_vdpa_reset_status(struct vhost_dev *dev) in vhost_vdpa_reset_status()
1420 static int vhost_vdpa_set_log_base(struct vhost_dev *dev, uint64_t base, in vhost_vdpa_set_log_base()
1433 static int vhost_vdpa_set_vring_addr(struct vhost_dev *dev, in vhost_vdpa_set_vring_addr()
1449 static int vhost_vdpa_set_vring_num(struct vhost_dev *dev, in vhost_vdpa_set_vring_num()
1456 static int vhost_vdpa_set_vring_base(struct vhost_dev *dev, in vhost_vdpa_set_vring_base()
1472 static int vhost_vdpa_get_vring_base(struct vhost_dev *dev, in vhost_vdpa_get_vring_base()
1497 static int vhost_vdpa_set_vring_kick(struct vhost_dev *dev, in vhost_vdpa_set_vring_kick()
1512 static int vhost_vdpa_set_vring_call(struct vhost_dev *dev, in vhost_vdpa_set_vring_call()
1536 static int vhost_vdpa_get_features(struct vhost_dev *dev, in vhost_vdpa_get_features()
1549 static int vhost_vdpa_set_owner(struct vhost_dev *dev) in vhost_vdpa_set_owner()
1574 static int vhost_vdpa_vq_get_addr(struct vhost_dev *dev, in vhost_vdpa_vq_get_addr()
1586 static bool vhost_vdpa_force_iommu(struct vhost_dev *dev) in vhost_vdpa_force_iommu()