Lines Matching defs:dev

243     struct vhost_dev *dev;  member
275 static int vhost_user_read_header(struct vhost_dev *dev, VhostUserMsg *msg) in vhost_user_read_header()
303 static int vhost_user_read(struct vhost_dev *dev, VhostUserMsg *msg) in vhost_user_read()
338 static int process_message_reply(struct vhost_dev *dev, in process_message_reply()
382 static int vhost_user_write(struct vhost_dev *dev, VhostUserMsg *msg, in vhost_user_write()
423 int vhost_user_gpu_set_socket(struct vhost_dev *dev, int fd) in vhost_user_gpu_set_socket()
433 static int vhost_user_set_log_base(struct vhost_dev *dev, uint64_t base, in vhost_user_set_log_base()
506 struct vhost_dev *dev, in vhost_user_fill_set_mem_table_msg()
569 static void scrub_shadow_regions(struct vhost_dev *dev, in scrub_shadow_regions()
661 static int send_remove_regions(struct vhost_dev *dev, in send_remove_regions()
715 static int send_add_regions(struct vhost_dev *dev, in send_add_regions()
827 static int vhost_user_add_remove_regions(struct vhost_dev *dev, in vhost_user_add_remove_regions()
890 static int vhost_user_set_mem_table_postcopy(struct vhost_dev *dev, in vhost_user_set_mem_table_postcopy()
1004 static int vhost_user_set_mem_table(struct vhost_dev *dev, in vhost_user_set_mem_table()
1060 static int vhost_user_set_vring_endian(struct vhost_dev *dev, in vhost_user_set_vring_endian()
1080 static int vhost_user_get_u64(struct vhost_dev *dev, int request, uint64_t *u64) in vhost_user_get_u64()
1118 static int vhost_user_get_features(struct vhost_dev *dev, uint64_t *features) in vhost_user_get_features()
1128 static int vhost_user_write_sync(struct vhost_dev *dev, VhostUserMsg *msg, in vhost_user_write_sync()
1165 static int vhost_set_vring(struct vhost_dev *dev, in vhost_set_vring()
1180 static int vhost_user_set_vring_num(struct vhost_dev *dev, in vhost_user_set_vring_num()
1211 static int vhost_user_set_vring_base(struct vhost_dev *dev, in vhost_user_set_vring_base()
1217 static int vhost_user_set_vring_enable(struct vhost_dev *dev, int enable) in vhost_user_set_vring_enable()
1269 static int vhost_user_get_vring_base(struct vhost_dev *dev, in vhost_user_get_vring_base()
1312 static int vhost_set_vring_file(struct vhost_dev *dev, in vhost_set_vring_file()
1334 static int vhost_user_set_vring_kick(struct vhost_dev *dev, in vhost_user_set_vring_kick()
1340 static int vhost_user_set_vring_call(struct vhost_dev *dev, in vhost_user_set_vring_call()
1346 static int vhost_user_set_vring_err(struct vhost_dev *dev, in vhost_user_set_vring_err()
1352 static int vhost_user_set_vring_addr(struct vhost_dev *dev, in vhost_user_set_vring_addr()
1371 static int vhost_user_set_u64(struct vhost_dev *dev, int request, uint64_t u64, in vhost_user_set_u64()
1384 static int vhost_user_set_status(struct vhost_dev *dev, uint8_t status) in vhost_user_set_status()
1389 static int vhost_user_get_status(struct vhost_dev *dev, uint8_t *status) in vhost_user_get_status()
1403 static int vhost_user_add_status(struct vhost_dev *dev, uint8_t status) in vhost_user_add_status()
1421 static int vhost_user_set_features(struct vhost_dev *dev, in vhost_user_set_features()
1451 static int vhost_user_set_protocol_features(struct vhost_dev *dev, in vhost_user_set_protocol_features()
1458 static int vhost_user_set_owner(struct vhost_dev *dev) in vhost_user_set_owner()
1468 static int vhost_user_get_max_memslots(struct vhost_dev *dev, in vhost_user_get_max_memslots()
1485 static int vhost_user_reset_device(struct vhost_dev *dev) in vhost_user_reset_device()
1504 static int vhost_user_backend_handle_config_change(struct vhost_dev *dev) in vhost_user_backend_handle_config_change()
1541 static int vhost_user_backend_handle_vring_host_notifier(struct vhost_dev *dev, in vhost_user_backend_handle_vring_host_notifier()
1604 vhost_user_backend_handle_shared_object_add(struct vhost_dev *dev, in vhost_user_backend_handle_shared_object_add()
1614 vhost_user_backend_handle_shared_object_remove(struct vhost_dev *dev, in vhost_user_backend_handle_shared_object_remove()
1660 int vhost_user_get_shared_object(struct vhost_dev *dev, unsigned char *uuid, in vhost_user_get_shared_object()
1719 struct vhost_dev *dev = virtio_lookup_vhost_device(&uuid); in vhost_user_backend_handle_shared_object_lookup() local
1764 struct vhost_dev *dev = opaque; in backend_read() local
1854 static int vhost_setup_backend_channel(struct vhost_dev *dev) in vhost_setup_backend_channel()
1919 struct vhost_dev *dev = pcfd->data; in vhost_user_postcopy_fault_handler() local
1953 struct vhost_dev *dev = pcfd->data; in vhost_user_postcopy_waker() local
1984 static int vhost_user_postcopy_advise(struct vhost_dev *dev, Error **errp) in vhost_user_postcopy_advise()
2042 static int vhost_user_postcopy_listen(struct vhost_dev *dev, Error **errp) in vhost_user_postcopy_listen()
2072 static int vhost_user_postcopy_end(struct vhost_dev *dev, Error **errp) in vhost_user_postcopy_end()
2109 struct vhost_dev *dev = u->dev; in vhost_user_postcopy_notifier() local
2139 static int vhost_user_backend_init(struct vhost_dev *dev, void *opaque, in vhost_user_backend_init()
2279 static int vhost_user_backend_cleanup(struct vhost_dev *dev) in vhost_user_backend_cleanup()
2310 static int vhost_user_get_vq_index(struct vhost_dev *dev, int idx) in vhost_user_get_vq_index()
2317 static int vhost_user_memslots_limit(struct vhost_dev *dev) in vhost_user_memslots_limit()
2324 static bool vhost_user_requires_shm_log(struct vhost_dev *dev) in vhost_user_requires_shm_log()
2332 static int vhost_user_migration_done(struct vhost_dev *dev, char* mac_addr) in vhost_user_migration_done()
2356 static int vhost_user_net_set_mtu(struct vhost_dev *dev, uint16_t mtu) in vhost_user_net_set_mtu()
2388 static int vhost_user_send_device_iotlb_msg(struct vhost_dev *dev, in vhost_user_send_device_iotlb_msg()
2408 static void vhost_user_set_iotlb_callback(struct vhost_dev *dev, int enabled) in vhost_user_set_iotlb_callback()
2413 static int vhost_user_get_config(struct vhost_dev *dev, uint8_t *config, in vhost_user_get_config()
2462 static int vhost_user_set_config(struct vhost_dev *dev, const uint8_t *data, in vhost_user_set_config()
2507 static int vhost_user_crypto_create_session(struct vhost_dev *dev, in vhost_user_crypto_create_session()
2611 vhost_user_crypto_close_session(struct vhost_dev *dev, uint64_t session_id) in vhost_user_crypto_close_session()
2638 static bool vhost_user_no_private_memslots(struct vhost_dev *dev) in vhost_user_no_private_memslots()
2643 static int vhost_user_get_inflight_fd(struct vhost_dev *dev, in vhost_user_get_inflight_fd()
2715 static int vhost_user_set_inflight_fd(struct vhost_dev *dev, in vhost_user_set_inflight_fd()
2777 DeviceState *dev; member
2836 static int vhost_user_dev_start(struct vhost_dev *dev, bool started) in vhost_user_dev_start()
2857 static void vhost_user_reset_status(struct vhost_dev *dev) in vhost_user_reset_status()
2870 static bool vhost_user_supports_device_state(struct vhost_dev *dev) in vhost_user_supports_device_state()
2876 static int vhost_user_set_device_state_fd(struct vhost_dev *dev, in vhost_user_set_device_state_fd()
2952 static int vhost_user_check_device_state(struct vhost_dev *dev, Error **errp) in vhost_user_check_device_state()