Searched refs:nent (Results 1 – 6 of 6) sorted by relevance
/arch/x86/kvm/ |
D | cpuid.c | 58 struct kvm_cpuid_entry2 *entries, int nent, u32 function, u32 index) in cpuid_entry2_find() argument 63 for (i = 0; i < nent; i++) { in cpuid_entry2_find() 74 static int kvm_check_cpuid(struct kvm_cpuid_entry2 *entries, int nent) in kvm_check_cpuid() argument 82 best = cpuid_entry2_find(entries, nent, 0x80000008, 0); in kvm_check_cpuid() 234 if (cpuid->nent > KVM_MAX_CPUID_ENTRIES) in kvm_vcpu_ioctl_set_cpuid() 237 if (cpuid->nent) { in kvm_vcpu_ioctl_set_cpuid() 238 e = vmemdup_user(entries, array_size(sizeof(*e), cpuid->nent)); in kvm_vcpu_ioctl_set_cpuid() 242 e2 = kvmalloc_array(cpuid->nent, sizeof(*e2), GFP_KERNEL_ACCOUNT); in kvm_vcpu_ioctl_set_cpuid() 248 for (i = 0; i < cpuid->nent; i++) { in kvm_vcpu_ioctl_set_cpuid() 261 r = kvm_check_cpuid(e2, cpuid->nent); in kvm_vcpu_ioctl_set_cpuid() [all …]
|
D | hyperv.c | 1984 int i, nent = ARRAY_SIZE(cpuid_entries); in kvm_vcpu_ioctl_get_hv_cpuid() local 1991 --nent; in kvm_vcpu_ioctl_get_hv_cpuid() 1993 if (cpuid->nent < nent) in kvm_vcpu_ioctl_get_hv_cpuid() 1996 if (cpuid->nent > nent) in kvm_vcpu_ioctl_get_hv_cpuid() 1997 cpuid->nent = nent; in kvm_vcpu_ioctl_get_hv_cpuid() 1999 for (i = 0; i < nent; i++) { in kvm_vcpu_ioctl_get_hv_cpuid() 2117 nent * sizeof(struct kvm_cpuid_entry2))) in kvm_vcpu_ioctl_get_hv_cpuid()
|
/arch/x86/include/uapi/asm/ |
D | kvm.h | 227 __u32 nent; member 249 __u32 nent; member
|
/arch/x86/xen/ |
D | efi.c | 63 efi_systab_xen.nr_tables = info->cfg.nent; in xen_efi_probe()
|
/arch/alpha/kernel/ |
D | pci_iommu.c | 138 long i, p, nent; in iommu_arena_find_pages() local 148 nent = arena->size >> PAGE_SHIFT; in iommu_arena_find_pages() 153 while (i < n && p+i < nent) { in iommu_arena_find_pages()
|
/arch/powerpc/xmon/ |
D | xmon.c | 3815 int nent, assoc, new_cc = 1; in dump_tlb_book3e() local 3834 nent = tlbcfg & 0xfff; in dump_tlb_book3e() 3836 for (i = 0; i < nent; i++) { in dump_tlb_book3e()
|