Home
last modified time | relevance | path

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

/NextBSD/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/
HDspa_impl.h116 uint_t stqs_count; member
/NextBSD/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
HDspa.c876 tqs->stqs_count = 0; in spa_taskqs_init()
883 tqs->stqs_count = count; in spa_taskqs_init()
950 ASSERT0(tqs->stqs_count); in spa_taskqs_fini()
954 for (uint_t i = 0; i < tqs->stqs_count; i++) { in spa_taskqs_fini()
959 kmem_free(tqs->stqs_taskq, tqs->stqs_count * sizeof (taskq_t *)); in spa_taskqs_fini()
977 ASSERT3U(tqs->stqs_count, !=, 0); in spa_taskq_dispatch_ent()
979 if (tqs->stqs_count == 1) { in spa_taskq_dispatch_ent()
983 tq = tqs->stqs_taskq[cpu_ticks() % tqs->stqs_count]; in spa_taskq_dispatch_ent()
985 tq = tqs->stqs_taskq[gethrtime() % tqs->stqs_count]; in spa_taskq_dispatch_ent()
HDzio.c1392 spa->spa_zio_taskq[t][q + 1].stqs_count != 0) in zio_taskq_dispatch()
1420 for (i = 0; i < tqs->stqs_count; i++) { in zio_taskq_member()