Home
last modified time | relevance | path

Searched refs:stqs_count (Results 1 – 3 of 3) sorted by relevance

/freebsd/sys/contrib/openzfs/include/sys/
H A Dspa_impl.h195 uint_t stqs_count; member
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dspa.c1200 tqs->stqs_count = 0; in spa_taskqs_init()
1212 tqs->stqs_count = count; in spa_taskqs_init()
1272 ASSERT3U(tqs->stqs_count, ==, 0); in spa_taskqs_fini()
1276 for (uint_t i = 0; i < tqs->stqs_count; i++) { in spa_taskqs_fini()
1281 kmem_free(tqs->stqs_taskq, tqs->stqs_count * sizeof (taskq_t *)); in spa_taskqs_fini()
1567 ASSERT3U(tqs->stqs_count, !=, 0); in spa_taskq_dispatch()
1577 if (tqs->stqs_count == 1) { in spa_taskq_dispatch()
1581 tq = tqs->stqs_taskq[zio->io_allocator % tqs->stqs_count]; in spa_taskq_dispatch()
1583 tq = tqs->stqs_taskq[((uint64_t)gethrtime()) % tqs->stqs_count]; in spa_taskq_dispatch()
H A Dzio.c2185 if (spa->spa_zio_taskq[t][q + 1].stqs_count != 0) in zio_taskq_dispatch()
2206 for (i = 0; i < tqs->stqs_count; i++) { in zio_taskq_member()