Searched refs:nent (Results 1 – 3 of 3) sorted by relevance
52 int nent = 9; in test_hv_cpuid() local56 nent += 1; /* 0x4000000A */ in test_hv_cpuid()58 TEST_ASSERT(hv_cpuid_entries->nent == nent, in test_hv_cpuid()61 nent, evmcs_enabled, hv_cpuid_entries->nent); in test_hv_cpuid()63 for (i = 0; i < hv_cpuid_entries->nent; i++) { in test_hv_cpuid()115 static struct kvm_cpuid2 cpuid = {.nent = 0}; in test_hv_cpuid_e2big()128 int nent = 20; /* should be enough */ in kvm_get_supported_hv_cpuid() local131 cpuid = malloc(sizeof(*cpuid) + nent * sizeof(struct kvm_cpuid_entry2)); in kvm_get_supported_hv_cpuid()138 cpuid->nent = nent; in kvm_get_supported_hv_cpuid()
227 __u32 nent; member249 __u32 nent; member
625 int nent = 100; in allocate_kvm_cpuid2() local629 size += nent * sizeof(struct kvm_cpuid_entry2); in allocate_kvm_cpuid2()636 cpuid->nent = nent; in allocate_kvm_cpuid2()693 for (i = 0; i < cpuid->nent; i++) { in kvm_get_supported_cpuid_index()1236 for (i = 0; i < cpuid->nent; i++) { in set_cpuid()