/freebsd/sys/dev/bhnd/siba/ |
H A D | siba_erom.c | 55 struct bhnd_erom_io *eio, u_int ncores); 74 u_int ncores; /**< core count */ member 152 _Static_assert((2^sizeof(cid->ncores)) <= SIBA_MAX_CORES, in siba_erom_probe() 170 cid->ncores * SIBA_CORE_SIZE); in siba_erom_init() 173 cid->ncores, error); in siba_erom_init() 178 return (siba_eio_init(&sc->io, eio, cid->ncores)); in siba_erom_init() 192 siba_eio_init(struct siba_erom_io *io, struct bhnd_erom_io *eio, u_int ncores) in siba_eio_init() argument 195 io->ncores = ncores; in siba_eio_init() 211 if (core_idx >= io->ncores) in siba_eio_read_4() 213 io->ncores); in siba_eio_read_4() [all …]
|
H A D | siba.c | 1299 cores = malloc(sizeof(*cores) * cid->ncores, M_BHND, M_WAITOK); in siba_add_children() 1300 children = malloc(sizeof(*children) * cid->ncores, M_BHND, in siba_add_children() 1312 for (u_int i = 0; i < cid->ncores; i++) { in siba_add_children() 1349 for (u_int i = 0; i < cid->ncores; i++) { in siba_add_children()
|
/freebsd/sys/arm/annapurna/alpine/ |
H A D | alpine_machdep_mp.c | 92 static int ncores = 0; in platform_mp_get_core_cnt() local 97 if (ncores) in platform_mp_get_core_cnt() 98 return (ncores); in platform_mp_get_core_cnt() 101 ncores = CPUV7_L2CTLR_NPROC(reg); in platform_mp_get_core_cnt() 106 if ((nchilds > 0) && (nchilds < ncores)) { in platform_mp_get_core_cnt() 108 nchilds, ncores); in platform_mp_get_core_cnt() 109 ncores = nchilds; in platform_mp_get_core_cnt() 112 return (ncores); in platform_mp_get_core_cnt()
|
/freebsd/sys/powerpc/pseries/ |
H A D | platform_chrp.c | 537 int i, ncores; in chrp_smp_probe_threads() local 539 ncores = 0; in chrp_smp_probe_threads() 546 ncores++; in chrp_smp_probe_threads() 550 mp_ncores = ncores; in chrp_smp_probe_threads() 551 if (mp_ncpus % ncores == 0) in chrp_smp_probe_threads() 552 smp_threads_per_core = mp_ncpus / ncores; in chrp_smp_probe_threads()
|
/freebsd/sys/dev/bhnd/bhndb/ |
H A D | bhndb_pci.c | 112 struct bhnd_core_info **cores, u_int *ncores); 170 u_int ncores; /**< number of cores */ member 360 u_int ncores; in bhndb_pci_attach() local 442 error = bhndb_pci_probe_copy_core_table(probe, &cores, &ncores); in bhndb_pci_attach() 452 error = bhndb_attach(dev, &cid, cores, ncores, &hostb_core, erom_class); in bhndb_pci_attach() 1352 error = bhnd_erom_get_core_table(p->erom, &p->cores, &p->ncores); in bhndb_pci_probe_alloc() 1362 error = bhndb_find_hostb_core(p->cores, p->ncores, hostb_devclass, in bhndb_pci_probe_alloc() 1428 struct bhnd_core_info **cores, u_int *ncores) in bhndb_pci_probe_copy_core_table() argument 1430 size_t len = sizeof(**cores) * probe->ncores; in bhndb_pci_probe_copy_core_table() 1435 *ncores = probe->ncores; in bhndb_pci_probe_copy_core_table()
|
H A D | bhndbvar.h | 64 struct bhnd_core_info *cores, u_int ncores, 82 struct bhnd_core_info *cores, u_int ncores,
|
H A D | bhndb.c | 80 struct bhnd_core_info *cores, u_int ncores, 86 struct bhnd_core_info *cores, u_int ncores, 90 struct bhnd_core_info *cores, u_int ncores, 186 u_int ncores, const struct bhndb_hw *hw) in bhndb_hw_matches() argument 195 for (u_int d = 0; d < ncores; d++) { in bhndb_hw_matches() 229 struct bhndb_resources *br, struct bhnd_core_info *cores, u_int ncores, in bhndb_init_region_cfg() argument 247 for (u_int i = 0; i < ncores; i++) { in bhndb_init_region_cfg() 338 for (u_int i = 0; i < ncores; i++) { in bhndb_init_region_cfg() 471 u_int ncores, const struct bhndb_hw **hw) in bhndb_find_hwspec() argument 478 if (!bhndb_hw_matches(sc, cores, ncores, next)) in bhndb_find_hwspec() [all …]
|
H A D | bhndb_subr.c | 798 bhndb_find_hostb_core(struct bhnd_core_info *cores, u_int ncores, in bhndb_find_hostb_core() argument 815 for (u_int i = 0; i < ncores; i++) { in bhndb_find_hostb_core()
|
/freebsd/sys/powerpc/powernv/ |
H A D | platform_powernv.c | 510 int cpuid, i, j, k, ncores; in powernv_smp_topo() 528 ncores = CPU_COUNT(&domcpus) / smp_threads_per_core; in powernv_smp_topo() 533 core = cpu_group_init(dom, root, &domcpus, ncores, CG_SHARE_L3, in powernv_smp_topo() 535 for (j = 0; j < ncores; j++, core++) { in powernv_smp_topo() 504 int cpuid, i, j, k, ncores; powernv_smp_topo() local
|
/freebsd/contrib/llvm-project/openmp/runtime/src/ |
H A D | kmp_affinity.cpp | 779 int ncores = get_count(core_level); in print() local 801 KMP_INFORM(TopologyGeneric, env_var, buf.str, ncores); in print() 810 int ncores = get_ncores_with_attr(attr); in print() local 811 if (ncores > 0) { in print() 812 KMP_INFORM(TopologyHybrid, env_var, ncores, in print() 966 int nthreads_per_core, int ncores) { in canonicalize() 975 count[1] = ncores; in canonicalize() 4826 int ncores = __kmp_affinity_compute_ncores(__kmp_avail_proc, depth - 1, in __kmp_aux_affinity_initialize() local 4831 int nproc = ncores * maxprocpercore; in __kmp_aux_affinity_initialize() 5472 int ncores = __kmp_ncores; in __kmp_balanced_affinity() local [all …]
|
/freebsd/sys/x86/x86/ |
H A D | mp_x86.c | 836 int ncores; in x86topo_add_sched_group() local 858 ncores = 0; in x86topo_add_sched_group() 866 ncores++; in x86topo_add_sched_group() 871 root->cpu_count > 1 && ncores < 2) in x86topo_add_sched_group()
|
/freebsd/sys/dev/bhnd/ |
H A D | bhnd_erom.c | 290 cid->ncores = CHIPC_GET_BITS(idreg, CHIPC_ID_NUMCORE); in bhnd_erom_read_chipid()
|
H A D | bhnd.h | 222 uint8_t ncores; /**< number of cores, if known. 0 if member
|
/freebsd/sys/kern/ |
H A D | kern_sig.c | 3778 SYSCTL_PROC(_debug, OID_AUTO, ncores, 3855 int indexlen, int ncores, struct vnode **vpp) in corefile_open_last() argument 3869 for (i = 0; i < ncores; i++) { in corefile_open_last() 3958 int cmode, error, flags, i, indexpos, indexlen, oflags, ncores; in corefile_open() local 3965 ncores = num_cores; in corefile_open() 3992 sbuf_printf(&sb, "%u", ncores - 1); in corefile_open() 4036 error = corefile_open_last(td, name, indexpos, indexlen, ncores, in corefile_open()
|
/freebsd/sys/conf/ |
H A D | NOTES | 605 # This core file limit can be adjusted at runtime via the debug.ncores
|
/freebsd/ |
H A D | UPDATING | 1383 debug.ncores sysctl. The '%I' format is replaced by the single digit
|