Home
last modified time | relevance | path

Searched refs:maxcpus (Results 1 – 16 of 16) sorted by relevance

/f-stack/freebsd/amd64/vmm/
H A Dvmm.c460 for (i = 0; i < vm->maxcpus; i++) in vm_init()
513 *maxcpus = vm->maxcpus; in vm_get_topology()
519 return (vm->maxcpus); in vm_get_maxcpus()
526 if (maxcpus != 0) in vm_set_topology()
559 for (i = 0; i < vm->maxcpus; i++) in vm_cleanup()
997 for (i = 0; i < vm->maxcpus; i++) { in vm_gpa_hold()
1040 if (vcpu < 0 || vcpu >= vm->maxcpus) in vm_get_register()
1109 if (vcpu < 0 || vcpu >= vm->maxcpus) in vm_get_seg_desc()
1122 if (vcpu < 0 || vcpu >= vm->maxcpus) in vm_set_seg_desc()
1586 for (i = 0; i < vm->maxcpus; i++) { in vm_handle_suspend()
[all …]
H A Dx86.c99 uint16_t cores, maxcpus, sockets, threads; in x86_emulate_cpuid() local
155 &maxcpus); in x86_emulate_cpuid()
255 &maxcpus); in x86_emulate_cpuid()
296 &maxcpus); in x86_emulate_cpuid()
396 &maxcpus); in x86_emulate_cpuid()
408 &maxcpus); in x86_emulate_cpuid()
492 &maxcpus); in x86_emulate_cpuid()
H A Dvmm_dev.c143 uint16_t maxcpus; in vcpu_lock_all() local
145 maxcpus = vm_get_maxcpus(sc->vm); in vcpu_lock_all()
146 for (vcpu = 0; vcpu < maxcpus; vcpu++) { in vcpu_lock_all()
164 uint16_t maxcpus; in vcpu_unlock_all() local
166 maxcpus = vm_get_maxcpus(sc->vm); in vcpu_unlock_all()
167 for (vcpu = 0; vcpu < maxcpus; vcpu++) in vcpu_unlock_all()
846 topology->cores, topology->threads, topology->maxcpus); in vmmdev_ioctl()
851 &topology->threads, &topology->maxcpus); in vmmdev_ioctl()
/f-stack/tools/libmemstat/
H A Dmemstat_malloc.c94 int count, hint_dontsearch, i, j, maxcpus; in memstat_sysctl_malloc() local
108 size = sizeof(maxcpus); in memstat_sysctl_malloc()
109 if (sysctlbyname("kern.smp.maxcpus", &maxcpus, &size, NULL, 0) < 0) { in memstat_sysctl_malloc()
116 if (size != sizeof(maxcpus)) { in memstat_sysctl_malloc()
142 maxcpus); in memstat_sysctl_malloc()
192 maxcpus = mtshp->mtsh_maxcpus; in memstat_sysctl_malloc()
205 mthp->mth_name, maxcpus); in memstat_sysctl_malloc()
216 _memstat_mt_reset_stats(mtp, maxcpus); in memstat_sysctl_malloc()
218 for (j = 0; j < maxcpus; j++) { in memstat_sysctl_malloc()
H A Dmemstat.c157 const char *name, int maxcpus) in _memstat_mt_allocate() argument
169 maxcpus); in _memstat_mt_allocate()
171 maxcpus); in _memstat_mt_allocate()
185 _memstat_mt_reset_stats(struct memory_type *mtp, int maxcpus) in _memstat_mt_reset_stats() argument
207 for (i = 0; i < maxcpus; i++) { in _memstat_mt_reset_stats()
H A Dmemstat_internal.h126 int allocator, const char *name, int maxcpus);
128 int maxcpus);
H A Dmemstat_uma.c91 int count, hint_dontsearch, i, j, maxcpus, maxid; in memstat_sysctl_uma() local
182 maxcpus = ushp->ush_maxcpus; in memstat_sysctl_uma()
214 for (j = 0; j < maxcpus; j++) { in memstat_sysctl_uma()
/f-stack/freebsd/net/
H A Drss_config.c125 SYSCTL_INT(_net_inet_rss, OID_AUTO, maxcpus, CTLFLAG_RD,
/f-stack/freebsd/amd64/include/
H A Dvmm.h225 uint16_t *threads, uint16_t *maxcpus);
227 uint16_t threads, uint16_t maxcpus);
H A Dvmm_dev.h242 uint16_t maxcpus; member
/f-stack/freebsd/amd64/vmm/io/
H A Dvlapic.c963 uint16_t maxcpus; in vlapic_icrlo_write_handler() local
1025 maxcpus = vm_get_maxcpus(vlapic->vm); in vlapic_icrlo_write_handler()
1030 if (vlapic->vcpuid == 0 && dest != 0 && dest < maxcpus) { in vlapic_icrlo_write_handler()
1043 if (vlapic->vcpuid == 0 && dest != 0 && dest < maxcpus) { in vlapic_icrlo_write_handler()
/f-stack/freebsd/amd64/vmm/intel/
H A Dvmx.c1027 uint16_t maxcpus; in vmx_init() local
1099 maxcpus = vm_get_maxcpus(vm); in vmx_init()
1100 for (i = 0; i < maxcpus; i++) { in vmx_init()
3186 uint16_t maxcpus; in vmx_cleanup() local
3191 maxcpus = vm_get_maxcpus(vmx->vm); in vmx_cleanup()
3192 for (i = 0; i < maxcpus; i++) in vmx_cleanup()
/f-stack/freebsd/contrib/device-tree/src/arm/
H A Dexynos4210-universal_c210.dts27 bootargs = "root=/dev/mmcblk0p5 rw rootwait earlyprintk panic=5 maxcpus=1";
/f-stack/freebsd/amd64/vmm/amd/
H A Dsvm.c561 uint16_t maxcpus; in svm_init() local
615 maxcpus = vm_get_maxcpus(svm_sc->vm); in svm_init()
616 for (i = 0; i < maxcpus; i++) { in svm_init()
/f-stack/freebsd/kern/
H A Dsubr_smp.c86 SYSCTL_INT(_kern_smp, OID_AUTO, maxcpus, CTLFLAG_RD|CTLFLAG_CAPRD, &mp_maxcpus,
/f-stack/lib/
H A Dff_glue.c153 SYSCTL_INT(_kern_smp, OID_AUTO, maxcpus, CTLFLAG_RD|CTLFLAG_CAPRD, &mp_maxcpus,