Home
last modified time | relevance | path

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

/linux-6.15/arch/loongarch/kvm/
H A Dvm.c18 const struct kvm_stats_header kvm_vm_stats_header = {
21 .id_offset = sizeof(struct kvm_stats_header),
22 .desc_offset = sizeof(struct kvm_stats_header) + KVM_STATS_NAME_SIZE,
23 .data_offset = sizeof(struct kvm_stats_header) + KVM_STATS_NAME_SIZE +
H A Dvcpu.c26 const struct kvm_stats_header kvm_vcpu_stats_header = {
29 .id_offset = sizeof(struct kvm_stats_header),
30 .desc_offset = sizeof(struct kvm_stats_header) + KVM_STATS_NAME_SIZE,
31 .data_offset = sizeof(struct kvm_stats_header) + KVM_STATS_NAME_SIZE +
/linux-6.15/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.c45 const struct kvm_stats_header kvm_vcpu_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 +
/linux-6.15/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-6.15/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-6.15/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-6.15/tools/testing/selftests/kvm/include/
H A Dkvm_util.h51 struct kvm_stats_header header;
499 static inline void read_stats_header(int stats_fd, struct kvm_stats_header *header) in read_stats_header()
510 struct kvm_stats_header *header);
512 static inline ssize_t get_stats_descriptor_size(struct kvm_stats_header *header) in get_stats_descriptor_size()
525 struct kvm_stats_header *header) in get_stats_descriptor()
534 void read_stat_data(int stats_fd, struct kvm_stats_header *header,
/linux-6.15/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-6.15/tools/testing/selftests/kvm/
H A Dkvm_binary_stats_test.c28 struct kvm_stats_header header; in stats_test()
/linux-6.15/include/linux/
H A Dkvm_host.h2046 ssize_t kvm_stats_read(char *id, const struct kvm_stats_header *header,
2091 extern const struct kvm_stats_header kvm_vm_stats_header;
2093 extern const struct kvm_stats_header kvm_vcpu_stats_header;
/linux-6.15/arch/s390/kvm/
H A Dkvm-s390.c83 const struct kvm_stats_header kvm_vm_stats_header = {
86 .id_offset = sizeof(struct kvm_stats_header),
87 .desc_offset = sizeof(struct kvm_stats_header) + KVM_STATS_NAME_SIZE,
88 .data_offset = sizeof(struct kvm_stats_header) + KVM_STATS_NAME_SIZE +
190 const struct kvm_stats_header kvm_vcpu_stats_header = {
193 .id_offset = sizeof(struct kvm_stats_header),
194 .desc_offset = sizeof(struct kvm_stats_header) + KVM_STATS_NAME_SIZE,
195 .data_offset = sizeof(struct kvm_stats_header) + KVM_STATS_NAME_SIZE +
/linux-6.15/tools/testing/selftests/kvm/lib/
H A Dkvm_util.c2209 struct kvm_stats_header *header) in read_stats_descriptors()
2240 void read_stat_data(int stats_fd, struct kvm_stats_header *header, in read_stat_data()
/linux-6.15/tools/include/uapi/linux/
H A Dkvm.h1486 struct kvm_stats_header { struct
/linux-6.15/include/uapi/linux/
H A Dkvm.h1486 struct kvm_stats_header { struct
/linux-6.15/arch/x86/kvm/
H A Dx86.c247 const struct kvm_stats_header kvm_vm_stats_header = {
250 .id_offset = sizeof(struct kvm_stats_header),
251 .desc_offset = sizeof(struct kvm_stats_header) + KVM_STATS_NAME_SIZE,
252 .data_offset = sizeof(struct kvm_stats_header) + KVM_STATS_NAME_SIZE +
294 const struct kvm_stats_header kvm_vcpu_stats_header = {
297 .id_offset = sizeof(struct kvm_stats_header),
298 .desc_offset = sizeof(struct kvm_stats_header) + KVM_STATS_NAME_SIZE,
299 .data_offset = sizeof(struct kvm_stats_header) + KVM_STATS_NAME_SIZE +
/linux-6.15/Documentation/virt/kvm/
H A Dapi.rst5899 struct kvm_stats_header {