Home
last modified time | relevance | path

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

/freebsd/sys/dev/bhnd/siba/
H A Dsiba_erom.c74 u_int ncores; /**< core count */ member
170 cid->ncores * SIBA_CORE_SIZE); in siba_erom_init()
173 cid->ncores, error); in siba_erom_init()
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()
416 cid->ncores = 6; in siba_eio_read_chipid()
419 cid->ncores = 9; in siba_eio_read_chipid()
433 cid->ncores = 7; in siba_eio_read_chipid()
457 for (u_int i = 0; i < sc->io.ncores; i++) { in siba_erom_lookup_core()
[all …]
H A Dsiba.c1300 cores = malloc(sizeof(*cores) * cid->ncores, M_BHND, M_WAITOK); in siba_add_children()
1301 children = malloc(sizeof(*children) * cid->ncores, M_BHND, in siba_add_children()
1313 for (u_int i = 0; i < cid->ncores; i++) { in siba_add_children()
1350 for (u_int i = 0; i < cid->ncores; i++) { in siba_add_children()
1376 for (u_int i = 0; i < cid->ncores; i++) { in siba_add_children()
/freebsd/sys/arm/annapurna/alpine/
H A Dalpine_machdep_mp.c92 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 Dplatform_chrp.c537 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 Dbhndb_pci.c112 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()
1353 error = bhnd_erom_get_core_table(p->erom, &p->cores, &p->ncores); in bhndb_pci_probe_alloc()
1363 error = bhndb_find_hostb_core(p->cores, p->ncores, hostb_devclass, in bhndb_pci_probe_alloc()
1429 struct bhnd_core_info **cores, u_int *ncores) in bhndb_pci_probe_copy_core_table() argument
1431 size_t len = sizeof(**cores) * probe->ncores; in bhndb_pci_probe_copy_core_table()
1436 *ncores = probe->ncores; in bhndb_pci_probe_copy_core_table()
H A Dbhndbvar.h64 struct bhnd_core_info *cores, u_int ncores,
82 struct bhnd_core_info *cores, u_int ncores,
H A Dbhndb.c80 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()
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()
510 struct bhnd_core_info *cores, u_int ncores, in bhndb_attach() argument
[all …]
H A Dbhndb_subr.c798 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 Dplatform_powernv.c504 int cpuid, i, j, k, ncores; in powernv_smp_topo() local
522 ncores = CPU_COUNT(&domcpus) / smp_threads_per_core; in powernv_smp_topo()
527 core = cpu_group_init(dom, root, &domcpus, ncores, CG_SHARE_L3, in powernv_smp_topo()
529 for (j = 0; j < ncores; j++, core++) { in powernv_smp_topo()
/freebsd/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_affinity.cpp776 int ncores = get_count(core_level); in print() local
808 if (ncores > 0) { in print()
972 count[1] = ncores; in canonicalize()
5456 int ncores = __kmp_ncores; in __kmp_balanced_affinity() local
5459 ncores = nPackages; in __kmp_balanced_affinity()
5462 int chunk = nthreads / ncores; in __kmp_balanced_affinity()
5464 int big_cores = nthreads % ncores; in __kmp_balanced_affinity()
5528 } else if (nthreads <= ncores) { in __kmp_balanced_affinity()
5531 for (int i = 0; i < ncores; i++) { in __kmp_balanced_affinity()
5574 for (int i = 0; i < ncores; i++) { in __kmp_balanced_affinity()
[all …]
/freebsd/sys/x86/x86/
H A Dmp_x86.c836 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 Dbhnd_erom.c290 cid->ncores = CHIPC_GET_BITS(idreg, CHIPC_ID_NUMCORE); in bhnd_erom_read_chipid()
H A Dbhnd.h222 uint8_t ncores; /**< number of cores, if known. 0 if member
/freebsd/sys/kern/
H A Dkern_sig.c3788 SYSCTL_PROC(_debug, OID_AUTO, ncores,
3865 int indexlen, int ncores, struct vnode **vpp) in corefile_open_last() argument
3879 for (i = 0; i < ncores; i++) { in corefile_open_last()
3968 int cmode, error, flags, i, indexpos, indexlen, oflags, ncores; in corefile_open() local
3975 ncores = num_cores; in corefile_open()
4002 sbuf_printf(&sb, "%u", ncores - 1); in corefile_open()
4046 error = corefile_open_last(td, name, indexpos, indexlen, ncores, in corefile_open()
/freebsd/
H A DUPDATING1278 debug.ncores sysctl. The '%I' format is replaced by the single digit
/freebsd/sys/conf/
H A DNOTES607 # This core file limit can be adjusted at runtime via the debug.ncores