Searched refs:stats_desc (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/tools/testing/selftests/kvm/ |
D | kvm_binary_stats_test.c | 30 struct kvm_stats_desc *stats_desc; in stats_test() local 72 stats_desc = read_stats_descriptors(stats_fd, &header); in stats_test() 76 pdesc = get_stats_descriptor(stats_desc, i, &header); in stats_test() 160 pdesc = get_stats_descriptor(stats_desc, i, &header); in stats_test() 166 free(stats_desc); in stats_test()
|
/linux-6.12.1/tools/testing/selftests/kvm/lib/ |
D | kvm_util.c | 756 free(vmp->stats_desc); in kvm_vm_free() 2148 struct kvm_stats_desc *stats_desc; in read_stats_descriptors() local 2154 stats_desc = calloc(header->num_desc, desc_size); in read_stats_descriptors() 2155 TEST_ASSERT(stats_desc, "Allocate memory for stats descriptors"); in read_stats_descriptors() 2157 ret = pread(stats_fd, stats_desc, total_size, header->desc_offset); in read_stats_descriptors() 2160 return stats_desc; in read_stats_descriptors() 2221 vm->stats_desc = read_stats_descriptors(vm->stats_fd, in __vm_get_stat() 2228 desc = (void *)vm->stats_desc + (i * size_desc); in __vm_get_stat()
|
/linux-6.12.1/tools/testing/selftests/kvm/include/ |
D | kvm_util.h | 105 struct kvm_stats_desc *stats_desc; member
|