Home
last modified time | relevance | path

Searched refs:name_size (Results 1 – 2 of 2) sorted by relevance

/tools/testing/selftests/kvm/
Dkvm_binary_stats_test.c41 size_desc = sizeof(*stats_desc) + header->name_size; in stats_test()
44 id = malloc(header->name_size); in stats_test()
46 ret = read(stats_fd, id, header->name_size); in stats_test()
47 TEST_ASSERT(ret == header->name_size, "Read id string"); in stats_test()
50 TEST_ASSERT(!strncmp(id, "kvm", 3) && strlen(id) < header->name_size, in stats_test()
107 TEST_ASSERT(strlen(pdesc->name) < header->name_size, in stats_test()
/tools/include/uapi/linux/
Dkvm.h1956 __u32 name_size; member