Lines Matching defs:value
373 * value. This is needed based on KVM commit 75d61fbc. */
848 * Read the flags before the value. Pairs with barrier in
1455 if (!kvm_check_extension(s, list->value)) {
1701 "(maximum is %ld). Please use a smaller value.",
1709 "Suggested minimum value is 1024.", strerror(-ret));
2667 /* If unspecified, use the default value */
3843 int64_t value = s->kvm_shadow_mem;
3845 visit_type_int(v, name, &value, errp);
3853 int64_t value;
3860 if (!visit_type_int(v, name, &value, errp)) {
3864 s->kvm_shadow_mem = value;
3899 /* The value was checked in visit_type_OnOffSplit() above. If
3926 uint32_t value = s->kvm_dirty_ring_size;
3928 visit_type_uint32(v, name, &value, errp);
3936 uint32_t value;
3943 if (!visit_type_uint32(v, name, &value, errp)) {
3946 if (value & (value - 1)) {
3951 s->kvm_dirty_ring_size = value;
3963 const char *value,
3969 s->device = g_strdup(value);
3972 static void kvm_set_kvm_rapl(Object *obj, bool value, Error **errp)
3975 s->msr_energy.enable = value;
4132 stats->value = g_new0(StatsValue, 1);
4135 stats->value->u.boolean = *stats_data;
4136 stats->value->type = QTYPE_QBOOL;
4138 stats->value->u.scalar = *stats_data;
4139 stats->value->type = QTYPE_QNUM;
4145 stats->value->u.list = val_list;
4146 stats->value->type = QTYPE_QLIST;
4158 schema_entry->value = g_new0(StatsSchemaValue, 1);
4162 schema_entry->value->type = STATS_TYPE_CUMULATIVE;
4165 schema_entry->value->type = STATS_TYPE_INSTANT;
4168 schema_entry->value->type = STATS_TYPE_PEAK;
4171 schema_entry->value->type = STATS_TYPE_LINEAR_HISTOGRAM;
4172 schema_entry->value->bucket_size = pdesc->bucket_size;
4173 schema_entry->value->has_bucket_size = true;
4176 schema_entry->value->type = STATS_TYPE_LOG2_HISTOGRAM;
4186 schema_entry->value->has_unit = true;
4187 schema_entry->value->unit = STATS_UNIT_BOOLEAN;
4190 schema_entry->value->has_unit = true;
4191 schema_entry->value->unit = STATS_UNIT_BYTES;
4194 schema_entry->value->has_unit = true;
4195 schema_entry->value->unit = STATS_UNIT_CYCLES;
4198 schema_entry->value->has_unit = true;
4199 schema_entry->value->unit = STATS_UNIT_SECONDS;
4205 schema_entry->value->exponent = pdesc->exponent;
4209 schema_entry->value->has_base = true;
4210 schema_entry->value->base = 10;
4213 schema_entry->value->has_base = true;
4214 schema_entry->value->base = 2;
4221 schema_entry->value->name = g_strdup(pdesc->name);
4225 g_free(schema_entry->value);