Home
last modified time | relevance | path

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

/arch/x86/kvm/
Dcpuid.c144 if (cpuid->nent > KVM_MAX_CPUID_ENTRIES) in kvm_vcpu_ioctl_set_cpuid()
147 cpuid_entries = vmalloc(sizeof(struct kvm_cpuid_entry) * cpuid->nent); in kvm_vcpu_ioctl_set_cpuid()
152 cpuid->nent * sizeof(struct kvm_cpuid_entry))) in kvm_vcpu_ioctl_set_cpuid()
154 for (i = 0; i < cpuid->nent; i++) { in kvm_vcpu_ioctl_set_cpuid()
166 vcpu->arch.cpuid_nent = cpuid->nent; in kvm_vcpu_ioctl_set_cpuid()
185 if (cpuid->nent > KVM_MAX_CPUID_ENTRIES) in kvm_vcpu_ioctl_set_cpuid2()
189 cpuid->nent * sizeof(struct kvm_cpuid_entry2))) in kvm_vcpu_ioctl_set_cpuid2()
191 vcpu->arch.cpuid_nent = cpuid->nent; in kvm_vcpu_ioctl_set_cpuid2()
206 if (cpuid->nent < vcpu->arch.cpuid_nent) in kvm_vcpu_ioctl_get_cpuid2()
215 cpuid->nent = vcpu->arch.cpuid_nent; in kvm_vcpu_ioctl_get_cpuid2()
[all …]
/arch/x86/include/uapi/asm/
Dkvm.h201 __u32 nent; member
223 __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.c2829 int nent, assoc, new_cc = 1; in dump_tlb_book3e() local
2848 nent = tlbcfg & 0xfff; in dump_tlb_book3e()
2850 for (i = 0; i < nent; i++) { in dump_tlb_book3e()