Home
last modified time | relevance | path

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

/tools/testing/selftests/kvm/x86_64/
Dhyperv_cpuid.c52 int nent = 9; in test_hv_cpuid() local
56 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() local
131 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()
/tools/arch/x86/include/uapi/asm/
Dkvm.h227 __u32 nent; member
249 __u32 nent; member
/tools/testing/selftests/kvm/lib/x86_64/
Dprocessor.c625 int nent = 100; in allocate_kvm_cpuid2() local
629 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()