Searched refs:nent (Results 1 – 3 of 3) sorted by relevance
54 TEST_ASSERT(hv_cpuid_entries->nent == 6, in test_hv_cpuid()57 hv_cpuid_entries->nent); in test_hv_cpuid()59 TEST_ASSERT(hv_cpuid_entries->nent == 7, in test_hv_cpuid()62 hv_cpuid_entries->nent); in test_hv_cpuid()64 for (i = 0; i < hv_cpuid_entries->nent; i++) { in test_hv_cpuid()102 static struct kvm_cpuid2 cpuid = {.nent = 0}; in test_hv_cpuid_e2big()115 int nent = 20; /* should be enough */ in kvm_get_supported_hv_cpuid() local118 cpuid = malloc(sizeof(*cpuid) + nent * sizeof(struct kvm_cpuid_entry2)); in kvm_get_supported_hv_cpuid()125 cpuid->nent = nent; in kvm_get_supported_hv_cpuid()
207 __u32 nent; member229 __u32 nent; member
691 int nent = 100; in allocate_kvm_cpuid2() local695 size += nent * sizeof(struct kvm_cpuid_entry2); in allocate_kvm_cpuid2()702 cpuid->nent = nent; in allocate_kvm_cpuid2()757 for (i = 0; i < cpuid->nent; i++) { in kvm_get_supported_cpuid_index()