Home
last modified time | relevance | path

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

/arch/x86/kvm/
Dx86.c1112 if (cpuid->nent > KVM_MAX_CPUID_ENTRIES) in kvm_vcpu_ioctl_set_cpuid()
1115 cpuid_entries = vmalloc(sizeof(struct kvm_cpuid_entry) * cpuid->nent); in kvm_vcpu_ioctl_set_cpuid()
1120 cpuid->nent * sizeof(struct kvm_cpuid_entry))) in kvm_vcpu_ioctl_set_cpuid()
1122 for (i = 0; i < cpuid->nent; i++) { in kvm_vcpu_ioctl_set_cpuid()
1134 vcpu->arch.cpuid_nent = cpuid->nent; in kvm_vcpu_ioctl_set_cpuid()
1151 if (cpuid->nent > KVM_MAX_CPUID_ENTRIES) in kvm_vcpu_ioctl_set_cpuid2()
1155 cpuid->nent * sizeof(struct kvm_cpuid_entry2))) in kvm_vcpu_ioctl_set_cpuid2()
1157 vcpu->arch.cpuid_nent = cpuid->nent; in kvm_vcpu_ioctl_set_cpuid2()
1171 if (cpuid->nent < vcpu->arch.cpuid_nent) in kvm_vcpu_ioctl_get_cpuid2()
1180 cpuid->nent = vcpu->arch.cpuid_nent; in kvm_vcpu_ioctl_get_cpuid2()
[all …]
/arch/x86/include/asm/
Dkvm.h171 __u32 nent; member
193 __u32 nent; member
/arch/alpha/kernel/
Dpci_iommu.c124 long i, p, nent; in iommu_arena_find_pages() local
139 nent = arena->size >> PAGE_SHIFT; in iommu_arena_find_pages()
144 while (i < n && p+i < nent) { in iommu_arena_find_pages()