Searched defs:max_ncpus (Results 1 - 5 of 5) sorted by relevance

/illumos-gate/usr/src/lib/libzpool/common/sys/
H A Dzfs_context.h283 #define max_ncpus 64 macro
297 #define CPU_SEQID (thr_self() & (max_ncpus - 1))
/illumos-gate/usr/src/cmd/mdb/common/modules/dtrace/
H A Ddtrace.c842 int max_ncpus; local
855 if (mdb_readvar(&max_ncpus, "max_ncpus") == -1) {
856 mdb_warn("failed to read 'max_ncpus'");
860 return (max_ncpus);
/illumos-gate/usr/src/uts/common/os/
H A Dcpu.c120 * max_ncpus keeps the max cpus the system can have. Initially
125 int max_ncpus = NCPU; variable
127 * platforms that set max_ncpus to maxiumum number of cpus that can be
1728 tbl = kmem_zalloc(sizeof (struct cpu *) * max_ncpus, KM_SLEEP);
1818 ASSERT(ncpus < max_ncpus);
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddt_consume.c2757 static int max_ncpus; local
2804 if (max_ncpus == 0)
2805 max_ncpus = dt_sysconf(dtp, _SC_CPUID_MAX) + 1;
2807 for (i = 0; i < max_ncpus; i++) {
2878 static int max_ncpus; local
2895 if (max_ncpus == 0)
2896 max_ncpus = dt_sysconf(dtp, _SC_CPUID_MAX) + 1;
2919 for (i = 0; i < max_ncpus; i++) {
2975 uint64_t *drops = alloca(max_ncpus * sizeof (uint64_t));
2980 bzero(drops, max_ncpus * sizeo
[all...]
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dgenunix.c767 int max_ncpus; local
777 if (mdb_readvar(&max_ncpus, "max_ncpus") == -1) {
781 cot_walk_data->cotsize = CALLOUT_NTYPES * max_ncpus;
3024 int max_ncpus, i = 0; local
3032 if (mdb_readvar(&max_ncpus, "max_ncpus") == -1) {
3033 mdb_warn("failed to read 'max_ncpus'");
3063 mdb_zalloc((max_ncpus + 1) * sizeof (uintptr_t), UM_SLEEP | UM_GC);

Completed in 194 milliseconds