Home
last modified time | relevance | path

Searched refs:size_desc (Results 1 – 3 of 3) sorted by relevance

/linux-6.6.21/virt/kvm/
Dbinary_stats.c60 size_t size_desc; in kvm_stats_read() local
67 size_desc = header->num_desc * sizeof(*desc); in kvm_stats_read()
69 len = KVM_STATS_NAME_SIZE + size_header + size_desc + size_stats - pos; in kvm_stats_read()
121 copylen = header->desc_offset + size_desc - pos; in kvm_stats_read()
/linux-6.6.21/tools/testing/selftests/kvm/
Dkvm_binary_stats_test.c28 size_t size_desc; in stats_test() local
40 size_desc = get_stats_descriptor_size(&header); in stats_test()
70 (header.desc_offset + size_desc * header.num_desc <= header.data_offset), in stats_test()
/linux-6.6.21/tools/testing/selftests/kvm/lib/
Dkvm_util.c2139 size_t size_desc; in __vm_get_stat() local
2149 size_desc = get_stats_descriptor_size(&vm->stats_header); in __vm_get_stat()
2152 desc = (void *)vm->stats_desc + (i * size_desc); in __vm_get_stat()