Searched refs:max_ncpus (Results 1 - 10 of 10) sorted by relevance

/freebsd-11-stable/sys/cddl/compat/opensolaris/sys/
H A Dproc.h48 #define max_ncpus (mp_maxid + 1) macro
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dtxg.c129 tx->tx_cpu = kmem_zalloc(max_ncpus * sizeof (tx_cpu_t), KM_SLEEP);
131 for (c = 0; c < max_ncpus; c++) {
176 for (c = 0; c < max_ncpus; c++) {
190 kmem_free(tx->tx_cpu, max_ncpus * sizeof (tx_cpu_t));
367 for (c = 0; c < max_ncpus; c++)
381 for (c = 0; c < max_ncpus; c++)
387 for (c = 0; c < max_ncpus; c++) {
421 for (c = 0; c < max_ncpus; c++) {
438 max_ncpus, minclsyspri, max_ncpus, max_ncpu
[all...]
H A Dvdev_file.c44 vdev_file_taskq = taskq_create("z_vdev_file", MAX(max_ncpus, 16),
45 minclsyspri, max_ncpus, INT_MAX, 0);
H A Dmultilist.c109 num_sublists = MAX(max_ncpus, 4);
H A Dspa.c1426 for (int i = 0; i < max_ncpus; i++)
1428 kmem_free(spa->spa_async_zio_root, max_ncpus * sizeof (void *));
2491 spa->spa_async_zio_root = kmem_alloc(max_ncpus * sizeof (void *),
2493 for (int i = 0; i < max_ncpus; i++) {
4791 spa->spa_async_zio_root = kmem_alloc(max_ncpus * sizeof (void *),
4793 for (int i = 0; i < max_ncpus; i++) {
/freebsd-11-stable/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_consume.c3088 static int max_ncpus; local
3135 if (max_ncpus == 0)
3136 max_ncpus = dt_sysconf(dtp, _SC_CPUID_MAX) + 1;
3138 for (i = 0; i < max_ncpus; i++) {
3209 static int max_ncpus; local
3226 if (max_ncpus == 0)
3227 max_ncpus = dt_sysconf(dtp, _SC_CPUID_MAX) + 1;
3250 for (i = 0; i < max_ncpus; i++) {
3306 uint64_t *drops = alloca(max_ncpus * sizeof (uint64_t));
3311 bzero(drops, max_ncpus * sizeo
[all...]
/freebsd-11-stable/cddl/contrib/opensolaris/lib/libzpool/common/sys/
H A Dzfs_context.h563 #define max_ncpus 64 macro
569 #define CPU_SEQID (thr_self() & (max_ncpus - 1))
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/sys/
H A Dcpuvar.h555 extern int max_ncpus; /* max present before ncpus is known */
556 extern int boot_max_ncpus; /* like max_ncpus but for real */
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/os/
H A Dfm.c143 ereport_qlen = ERPT_MAX_ERRS * MAX(max_ncpus, 4);
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/zdb/
H A Dzdb.c3644 for (int i = 0; i < max_ncpus; i++) {

Completed in 228 milliseconds