Home
last modified time | relevance | path

Searched refs:max_ncpus (Results 1 – 8 of 8) sorted by relevance

/f-stack/freebsd/contrib/openzfs/module/zfs/
H A Dtxg.c126 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 Dspa.c1586 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 Dfm.c1626 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 Dvdev_file.c49 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 Dproc.h49 #define max_ncpus (mp_maxid + 1) macro
/f-stack/freebsd/contrib/openzfs/include/os/linux/spl/sys/
H A Dsysmacros.h76 #define max_ncpus num_possible_cpus() macro
/f-stack/freebsd/contrib/openzfs/include/sys/
H A Dzfs_context.h618 #define max_ncpus 64
628 #define CPU_SEQID ((uintptr_t)pthread_self() & (max_ncpus - 1))
/f-stack/freebsd/contrib/openzfs/cmd/zdb/
H A Dzdb.c6242 for (c = 0; c < max_ncpus; c++) { in dump_block_stats()