Searched refs:size_desc (Results 1 – 2 of 2) sorted by relevance
27 size_t size_desc; in stats_test() local41 size_desc = sizeof(*stats_desc) + header->name_size; in stats_test()64 (header->desc_offset + size_desc * header->num_desc <= in stats_test()69 stats_desc = calloc(header->num_desc, size_desc); in stats_test()73 size_desc * header->num_desc, header->desc_offset); in stats_test()74 TEST_ASSERT(ret == size_desc * header->num_desc, in stats_test()79 pdesc = (void *)stats_desc + i * size_desc; in stats_test()135 pdesc = (void *)stats_desc + i * size_desc; in stats_test()150 pdesc = (void *)stats_desc + i * size_desc; in stats_test()
60 size_t size_desc; in kvm_stats_read() local67 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()