• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/x86/kvm/

Lines Matching defs:nent

1852 	if (cpuid->nent > KVM_MAX_CPUID_ENTRIES)
1855 cpuid_entries = vmalloc(sizeof(struct kvm_cpuid_entry) * cpuid->nent);
1860 cpuid->nent * sizeof(struct kvm_cpuid_entry)))
1862 for (i = 0; i < cpuid->nent; i++) {
1874 vcpu->arch.cpuid_nent = cpuid->nent;
1894 if (cpuid->nent > KVM_MAX_CPUID_ENTRIES)
1898 cpuid->nent * sizeof(struct kvm_cpuid_entry2)))
1900 vcpu->arch.cpuid_nent = cpuid->nent;
1917 if (cpuid->nent < vcpu->arch.cpuid_nent)
1926 cpuid->nent = vcpu->arch.cpuid_nent;
1943 u32 index, int *nent, int maxnent)
1995 ++*nent;
2017 for (t = 1; t < times && *nent < maxnent; ++t) {
2020 ++*nent;
2030 for (i = 1; *nent < maxnent; ++i) {
2037 ++*nent;
2046 for (i = 1; *nent < maxnent; ++i) {
2053 ++*nent;
2061 for (i = 1; *nent < maxnent; ++i) {
2067 ++*nent;
2109 int limit, nent = 0, r = -E2BIG;
2112 if (cpuid->nent < 1)
2114 if (cpuid->nent > KVM_MAX_CPUID_ENTRIES)
2115 cpuid->nent = KVM_MAX_CPUID_ENTRIES;
2117 cpuid_entries = vmalloc(sizeof(struct kvm_cpuid_entry2) * cpuid->nent);
2121 do_cpuid_ent(&cpuid_entries[0], 0, 0, &nent, cpuid->nent);
2123 for (func = 1; func <= limit && nent < cpuid->nent; ++func)
2124 do_cpuid_ent(&cpuid_entries[nent], func, 0,
2125 &nent, cpuid->nent);
2127 if (nent >= cpuid->nent)
2130 do_cpuid_ent(&cpuid_entries[nent], 0x80000000, 0, &nent, cpuid->nent);
2131 limit = cpuid_entries[nent - 1].eax;
2132 for (func = 0x80000001; func <= limit && nent < cpuid->nent; ++func)
2133 do_cpuid_ent(&cpuid_entries[nent], func, 0,
2134 &nent, cpuid->nent);
2139 if (nent >= cpuid->nent)
2142 do_cpuid_ent(&cpuid_entries[nent], KVM_CPUID_SIGNATURE, 0, &nent,
2143 cpuid->nent);
2146 if (nent >= cpuid->nent)
2149 do_cpuid_ent(&cpuid_entries[nent], KVM_CPUID_FEATURES, 0, &nent,
2150 cpuid->nent);
2153 if (nent >= cpuid->nent)
2158 nent * sizeof(struct kvm_cpuid_entry2)))
2160 cpuid->nent = nent;
4436 int j, nent = vcpu->arch.cpuid_nent;
4440 for (j = i + 1; ; j = (j + 1) % nent) {