/freebsd-current/lib/libvmmapi/ |
H A D | vmmapi.h | 265 int vm_set_topology(struct vmctx *ctx, uint16_t sockets, uint16_t cores, 267 int vm_get_topology(struct vmctx *ctx, uint16_t *sockets, uint16_t *cores,
|
H A D | vmmapi.c | 1114 uint16_t sockets, uint16_t cores, uint16_t threads, uint16_t maxcpus) 1120 topology.cores = cores; 1128 uint16_t *sockets, uint16_t *cores, uint16_t *threads, uint16_t *maxcpus) 1137 *cores = topology.cores; 1113 vm_set_topology(struct vmctx *ctx, uint16_t sockets, uint16_t cores, uint16_t threads, uint16_t maxcpus) argument 1127 vm_get_topology(struct vmctx *ctx, uint16_t *sockets, uint16_t *cores, uint16_t *threads, uint16_t *maxcpus) argument
|
/freebsd-current/sys/arm64/include/ |
H A D | vmm.h | 170 void vm_get_topology(struct vm *vm, uint16_t *sockets, uint16_t *cores, 172 int vm_set_topology(struct vm *vm, uint16_t sockets, uint16_t cores,
|
/freebsd-current/sys/arm64/vmm/ |
H A D | vmm.c | 157 uint16_t cores; /* (o) num of cores/socket */ member in struct:vm 489 vm->cores = 1; /* XXX backwards compatibility */ 503 vm_get_topology(struct vm *vm, uint16_t *sockets, uint16_t *cores, argument 507 *cores = vm->cores; 519 vm_set_topology(struct vm *vm, uint16_t sockets, uint16_t cores, argument 523 if ((sockets * cores * threads) > vm->maxcpus) 526 vm->cores = cores; [all...] |
H A D | vmm_dev.c | 675 topology->cores, topology->threads, topology->maxcpus); 679 vm_get_topology(sc->vm, &topology->sockets, &topology->cores,
|
/freebsd-current/usr.sbin/bhyve/ |
H A D | smbiostbl.c | 246 uint8_t cores; /* cores per socket */ member in struct:smbios_table_type4 247 uint8_t ecores; /* enabled cores */ 460 0, /* cores per socket (0=unknown) */ 461 0, /* enabled cores per socket (0=unknown) */ 737 /* Revise cores and threads after update to smbios 3.0 */ 739 type4->cores = 0; 741 type4->cores = cpu_cores;
|
H A D | bhyverun.c | 136 set_config_value("cores", "1"); 151 else if (strncmp(cp, "cores=", strlen("cores=")) == 0) 152 set_config_value("cores", cp + strlen("cores=")); 183 * Set the sockets, cores, threads, and guest_cpus variables based on 204 value = get_config_value("cores"); 206 cpu_cores = parse_int_value("cores", value, 1, UINT16_MAX); 221 * Compute sockets * cores * threads avoiding overflow. The 231 errx(4, "Topology (%d sockets, %d cores, 500 uint16_t sockets, cores, threads, maxcpus; local [all...] |
/freebsd-current/sys/dev/bhnd/ |
H A D | bhnd_subr.c | 47 #include <dev/bhnd/cores/chipc/chipcreg.h> 160 /* Derived from inspection of the BCM4331 cores that provide PrimeCell 633 * Find the first core in @p cores that matches @p desc. 635 * @param cores The table to search. 636 * @param num_cores The length of @p cores. 643 bhnd_match_core(const struct bhnd_core_info *cores, u_int num_cores, argument 647 if (bhnd_core_matches(&cores[i], desc)) 648 return &cores[i]; 655 * Find the first core in @p cores with the given @p class. 657 * @param cores Th 665 bhnd_find_core(const struct bhnd_core_info *cores, u_int num_cores, bhnd_devclass_t class) argument [all...] |
H A D | bhnd_erom.c | 50 #include <dev/bhnd/cores/chipc/chipcreg.h>
|
H A D | bhnd.h | 107 * Per-core IOCTL flags common to all bhnd(4) cores. 124 * Per-core IOST flags common to all bhnd(4) cores. 222 uint8_t ncores; /**< number of cores, if known. 0 if 472 const struct bhnd_core_info *cores, 477 const struct bhnd_core_info *cores,
|
H A D | bhnd.c | 41 * networking chipsets containing a common family of Broadcom IP cores, 42 * including an integrated MIPS and/or ARM cores. 66 #include <dev/bhnd/cores/pmu/bhnd_pmu.h>
|
/freebsd-current/sys/dev/bhnd/bcma/ |
H A D | bcma_erom.c | 53 * Provides auto-discovery of BCMA cores on Broadcom's HND SoC. 360 bcma_erom_get_core_table(bhnd_erom_t *erom, struct bhnd_core_info **cores, argument 428 *cores = buffer; 441 bcma_erom_free_core_table(bhnd_erom_t *erom, struct bhnd_core_info *cores) argument 443 free(cores, M_BHND); 686 /* Re-scan preceding cores to determine the unit number. */
|
H A D | bcma.c | 45 #include <dev/bhnd/cores/pmu/bhnd_pmu.h> 649 * Scan the device enumeration ROM table, adding all valid discovered cores to 677 /* Add all cores. */ 704 /* EOF while parsing cores is expected */
|
/freebsd-current/sys/amd64/vmm/ |
H A D | vmm.c | 189 uint16_t cores; /* (o) num of cores/socket */ member in struct:vm 608 vm->cores = cores_per_package; /* XXX backwards compatibility */ 619 vm_get_topology(struct vm *vm, uint16_t *sockets, uint16_t *cores, argument 623 *cores = vm->cores; 635 vm_set_topology(struct vm *vm, uint16_t sockets, uint16_t cores, argument 639 if ((sockets * cores * threads) > vm->maxcpus) 642 vm->cores = cores; [all...] |
H A D | vmm_dev.c | 1052 topology->cores, topology->threads, topology->maxcpus); 1056 vm_get_topology(sc->vm, &topology->sockets, &topology->cores,
|
/freebsd-current/sys/dev/bhnd/cores/pci/ |
H A D | bhnd_pci_hostb.c | 40 * This driver handles all interactions with PCI bridge cores operating in 66 #include <dev/bhnd/cores/chipc/chipc.h> 67 #include <dev/bhnd/cores/chipc/chipcreg.h> 313 * quirks, but prior to probe/attach of any cores, parsing of
|
/freebsd-current/sys/amd64/include/ |
H A D | vmm.h | 234 void vm_get_topology(struct vm *vm, uint16_t *sockets, uint16_t *cores, 236 int vm_set_topology(struct vm *vm, uint16_t sockets, uint16_t cores,
|
H A D | vmm_dev.h | 246 uint16_t cores; member in struct:vm_cpu_topology
|
/freebsd-current/sys/gnu/dev/bwn/phy_n/ |
H A D | if_bwn_phy_n_ppr.c | 69 #include <dev/bhnd/cores/pmu/bhnd_pmu.h>
|
/freebsd-current/sys/dev/bhnd/bhndb/ |
H A D | bhndb_subr.c | 779 * Search @p cores for the core serving as the bhnd host bridge. 789 * @param cores The core table to search. 790 * @param ncores The number of cores in @p cores. 798 bhndb_find_hostb_core(struct bhnd_core_info *cores, u_int ncores, argument 816 if (!bhnd_core_matches(&cores[i], &md)) 823 match = &cores[i];
|
/freebsd-current/sys/contrib/dev/iwlwifi/ |
H A D | iwl-config.h | 476 u8 cores; member in struct:iwl_dev_info
|
/freebsd-current/sys/dev/bhnd/cores/pmu/ |
H A D | bhnd_pmu.c | 51 #include <dev/bhnd/cores/chipc/chipc.h>
|
/freebsd-current/sys/contrib/dev/iwlwifi/pcie/ |
H A D | drv.c | 524 .no_160 = _no_160, .cores = _cores, .rf_id = _rf_id, \ 1254 u8 jacket, u8 rf_id, u8 no_160, u8 cores, u8 rf_step) 1301 if (dev_info->cores != (u8)IWL_CFG_ANY && 1302 dev_info->cores != cores) 1252 iwl_pci_find_dev_info(u16 device, u16 subsystem_device, u16 mac_type, u8 mac_step, u16 rf_type, u8 cdb, u8 jacket, u8 rf_id, u8 no_160, u8 cores, u8 rf_step) argument
|
/freebsd-current/sys/dev/bfe/ |
H A D | if_bfe.c | 859 bfe_pci_setup(struct bfe_softc *sc, u_int32_t cores) argument 867 val |= cores;
|
/freebsd-current/sys/kern/ |
H A D | subr_smp.c | 106 int mp_ncores = -1; /* how many physical cores running */ 107 SYSCTL_INT(_kern_smp, OID_AUTO, cores, CTLFLAG_RD|CTLFLAG_CAPRD, &mp_ncores, 0, 108 "Number of physical cores online"); 1326 * of cores in it and each core has the same number of threads (logical
|