Searched refs:stats_data (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/tools/testing/selftests/kvm/ |
H A D | kvm_binary_stats_test.c | 33 u64 *stats_data; in stats_test() local 139 size_data = max(size_data, pdesc->offset + pdesc->size * sizeof(*stats_data)); in stats_test() 151 TEST_ASSERT(size_data >= header.num_desc * sizeof(*stats_data), in stats_test() 155 stats_data = malloc(size_data); in stats_test() 156 TEST_ASSERT(stats_data, "Allocate memory for stats data"); in stats_test() 158 ret = pread(stats_fd, stats_data, size_data, header.data_offset); in stats_test() 163 read_stat_data(stats_fd, &header, pdesc, stats_data, in stats_test() 167 free(stats_data); in stats_test()
|
/openbmc/linux/drivers/soc/qcom/ |
H A D | qcom_stats.c | 53 struct stats_data { struct 104 struct stats_data *d = s->private; in qcom_soc_sleep_stats_show() 125 struct stats_data *d, in qcom_create_soc_sleep_stat_files() 188 struct stats_data *d; in qcom_stats_probe()
|
/openbmc/linux/drivers/media/common/siano/ |
H A D | smsdvb-debugfs.c | 27 char stats_data[PAGE_SIZE]; member 46 buf = debug_data->stats_data; in smsdvb_print_dvb_stats() 108 buf = debug_data->stats_data; in smsdvb_print_isdb_stats() 172 buf = debug_data->stats_data; in smsdvb_print_isdb_stats_ex() 312 debug_data->stats_data, len); in smsdvb_stats_read()
|
/openbmc/qemu/accel/kvm/ |
H A D | kvm-all.c | 3967 uint64_t *stats_data, in add_kvmstat_entry() argument 4012 stats->value->u.boolean = *stats_data; in add_kvmstat_entry() 4015 stats->value->u.scalar = *stats_data; in add_kvmstat_entry() 4020 QAPI_LIST_PREPEND(val_list, stats_data[i]); in add_kvmstat_entry() 4180 g_autofree uint64_t *stats_data = NULL; in query_stats() local 4199 size_data += pdesc->size * sizeof(*stats_data); in query_stats() 4202 stats_data = g_malloc0(size_data); in query_stats() 4203 ret = pread(stats_fd, stats_data, size_data, kvm_stats_header->data_offset); in query_stats() 4216 stats = (void *)stats_data + pdesc->offset; in query_stats()
|