Lines Matching defs:dev

498 static int vhost_vdpa_call(struct vhost_dev *dev, unsigned long int request,  in vhost_vdpa_call()
511 static int vhost_vdpa_add_status(struct vhost_dev *dev, uint8_t status) in vhost_vdpa_add_status()
559 static bool vhost_vdpa_first_dev(struct vhost_dev *dev) in vhost_vdpa_first_dev()
566 static bool vhost_vdpa_last_dev(struct vhost_dev *dev) in vhost_vdpa_last_dev()
571 static int vhost_vdpa_get_dev_features(struct vhost_dev *dev, in vhost_vdpa_get_dev_features()
596 static int vhost_vdpa_init(struct vhost_dev *dev, void *opaque, Error **errp) in vhost_vdpa_init()
644 static void vhost_vdpa_host_notifier_uninit(struct vhost_dev *dev, in vhost_vdpa_host_notifier_uninit()
662 static int vhost_vdpa_host_notifier_init(struct vhost_dev *dev, int queue_index) in vhost_vdpa_host_notifier_init()
701 static void vhost_vdpa_host_notifiers_uninit(struct vhost_dev *dev, int n) in vhost_vdpa_host_notifiers_uninit()
719 static void vhost_vdpa_host_notifiers_init(struct vhost_dev *dev) in vhost_vdpa_host_notifiers_init()
746 static void vhost_vdpa_svq_cleanup(struct vhost_dev *dev) in vhost_vdpa_svq_cleanup()
757 static int vhost_vdpa_cleanup(struct vhost_dev *dev) in vhost_vdpa_cleanup()
776 static int vhost_vdpa_memslots_limit(struct vhost_dev *dev) in vhost_vdpa_memslots_limit()
782 static int vhost_vdpa_set_mem_table(struct vhost_dev *dev, in vhost_vdpa_set_mem_table()
808 static int vhost_vdpa_set_features(struct vhost_dev *dev, in vhost_vdpa_set_features()
843 static int vhost_vdpa_set_backend_cap(struct vhost_dev *dev) in vhost_vdpa_set_backend_cap()
873 static int vhost_vdpa_get_device_id(struct vhost_dev *dev, in vhost_vdpa_get_device_id()
882 static int vhost_vdpa_reset_device(struct vhost_dev *dev) in vhost_vdpa_reset_device()
894 static int vhost_vdpa_get_vq_index(struct vhost_dev *dev, int idx) in vhost_vdpa_get_vq_index()
905 struct vhost_dev *dev = v->dev; in vhost_vdpa_set_vring_enable_one() local
916 static int vhost_vdpa_set_vring_enable(struct vhost_dev *dev, int enable) in vhost_vdpa_set_vring_enable()
937 static int vhost_vdpa_set_config_call(struct vhost_dev *dev, in vhost_vdpa_set_config_call()
944 static void vhost_vdpa_dump_config(struct vhost_dev *dev, const uint8_t *config, in vhost_vdpa_dump_config()
959 static int vhost_vdpa_set_config(struct vhost_dev *dev, const uint8_t *data, in vhost_vdpa_set_config()
981 static int vhost_vdpa_get_config(struct vhost_dev *dev, uint8_t *config, in vhost_vdpa_get_config()
1002 static int vhost_vdpa_set_dev_vring_base(struct vhost_dev *dev, in vhost_vdpa_set_dev_vring_base()
1012 static int vhost_vdpa_set_vring_dev_kick(struct vhost_dev *dev, in vhost_vdpa_set_vring_dev_kick()
1019 static int vhost_vdpa_set_vring_dev_call(struct vhost_dev *dev, in vhost_vdpa_set_vring_dev_call()
1026 static int vhost_vdpa_set_vring_dev_addr(struct vhost_dev *dev, in vhost_vdpa_set_vring_dev_addr()
1049 static int vhost_vdpa_svq_set_fds(struct vhost_dev *dev, in vhost_vdpa_svq_set_fds()
1127 static void vhost_vdpa_svq_unmap_rings(struct vhost_dev *dev, in vhost_vdpa_svq_unmap_rings()
1178 static bool vhost_vdpa_svq_map_rings(struct vhost_dev *dev, in vhost_vdpa_svq_map_rings()
1223 static bool vhost_vdpa_svq_setup(struct vhost_dev *dev, in vhost_vdpa_svq_setup()
1243 static bool vhost_vdpa_svqs_start(struct vhost_dev *dev) in vhost_vdpa_svqs_start()
1298 static void vhost_vdpa_svqs_stop(struct vhost_dev *dev) in vhost_vdpa_svqs_stop()
1317 static void vhost_vdpa_suspend(struct vhost_dev *dev) in vhost_vdpa_suspend()
1340 static int vhost_vdpa_dev_start(struct vhost_dev *dev, bool started) in vhost_vdpa_dev_start()
1376 static void vhost_vdpa_reset_status(struct vhost_dev *dev) in vhost_vdpa_reset_status()
1390 static int vhost_vdpa_set_log_base(struct vhost_dev *dev, uint64_t base, in vhost_vdpa_set_log_base()
1403 static int vhost_vdpa_set_vring_addr(struct vhost_dev *dev, in vhost_vdpa_set_vring_addr()
1419 static int vhost_vdpa_set_vring_num(struct vhost_dev *dev, in vhost_vdpa_set_vring_num()
1426 static int vhost_vdpa_set_vring_base(struct vhost_dev *dev, in vhost_vdpa_set_vring_base()
1442 static int vhost_vdpa_get_vring_base(struct vhost_dev *dev, in vhost_vdpa_get_vring_base()
1467 static int vhost_vdpa_set_vring_kick(struct vhost_dev *dev, in vhost_vdpa_set_vring_kick()
1482 static int vhost_vdpa_set_vring_call(struct vhost_dev *dev, in vhost_vdpa_set_vring_call()
1506 static int vhost_vdpa_get_features(struct vhost_dev *dev, in vhost_vdpa_get_features()
1519 static int vhost_vdpa_set_owner(struct vhost_dev *dev) in vhost_vdpa_set_owner()
1529 static int vhost_vdpa_vq_get_addr(struct vhost_dev *dev, in vhost_vdpa_vq_get_addr()
1541 static bool vhost_vdpa_force_iommu(struct vhost_dev *dev) in vhost_vdpa_force_iommu()