Home
last modified time | relevance | path

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

/arch/x86/kvm/
Dcpuid.c175 if (cpuid->nent > KVM_MAX_CPUID_ENTRIES) in kvm_vcpu_ioctl_set_cpuid()
178 cpuid_entries = vmalloc(sizeof(struct kvm_cpuid_entry) * cpuid->nent); in kvm_vcpu_ioctl_set_cpuid()
183 cpuid->nent * sizeof(struct kvm_cpuid_entry))) in kvm_vcpu_ioctl_set_cpuid()
185 for (i = 0; i < cpuid->nent; i++) { in kvm_vcpu_ioctl_set_cpuid()
197 vcpu->arch.cpuid_nent = cpuid->nent; in kvm_vcpu_ioctl_set_cpuid()
216 if (cpuid->nent > KVM_MAX_CPUID_ENTRIES) in kvm_vcpu_ioctl_set_cpuid2()
220 cpuid->nent * sizeof(struct kvm_cpuid_entry2))) in kvm_vcpu_ioctl_set_cpuid2()
222 vcpu->arch.cpuid_nent = cpuid->nent; in kvm_vcpu_ioctl_set_cpuid2()
237 if (cpuid->nent < vcpu->arch.cpuid_nent) in kvm_vcpu_ioctl_get_cpuid2()
246 cpuid->nent = vcpu->arch.cpuid_nent; in kvm_vcpu_ioctl_get_cpuid2()
[all …]
/arch/x86/include/uapi/asm/
Dkvm.h203 __u32 nent; member
225 __u32 nent; member
/arch/alpha/kernel/
Dpci_iommu.c125 long i, p, nent; in iommu_arena_find_pages() local
140 nent = arena->size >> PAGE_SHIFT; in iommu_arena_find_pages()
145 while (i < n && p+i < nent) { in iommu_arena_find_pages()
/arch/powerpc/xmon/
Dxmon.c2934 int nent, assoc, new_cc = 1; in dump_tlb_book3e() local
2953 nent = tlbcfg & 0xfff; in dump_tlb_book3e()
2955 for (i = 0; i < nent; i++) { in dump_tlb_book3e()