Searched refs:nent (Results 1 – 3 of 3) sorted by relevance
1112 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 …]
171 __u32 nent; member193 __u32 nent; member
124 long i, p, nent; in iommu_arena_find_pages() local139 nent = arena->size >> PAGE_SHIFT; in iommu_arena_find_pages()144 while (i < n && p+i < nent) { in iommu_arena_find_pages()