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.h186 uint_t stqs_count; member
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dspa.c1290 tqs->stqs_count = 0; in spa_taskqs_init()
1302 tqs->stqs_count = count; in spa_taskqs_init()
1347 ASSERT0(tqs->stqs_count); in spa_taskqs_fini()
1351 for (uint_t i = 0; i < tqs->stqs_count; i++) { in spa_taskqs_fini()
1356 kmem_free(tqs->stqs_taskq, tqs->stqs_count * sizeof (taskq_t *)); in spa_taskqs_fini()
1697 ASSERT3U(tqs->stqs_count, !=, 0); in spa_taskq_dispatch()
1707 if (tqs->stqs_count == 1) { in spa_taskq_dispatch()
1711 tq = tqs->stqs_taskq[zio->io_allocator % tqs->stqs_count]; in spa_taskq_dispatch()
1713 tq = tqs->stqs_taskq[((uint64_t)gethrtime()) % tqs->stqs_count]; in spa_taskq_dispatch()
H A Dzio.c2241 if (spa->spa_zio_taskq[t][q + 1].stqs_count != 0) in zio_taskq_dispatch_func()
2268 for (i = 0; i < tqs->stqs_count; i++) { in zio_taskq_member()