Home
last modified time | relevance | path

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

/linux/arch/loongarch/kvm/
H A Dvm.c19 const struct kvm_stats_header kvm_vm_stats_header = {
22 .id_offset = sizeof(struct kvm_stats_header),
23 .desc_offset = sizeof(struct kvm_stats_header) + KVM_STATS_NAME_SIZE,
24 .data_offset = sizeof(struct kvm_stats_header) + KVM_STATS_NAME_SIZE +
H A Dvcpu.c32 const struct kvm_stats_header kvm_vcpu_stats_header = {
35 .id_offset = sizeof(struct kvm_stats_header),
36 .desc_offset = sizeof(struct kvm_stats_header) + KVM_STATS_NAME_SIZE,
37 .data_offset = sizeof(struct kvm_stats_header) + KVM_STATS_NAME_SIZE +
/linux/arch/riscv/kvm/
H A Dvm.c22 const struct kvm_stats_header kvm_vm_stats_header = {
25 .id_offset = sizeof(struct kvm_stats_header),
26 .desc_offset = sizeof(struct kvm_stats_header) + KVM_STATS_NAME_SIZE,
27 .data_offset = sizeof(struct kvm_stats_header) + KVM_STATS_NAME_SIZE +
H A Dvcpu.c47 const struct kvm_stats_header kvm_vcpu_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 +
/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 +
/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 +
/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 +
/linux/tools/testing/selftests/kvm/include/
H A Dkvm_util.h55 struct kvm_stats_header header;
577 static inline void read_stats_header(int stats_fd, struct kvm_stats_header *header) in read_stats_header()
588 struct kvm_stats_header *header);
590 static inline ssize_t get_stats_descriptor_size(struct kvm_stats_header *header) in get_stats_descriptor_size()
603 struct kvm_stats_header *header) in get_stats_descriptor()
612 void read_stat_data(int stats_fd, struct kvm_stats_header *header,
/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()
/linux/tools/testing/selftests/kvm/
H A Dkvm_binary_stats_test.c28 struct kvm_stats_header header; in stats_test()
/linux/arch/s390/kvm/
H A Dkvm-s390.c85 const struct kvm_stats_header kvm_vm_stats_header = {
88 .id_offset = sizeof(struct kvm_stats_header),
89 .desc_offset = sizeof(struct kvm_stats_header) + KVM_STATS_NAME_SIZE,
90 .data_offset = sizeof(struct kvm_stats_header) + KVM_STATS_NAME_SIZE +
193 const struct kvm_stats_header kvm_vcpu_stats_header = {
196 .id_offset = sizeof(struct kvm_stats_header),
197 .desc_offset = sizeof(struct kvm_stats_header) + KVM_STATS_NAME_SIZE,
198 .data_offset = sizeof(struct kvm_stats_header) + KVM_STATS_NAME_SIZE +
/linux/include/linux/
H A Dkvm_host.h2070 ssize_t kvm_stats_read(char *id, const struct kvm_stats_header *header,
2115 extern const struct kvm_stats_header kvm_vm_stats_header;
2117 extern const struct kvm_stats_header kvm_vcpu_stats_header;
/linux/tools/testing/selftests/kvm/lib/
H A Dkvm_util.c2159 struct kvm_stats_header *header) in read_stats_descriptors()
2190 void read_stat_data(int stats_fd, struct kvm_stats_header *header, in read_stat_data()
/linux/include/uapi/linux/
H A Dkvm.h1567 struct kvm_stats_header { struct
/linux/tools/include/uapi/linux/
H A Dkvm.h1558 struct kvm_stats_header { struct
/linux/arch/x86/kvm/
H A Dx86.c265 const struct kvm_stats_header kvm_vm_stats_header = {
268 .id_offset = sizeof(struct kvm_stats_header),
269 .desc_offset = sizeof(struct kvm_stats_header) + KVM_STATS_NAME_SIZE,
270 .data_offset = sizeof(struct kvm_stats_header) + KVM_STATS_NAME_SIZE +
312 const struct kvm_stats_header kvm_vcpu_stats_header = {
315 .id_offset = sizeof(struct kvm_stats_header),
316 .desc_offset = sizeof(struct kvm_stats_header) + KVM_STATS_NAME_SIZE,
317 .data_offset = sizeof(struct kvm_stats_header) + KVM_STATS_NAME_SIZE +
/linux/Documentation/virt/kvm/
H A Dapi.rst5947 struct kvm_stats_header {