Searched refs:ncpus (Results 26 - 38 of 38) sorted by relevance

12

/freebsd-11-stable/sys/kern/
H A Dsubr_smp.c508 int curcpumap, i, ncpus = 0; local
525 ncpus++;
527 if (ncpus == 0)
528 panic("ncpus is 0 with non-zero map");
533 smp_rv_ncpus = ncpus;
566 while (atomic_load_acq_int(&smp_rv_waiters[3]) < ncpus)
/freebsd-11-stable/sys/net/
H A Drss_config.c119 SYSCTL_INT(_net_inet_rss, OID_AUTO, ncpus, CTLFLAG_RD, &rss_ncpus, 0,
/freebsd-11-stable/sys/xen/interface/arch-x86/
H A Dxen-mca.h382 uint32_t ncpus; member in struct:xen_mc_physcpuinfo
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/lockstat/
H A Dlockstat.c1127 long ncpus; local
1393 if ((ncpus = sysconf(_SC_NPROCESSORS_ONLN)) == -1)
1403 if ((aggsize = (g_nrecs * g_recsize * 2) / ncpus) < MIN_AGGSIZE)
1426 (void) sprintf(aggstr, "%ldm", ncpus < 32 ? ncpus : 32);
/freebsd-11-stable/contrib/top/
H A Ddisplay.c176 num_cpus = statics->ncpus;
222 lcpustates = (int *)malloc(num_cpustates * sizeof(int) * statics->ncpus);
/freebsd-11-stable/sys/dev/hwpmc/
H A Dhwpmc_piv.c1612 pmc_p4_initialize(struct pmc_mdep *md, int ncpus) argument
1624 p4_pcpu = malloc(sizeof(*p4_pcpu) * ncpus, M_PMC, M_ZERO | M_WAITOK);
1683 int i, ncpus; local
1690 ncpus = pmc_cpu_max();
1691 for (i = 0; i < ncpus; i++)
/freebsd-11-stable/contrib/jemalloc/include/jemalloc/internal/
H A Dprivate_namespace.h350 #define ncpus JEMALLOC_N(ncpus) macro
H A Djemalloc_internal.h444 extern unsigned ncpus;
/freebsd-11-stable/contrib/jemalloc/src/
H A Dstats.c542 malloc_cprintf(write_cb, cbopaque, "CPUs: %u\n", ncpus);
H A Djemalloc.c52 unsigned ncpus; variable
1338 ncpus = malloc_ncpus();
1367 if (ncpus > 1)
1368 opt_narenas = ncpus << 2;
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/sys/
H A Dcpuvar.h85 processorid_t cpu_seqid; /* sequential CPU id (0..ncpus-1) */
553 extern int ncpus; /* number of CPUs present */
555 extern int max_ncpus; /* max present before ncpus is known */
736 * The mutex cpu_lock protects cpu_flags for all CPUs, as well as the ncpus
/freebsd-11-stable/tools/tools/netmap/
H A Dpkt-gen.c572 int ncpus; local
576 sysctl(mib, 2, &ncpus, &len, NULL, 0);
578 ncpus = sysconf(_SC_NPROCESSORS_ONLN);
583 ncpus = sysinfo.dwNumberOfProcessors;
586 ncpus = 1;
588 return (ncpus);
/freebsd-11-stable/sys/vm/
H A Duma_core.c1221 u_int ncpus = (mp_maxid + 1) ? (mp_maxid + 1) : MAXCPU; local
1224 keg->uk_ppera = howmany(ncpus * sizeof(struct pcpu),

Completed in 302 milliseconds

12