Lines Matching refs:protocol_features
438 bool shmfd = virtio_has_feature(dev->protocol_features, in vhost_user_set_log_base()
1009 bool reply_supported = virtio_has_feature(dev->protocol_features, in vhost_user_set_mem_table()
1012 virtio_has_feature(dev->protocol_features, in vhost_user_set_mem_table()
1061 bool cross_endian = virtio_has_feature(dev->protocol_features, in vhost_user_set_vring_endian()
1132 bool reply_supported = virtio_has_feature(dev->protocol_features, in vhost_user_write_sync()
1455 if (virtio_has_feature(dev->protocol_features, in vhost_user_set_features()
1510 if (!virtio_has_feature(dev->protocol_features, in vhost_user_reset_device()
1568 if (!virtio_has_feature(dev->protocol_features, in vhost_user_backend_handle_vring_host_notifier()
1881 bool reply_supported = virtio_has_feature(dev->protocol_features, in vhost_setup_backend_channel()
1886 if (!virtio_has_feature(dev->protocol_features, in vhost_setup_backend_channel()
2132 if (!virtio_has_feature(dev->protocol_features, in vhost_user_postcopy_notifier()
2182 uint64_t protocol_features; in vhost_user_backend_init() local
2187 &protocol_features); in vhost_user_backend_init()
2198 protocol_features &= VHOST_USER_PROTOCOL_FEATURE_MASK; in vhost_user_backend_init()
2201 if (!virtio_has_feature(protocol_features, in vhost_user_backend_init()
2209 if (virtio_has_feature(protocol_features, in vhost_user_backend_init()
2213 protocol_features &= ~(1ULL << VHOST_USER_PROTOCOL_F_CONFIG); in vhost_user_backend_init()
2218 dev->protocol_features = protocol_features; in vhost_user_backend_init()
2219 err = vhost_user_set_protocol_features(dev, dev->protocol_features); in vhost_user_backend_init()
2226 if (dev->protocol_features & (1ULL << VHOST_USER_PROTOCOL_F_MQ)) { in vhost_user_backend_init()
2244 !(virtio_has_feature(dev->protocol_features, in vhost_user_backend_init()
2246 virtio_has_feature(dev->protocol_features, in vhost_user_backend_init()
2254 if (!virtio_has_feature(dev->protocol_features, in vhost_user_backend_init()
2277 !virtio_has_feature(dev->protocol_features, in vhost_user_backend_init()
2347 return virtio_has_feature(dev->protocol_features, in vhost_user_requires_shm_log()
2363 if (virtio_has_feature(dev->protocol_features, in vhost_user_migration_done()
2378 bool reply_supported = virtio_has_feature(dev->protocol_features, in vhost_user_net_set_mtu()
2382 if (!(dev->protocol_features & (1ULL << VHOST_USER_PROTOCOL_F_NET_MTU))) { in vhost_user_net_set_mtu()
2442 if (!virtio_has_feature(dev->protocol_features, in vhost_user_get_config()
2486 bool reply_supported = virtio_has_feature(dev->protocol_features, in vhost_user_set_config()
2495 if (!virtio_has_feature(dev->protocol_features, in vhost_user_set_config()
2531 bool crypto_session = virtio_has_feature(dev->protocol_features, in vhost_user_crypto_create_session()
2633 bool crypto_session = virtio_has_feature(dev->protocol_features, in vhost_user_crypto_close_session()
2679 if (!virtio_has_feature(dev->protocol_features, in vhost_user_get_inflight_fd()
2747 if (!virtio_has_feature(dev->protocol_features, in vhost_user_set_inflight_fd()
2847 if (!virtio_has_feature(dev->protocol_features, in vhost_user_dev_start()
2873 if (virtio_has_feature(dev->protocol_features, in vhost_user_reset_status()
2881 return virtio_has_feature(dev->protocol_features, in vhost_user_supports_device_state()