Searched refs:cores (Results 1 - 25 of 34) sorted by relevance

12

/freebsd-11-stable/sys/modules/bhnd/cores/bhnd_pci/
H A DMakefile1 # $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 Dparallelism.csh13 set cores=8
20 foreach core (`jot $cores`)
/freebsd-11-stable/sys/modules/bhnd/cores/bhnd_pci_hostb/
H A DMakefile1 # $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_pcib/
H A DMakefile1 # $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_chipc/
H A DMakefile3 .PATH: ${.CURDIR}/../../../../dev/bhnd/cores/chipc
/freebsd-11-stable/usr.sbin/bhyve/
H A Dbhyverun.h39 extern uint16_t cores, sockets, threads;
H A Dsmbiostbl.c215 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 Dbhyverun.c167 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;
/freebsd-11-stable/sys/amd64/vmm/
H A Dx86.c95 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 Dvmm.c168 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/riscv/riscv/
H A Dmp_machdep.c425 /* 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/dev/bhnd/siba/
H A Dsiba.c42 #include <dev/bhnd/cores/chipc/chipcreg.h>
445 * Scan the core table and add all valid discovered cores to
456 struct bhnd_core_info *cores; local
463 cores = NULL;
467 * Try to determine the number of device cores via the ChipCommon
540 /* Allocate our temporary core table and enumerate all cores */
541 cores = malloc(sizeof(*cores) * chipid->ncores, M_BHND, M_NOWAIT);
542 if (cores == NULL)
545 /* Add all cores
[all...]
H A Dsiba_nexus.c42 #include <dev/bhnd/cores/chipc/chipcreg.h>
/freebsd-11-stable/sys/modules/bhnd/
H A DMakefile22 cores \
/freebsd-11-stable/sys/arm64/arm64/
H A Dmp_machdep.c515 /* 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/dev/bhnd/bcma/
H A Dbcma_eromvar.h98 struct bhnd_core_info **cores,
H A Dbcma_nexus.c47 #include <dev/bhnd/cores/chipc/chipcreg.h>
H A Dbcma_erom.c48 * 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
/freebsd-11-stable/sys/dev/bhnd/bhndb/
H A Dbhndb_pci_sprom.c36 * Provides support for early PCI bridge cores that vend SPROM CSRs
52 #include <dev/bhnd/cores/pci/bhnd_pci_hostbvar.h>
/freebsd-11-stable/sys/dev/bhnd/
H A Dbhnd_nexus.c52 #include <dev/bhnd/cores/chipc/chipcreg.h>
H A Dbhnd_subr.c42 #include <dev/bhnd/cores/chipc/chipcreg.h>
149 /* Derived from inspection of the BCM4331 cores that provide PrimeCell
403 * Find the first core in @p cores that matches @p desc.
405 * @param cores The table to search.
406 * @param num_cores The length of @p cores.
413 bhnd_match_core(const struct bhnd_core_info *cores, u_int num_cores, argument
417 if (bhnd_core_matches(&cores[i], desc))
418 return &cores[i];
426 * Find the first core in @p cores with the given @p class.
428 * @param cores Th
436 bhnd_find_core(const struct bhnd_core_info *cores, u_int num_cores, bhnd_devclass_t class) argument
[all...]
/freebsd-11-stable/sys/mips/broadcom/
H A Duart_cpu_chipc.c42 #include <dev/bhnd/cores/chipc/chipcreg.h>
/freebsd-11-stable/lib/libvmmapi/
H A Dvmmapi.h213 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 Dvmmapi.c1421 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/sys/amd64/include/
H A Dvmm_dev.h221 uint16_t cores; member in struct:vm_cpu_topology

Completed in 225 milliseconds

12