Lines Matching refs:features

572                                        uint64_t *features)  in vhost_vdpa_get_dev_features()  argument
576 ret = vhost_vdpa_call(dev, VHOST_GET_FEATURES, features); in vhost_vdpa_get_dev_features()
577 trace_vhost_vdpa_get_features(dev, *features); in vhost_vdpa_get_dev_features()
619 uint64_t features; in vhost_vdpa_init() local
620 ret = vhost_vdpa_get_dev_features(dev, &features); in vhost_vdpa_init()
625 vhost_svq_valid_features(features, &dev->migration_blocker); in vhost_vdpa_init()
809 uint64_t features) in vhost_vdpa_set_features() argument
819 if ((v->acked_features ^ features) == BIT_ULL(VHOST_F_LOG_ALL)) { in vhost_vdpa_set_features()
824 v->acked_features = features; in vhost_vdpa_set_features()
828 v->acked_features = features; in vhost_vdpa_set_features()
831 features &= ~BIT_ULL(VHOST_F_LOG_ALL); in vhost_vdpa_set_features()
834 trace_vhost_vdpa_set_features(dev, features); in vhost_vdpa_set_features()
835 ret = vhost_vdpa_call(dev, VHOST_SET_FEATURES, &features); in vhost_vdpa_set_features()
847 uint64_t features; in vhost_vdpa_set_backend_cap() local
854 if (vhost_vdpa_call(dev, VHOST_GET_BACKEND_FEATURES, &features)) { in vhost_vdpa_set_backend_cap()
858 features &= f; in vhost_vdpa_set_backend_cap()
861 r = vhost_vdpa_call(dev, VHOST_SET_BACKEND_FEATURES, &features); in vhost_vdpa_set_backend_cap()
867 dev->backend_cap = features; in vhost_vdpa_set_backend_cap()
868 v->shared->backend_cap = features; in vhost_vdpa_set_backend_cap()
1505 uint64_t *features) in vhost_vdpa_get_features() argument
1507 int ret = vhost_vdpa_get_dev_features(dev, features); in vhost_vdpa_get_features()
1511 *features |= BIT_ULL(VHOST_F_LOG_ALL); in vhost_vdpa_get_features()