Lines Matching refs:features
924 uint64_t features = dev->acked_features; in vhost_dev_set_features() local
927 features |= 0x1ULL << VHOST_F_LOG_ALL; in vhost_dev_set_features()
930 features &= ~(0x1ULL << VIRTIO_F_IOMMU_PLATFORM); in vhost_dev_set_features()
934 features |= 0x1ULL << VIRTIO_F_IOMMU_PLATFORM; in vhost_dev_set_features()
937 r = dev->vhost_ops->vhost_set_features(dev, features); in vhost_dev_set_features()
1440 uint64_t features; in vhost_dev_init() local
1460 r = hdev->vhost_ops->vhost_get_features(hdev, &features); in vhost_dev_init()
1498 hdev->features = features; in vhost_dev_init()
1521 if (!(hdev->features & (0x1ULL << VHOST_F_LOG_ALL))) { in vhost_dev_init()
1791 uint64_t features) in vhost_get_features() argument
1796 if (!(hdev->features & bit_mask)) { in vhost_get_features()
1797 features &= ~bit_mask; in vhost_get_features()
1801 return features; in vhost_get_features()
1805 uint64_t features) in vhost_ack_features() argument
1810 if (features & bit_mask) { in vhost_ack_features()