/freebsd-11-stable/usr.sbin/bhyvectl/ |
H A D | bhyvectl.c | 2274 uint16_t sockets, cores, threads, maxcpus; local 2276 vm_get_topology(ctx, &sockets, &cores, &threads, &maxcpus); 2277 printf("cpu_topology:\tsockets=%hu, cores=%hu, threads=%hu, " 2278 "maxcpus=%hu\n", sockets, cores, threads, maxcpus);
|
/freebsd-11-stable/usr.sbin/bhyve/ |
H A D | bhyverun.c | 167 uint16_t cores, maxcpus, sockets, threads; variable 215 " %*s [-c [[cpus=]numcpus][,sockets=n][,cores=n][,threads=n]]\n" 317 } else if (sscanf(cp, "cores=%i%n", &tmp, &chk) == 1) { 351 * Compute sockets * cores * threads avoiding overflow 361 cores = c; 1000 error = vm_set_topology(ctx, sockets, cores, threads, maxcpus); 1021 sockets = cores = threads = 1;
|
H A D | smbiostbl.c | 215 uint8_t cores; /* cores per socket */ member in struct:smbios_table_type4 216 uint8_t ecores; /* enabled cores */ 404 0, /* cores per socket (0=unknown) */ 405 0, /* enabled cores per socket (0=unknown) */ 658 /* Revise cores and threads after update to smbios 3.0 */ 659 if (cores > 254) 660 type4->cores = 0; 662 type4->cores = cores; [all...] |
H A D | bhyverun.h | 39 extern uint16_t cores, sockets, threads;
|
/freebsd-11-stable/sys/amd64/vmm/ |
H A D | x86.c | 95 uint16_t cores, maxcpus, sockets, threads; local 145 vm_get_topology(vm, &sockets, &cores, &threads, 157 width = MIN(0xF, log2(threads * cores)); 160 logical_cpus = MIN(0xFF, threads * cores - 1); 243 vm_get_topology(vm, &sockets, &cores, &threads, 257 logical_cpus = threads * cores; 281 vm_get_topology(vm, &sockets, &cores, &threads, 381 vm_get_topology(vm, &sockets, &cores, &threads, 383 logical_cpus = threads * cores; 393 vm_get_topology(vm, &sockets, &cores, [all...] |
H A D | vmm_dev.c | 655 topology->cores, topology->threads, topology->maxcpus); 659 vm_get_topology(sc->vm, &topology->sockets, &topology->cores,
|
H A D | vmm.c | 168 uint16_t cores; /* (o) num of cores/socket */ member in struct:vm 463 vm->cores = cores_per_package; /* XXX backwards compatibility */ 474 vm_get_topology(struct vm *vm, uint16_t *sockets, uint16_t *cores, argument 478 *cores = vm->cores; 490 vm_set_topology(struct vm *vm, uint16_t sockets, uint16_t cores, argument 495 if ((sockets * cores * threads) > vm->maxcpus) 497 /* XXX need to check sockets * cores * threads == vCPU, how? */ 499 vm->cores [all...] |
/freebsd-11-stable/sys/amd64/include/ |
H A D | vmm_dev.h | 221 uint16_t cores; member in struct:vm_cpu_topology
|
H A D | vmm.h | 188 void vm_get_topology(struct vm *vm, uint16_t *sockets, uint16_t *cores, 190 int vm_set_topology(struct vm *vm, uint16_t sockets, uint16_t cores,
|
/freebsd-11-stable/lib/libvmmapi/ |
H A D | vmmapi.h | 213 int vm_set_topology(struct vmctx *ctx, uint16_t sockets, uint16_t cores, 215 int vm_get_topology(struct vmctx *ctx, uint16_t *sockets, uint16_t *cores,
|
H A D | vmmapi.c | 1421 uint16_t sockets, uint16_t cores, uint16_t threads, uint16_t maxcpus) 1427 topology.cores = cores; 1435 uint16_t *sockets, uint16_t *cores, uint16_t *threads, uint16_t *maxcpus) 1444 *cores = topology.cores; 1420 vm_set_topology(struct vmctx *ctx, uint16_t sockets, uint16_t cores, uint16_t threads, uint16_t maxcpus) argument 1434 vm_get_topology(struct vmctx *ctx, uint16_t *sockets, uint16_t *cores, uint16_t *threads, uint16_t *maxcpus) argument
|
/freebsd-11-stable/share/mk/ |
H A D | bsd.cpu.mk | 153 # Typical values for cores:
|
/freebsd-11-stable/sys/arm64/arm64/ |
H A D | mp_machdep.c | 515 /* Introduce rest of cores to the world */ 546 int cores; local 548 cores = ofw_cpu_early_foreach(cpu_find_cpu0_fdt, false); 549 if (cores > 0) { 550 cores = MIN(cores, MAXCPU); 552 printf("Found %d CPUs in the device tree\n", cores); 553 mp_ncpus = cores; 554 mp_maxid = cores - 1;
|
/freebsd-11-stable/sys/modules/bhnd/ |
H A D | Makefile | 22 cores \
|
/freebsd-11-stable/sys/modules/bhnd/cores/bhnd_pcib/ |
H A D | Makefile | 1 # $FreeBSD: stable/11/sys/modules/bhnd/cores/bhnd_pcib/Makefile 319182 2017-05-30 04:11:12Z ngie $ 3 .PATH: ${SRCTOP}/sys/dev/bhnd/cores/pci 4 .PATH: ${SRCTOP}/sys/dev/bhnd/cores/pcie2
|
/freebsd-11-stable/sys/modules/bhnd/cores/bhnd_pci_hostb/ |
H A D | Makefile | 1 # $FreeBSD: stable/11/sys/modules/bhnd/cores/bhnd_pci_hostb/Makefile 319182 2017-05-30 04:11:12Z ngie $ 3 .PATH: ${SRCTOP}/sys/dev/bhnd/cores/pci 4 .PATH: ${SRCTOP}/sys/dev/bhnd/cores/pcie2
|
/freebsd-11-stable/sys/modules/bhnd/cores/bhnd_pci/ |
H A D | Makefile | 1 # $FreeBSD: stable/11/sys/modules/bhnd/cores/bhnd_pci/Makefile 319182 2017-05-30 04:11:12Z ngie $ 3 .PATH: ${SRCTOP}/sys/dev/bhnd/cores/pci 4 .PATH: ${SRCTOP}/sys/dev/bhnd/cores/pcie2
|
/freebsd-11-stable/tools/tools/netrate/tcpp/ |
H A D | parallelism.csh | 13 set cores=8 20 foreach core (`jot $cores`)
|
/freebsd-11-stable/sys/riscv/riscv/ |
H A D | mp_machdep.c | 425 /* Introduce rest of cores to the world */ 435 int cores; local 437 cores = ofw_cpu_early_foreach(NULL, false); 438 if (cores > 0) { 439 cores = MIN(cores, MAXCPU); 441 printf("Found %d CPUs in the device tree\n", cores); 442 mp_ncpus = cores; 443 mp_maxid = cores - 1;
|
/freebsd-11-stable/sys/mips/broadcom/ |
H A D | uart_cpu_chipc.c | 42 #include <dev/bhnd/cores/chipc/chipcreg.h>
|
/freebsd-11-stable/sys/modules/bhnd/cores/bhnd_chipc/ |
H A D | Makefile | 3 .PATH: ${.CURDIR}/../../../../dev/bhnd/cores/chipc
|
/freebsd-11-stable/sys/dev/bfe/ |
H A D | if_bfe.c | 858 bfe_pci_setup(struct bfe_softc *sc, u_int32_t cores) argument 867 val |= cores;
|
/freebsd-11-stable/sys/dev/bhnd/bcma/ |
H A D | bcma_erom.c | 48 * Provides auto-discovery of BCMA cores on Broadcom's HND SoC. 495 * Parse all cores descriptors from @p erom and return the array 496 * in @p cores and the count in @p num_cores. The current EROM read position 500 * `free(*cores, M_BHND)`. @p cores and @p num_cores are not changed 504 * @param[out] cores the table of parsed core descriptors. 505 * @param[out] num_cores the number of core records in @p cores. 509 struct bhnd_core_info **cores, 576 *cores = buffer; 508 bcma_erom_get_core_info(struct bcma_erom *erom, struct bhnd_core_info **cores, u_int *num_cores) argument
|
H A D | bcma_eromvar.h | 98 struct bhnd_core_info **cores,
|
H A D | bcma_nexus.c | 47 #include <dev/bhnd/cores/chipc/chipcreg.h>
|