Searched refs:shk (Results 1 – 2 of 2) sorted by relevance
496 shk->size = shk->count * sizeof (kstat_named_t); in spa_tx_assign_init()497 shk->priv = kmem_alloc(shk->size, KM_SLEEP); in spa_tx_assign_init()511 shk->kstat = ksp; in spa_tx_assign_init()515 ksp->ks_data = shk->priv; in spa_tx_assign_init()531 ksp = shk->kstat; in spa_tx_assign_destroy()535 kmem_free(shk->priv, shk->size); in spa_tx_assign_destroy()536 mutex_destroy(&shk->lock); in spa_tx_assign_destroy()577 shk->kstat = ksp; in spa_io_history_init()593 if (shk->kstat) in spa_io_history_destroy()857 shk->kstat = ksp; in spa_state_init()[all …]
526 if (shk->kstat != NULL) { in vdev_queue_io_add()527 mutex_enter(&shk->lock); in vdev_queue_io_add()529 mutex_exit(&shk->lock); in vdev_queue_io_add()543 if (shk->kstat != NULL) { in vdev_queue_io_remove()544 mutex_enter(&shk->lock); in vdev_queue_io_remove()546 mutex_exit(&shk->lock); in vdev_queue_io_remove()581 if (shk->kstat != NULL) { in vdev_queue_pending_add()582 mutex_enter(&shk->lock); in vdev_queue_pending_add()584 mutex_exit(&shk->lock); in vdev_queue_pending_add()606 if (shk->kstat != NULL) { in vdev_queue_pending_remove()[all …]