Home
last modified time | relevance | path

Searched refs:kvm_stats_header (Results 1 – 18 of 18) sorted by relevance

/openbmc/linux/arch/riscv/kvm/
H A Dvm.c21 const struct kvm_stats_header kvm_vm_stats_header = {
24 .id_offset = sizeof(struct kvm_stats_header),
25 .desc_offset = sizeof(struct kvm_stats_header) + KVM_STATS_NAME_SIZE,
26 .data_offset = sizeof(struct kvm_stats_header) + KVM_STATS_NAME_SIZE +
H A Dvcpu.c36 const struct kvm_stats_header kvm_vcpu_stats_header = {
39 .id_offset = sizeof(struct kvm_stats_header),
40 .desc_offset = sizeof(struct kvm_stats_header) + KVM_STATS_NAME_SIZE,
41 .data_offset = sizeof(struct kvm_stats_header) + KVM_STATS_NAME_SIZE +
/openbmc/linux/arch/arm64/kvm/
H A Dguest.c36 const struct kvm_stats_header kvm_vm_stats_header = {
39 .id_offset = sizeof(struct kvm_stats_header),
40 .desc_offset = sizeof(struct kvm_stats_header) + KVM_STATS_NAME_SIZE,
41 .data_offset = sizeof(struct kvm_stats_header) + KVM_STATS_NAME_SIZE +
56 const struct kvm_stats_header kvm_vcpu_stats_header = {
59 .id_offset = sizeof(struct kvm_stats_header),
60 .desc_offset = sizeof(struct kvm_stats_header) + KVM_STATS_NAME_SIZE,
61 .data_offset = sizeof(struct kvm_stats_header) + KVM_STATS_NAME_SIZE +
/openbmc/qemu/accel/kvm/
H A Dkvm-all.c4111 struct kvm_stats_header kvm_stats_header; member
4128 struct kvm_stats_header *kvm_stats_header; in find_stats_descriptors() local
4142 kvm_stats_header = &descriptors->kvm_stats_header; in find_stats_descriptors()
4143 ret = pread(stats_fd, kvm_stats_header, sizeof(*kvm_stats_header), 0); in find_stats_descriptors()
4144 if (ret != sizeof(*kvm_stats_header)) { in find_stats_descriptors()
4147 sizeof(*kvm_stats_header), ret); in find_stats_descriptors()
4157 kvm_stats_header->desc_offset); in find_stats_descriptors()
4178 struct kvm_stats_header *kvm_stats_header; in query_stats() local
4192 kvm_stats_header = &descriptors->kvm_stats_header; in query_stats()
4245 struct kvm_stats_header *kvm_stats_header; in query_stats_schema() local
[all …]
/openbmc/linux/arch/powerpc/kvm/
H A Dbook3s.c47 const struct kvm_stats_header kvm_vm_stats_header = {
50 .id_offset = sizeof(struct kvm_stats_header),
51 .desc_offset = sizeof(struct kvm_stats_header) + KVM_STATS_NAME_SIZE,
52 .data_offset = sizeof(struct kvm_stats_header) + KVM_STATS_NAME_SIZE +
89 const struct kvm_stats_header kvm_vcpu_stats_header = {
92 .id_offset = sizeof(struct kvm_stats_header),
93 .desc_offset = sizeof(struct kvm_stats_header) + KVM_STATS_NAME_SIZE,
94 .data_offset = sizeof(struct kvm_stats_header) + KVM_STATS_NAME_SIZE +
H A Dbooke.c45 const struct kvm_stats_header kvm_vm_stats_header = {
48 .id_offset = sizeof(struct kvm_stats_header),
49 .desc_offset = sizeof(struct kvm_stats_header) + KVM_STATS_NAME_SIZE,
50 .data_offset = sizeof(struct kvm_stats_header) + KVM_STATS_NAME_SIZE +
80 const struct kvm_stats_header kvm_vcpu_stats_header = {
83 .id_offset = sizeof(struct kvm_stats_header),
84 .desc_offset = sizeof(struct kvm_stats_header) + KVM_STATS_NAME_SIZE,
85 .data_offset = sizeof(struct kvm_stats_header) + KVM_STATS_NAME_SIZE +
/openbmc/linux/tools/testing/selftests/kvm/include/
H A Dkvm_util_base.h117 struct kvm_stats_header stats_header;
382 static inline void read_stats_header(int stats_fd, struct kvm_stats_header *header) in read_stats_header()
393 struct kvm_stats_header *header);
395 static inline ssize_t get_stats_descriptor_size(struct kvm_stats_header *header) in get_stats_descriptor_size()
408 struct kvm_stats_header *header) in get_stats_descriptor()
417 void read_stat_data(int stats_fd, struct kvm_stats_header *header,
/openbmc/linux/arch/mips/kvm/
H A Dmips.c45 const struct kvm_stats_header kvm_vm_stats_header = {
48 .id_offset = sizeof(struct kvm_stats_header),
49 .desc_offset = sizeof(struct kvm_stats_header) + KVM_STATS_NAME_SIZE,
50 .data_offset = sizeof(struct kvm_stats_header) + KVM_STATS_NAME_SIZE +
87 const struct kvm_stats_header kvm_vcpu_stats_header = {
90 .id_offset = sizeof(struct kvm_stats_header),
91 .desc_offset = sizeof(struct kvm_stats_header) + KVM_STATS_NAME_SIZE,
92 .data_offset = sizeof(struct kvm_stats_header) + KVM_STATS_NAME_SIZE +
/openbmc/linux/virt/kvm/
H A Dbinary_stats.c52 ssize_t kvm_stats_read(char *id, const struct kvm_stats_header *header, in kvm_stats_read()
/openbmc/linux/tools/testing/selftests/kvm/
H A Dkvm_binary_stats_test.c30 struct kvm_stats_header header; in stats_test()
/openbmc/linux/include/linux/
H A Dkvm_host.h1900 ssize_t kvm_stats_read(char *id, const struct kvm_stats_header *header,
1945 extern const struct kvm_stats_header kvm_vm_stats_header;
1947 extern const struct kvm_stats_header kvm_vcpu_stats_header;
/openbmc/linux/arch/s390/kvm/
H A Dkvm-s390.c79 const struct kvm_stats_header kvm_vm_stats_header = {
82 .id_offset = sizeof(struct kvm_stats_header),
83 .desc_offset = sizeof(struct kvm_stats_header) + KVM_STATS_NAME_SIZE,
84 .data_offset = sizeof(struct kvm_stats_header) + KVM_STATS_NAME_SIZE +
186 const struct kvm_stats_header kvm_vcpu_stats_header = {
189 .id_offset = sizeof(struct kvm_stats_header),
190 .desc_offset = sizeof(struct kvm_stats_header) + KVM_STATS_NAME_SIZE,
191 .data_offset = sizeof(struct kvm_stats_header) + KVM_STATS_NAME_SIZE +
/openbmc/linux/tools/testing/selftests/kvm/lib/
H A Dkvm_util.c2070 struct kvm_stats_header *header) in read_stats_descriptors()
2101 void read_stat_data(int stats_fd, struct kvm_stats_header *header, in read_stat_data()
/openbmc/qemu/linux-headers/linux/
H A Dkvm.h1457 struct kvm_stats_header { struct
/openbmc/linux/include/uapi/linux/
H A Dkvm.h2162 struct kvm_stats_header { struct
/openbmc/linux/tools/include/uapi/linux/
H A Dkvm.h2155 struct kvm_stats_header { struct
/openbmc/linux/arch/x86/kvm/
H A Dx86.c261 const struct kvm_stats_header kvm_vm_stats_header = {
264 .id_offset = sizeof(struct kvm_stats_header),
265 .desc_offset = sizeof(struct kvm_stats_header) + KVM_STATS_NAME_SIZE,
266 .data_offset = sizeof(struct kvm_stats_header) + KVM_STATS_NAME_SIZE +
308 const struct kvm_stats_header kvm_vcpu_stats_header = {
311 .id_offset = sizeof(struct kvm_stats_header),
312 .desc_offset = sizeof(struct kvm_stats_header) + KVM_STATS_NAME_SIZE,
313 .data_offset = sizeof(struct kvm_stats_header) + KVM_STATS_NAME_SIZE +
/openbmc/linux/Documentation/virt/kvm/
H A Dapi.rst5757 struct kvm_stats_header {