Searched refs:max_ncpus (Results 1 – 8 of 8) sorted by relevance
| /f-stack/freebsd/contrib/openzfs/module/zfs/ |
| H A D | txg.c | 126 tx->tx_cpu = vmem_zalloc(max_ncpus * sizeof (tx_cpu_t), KM_SLEEP); in txg_init() 128 for (c = 0; c < max_ncpus; c++) { in txg_init() 173 for (c = 0; c < max_ncpus; c++) { in txg_fini() 187 vmem_free(tx->tx_cpu, max_ncpus * sizeof (tx_cpu_t)); in txg_fini() 375 for (c = 0; c < max_ncpus; c++) in txg_quiesce() 389 for (c = 0; c < max_ncpus; c++) in txg_quiesce() 398 for (c = 0; c < max_ncpus; c++) { in txg_quiesce() 432 for (c = 0; c < max_ncpus; c++) { in txg_dispatch_callbacks()
|
| H A D | spa.c | 1586 for (int i = 0; i < max_ncpus; i++) in spa_unload() 1588 kmem_free(spa->spa_async_zio_root, max_ncpus * sizeof (void *)); in spa_unload() 3301 spa->spa_async_zio_root = kmem_alloc(max_ncpus * sizeof (void *), 3303 for (int i = 0; i < max_ncpus; i++) { 5738 spa->spa_async_zio_root = kmem_alloc(max_ncpus * sizeof (void *), 5740 for (int i = 0; i < max_ncpus; i++) {
|
| H A D | fm.c | 1626 zfs_zevent_len_max = ERPT_MAX_ERRS * MAX(max_ncpus, 4); in fm_init()
|
| /f-stack/freebsd/contrib/openzfs/module/os/freebsd/zfs/ |
| H A D | vdev_file.c | 49 vdev_file_taskq = taskq_create("z_vdev_file", MAX(max_ncpus, 16), in vdev_file_init() 50 minclsyspri, max_ncpus, INT_MAX, 0); in vdev_file_init()
|
| /f-stack/freebsd/contrib/openzfs/include/os/freebsd/spl/sys/ |
| H A D | proc.h | 49 #define max_ncpus (mp_maxid + 1) macro
|
| /f-stack/freebsd/contrib/openzfs/include/os/linux/spl/sys/ |
| H A D | sysmacros.h | 76 #define max_ncpus num_possible_cpus() macro
|
| /f-stack/freebsd/contrib/openzfs/include/sys/ |
| H A D | zfs_context.h | 618 #define max_ncpus 64 628 #define CPU_SEQID ((uintptr_t)pthread_self() & (max_ncpus - 1))
|
| /f-stack/freebsd/contrib/openzfs/cmd/zdb/ |
| H A D | zdb.c | 6242 for (c = 0; c < max_ncpus; c++) { in dump_block_stats()
|