Searched refs:scn_phys (Results 1 – 4 of 4) sorted by relevance
77 ((scn)->scn_phys.scn_func == POOL_SCAN_SCRUB || \78 (scn)->scn_phys.scn_func == POOL_SCAN_RESILVER)132 &scn->scn_phys.scn_queue_obj); in dsl_scan_init()136 &scn->scn_phys); in dsl_scan_init()142 if (scn->scn_phys.scn_state == DSS_SCANNING && in dsl_scan_init()177 if (scn->scn_phys.scn_state == DSS_SCANNING) in dsl_scan_setup_check()192 ASSERT(scn->scn_phys.scn_state != DSS_SCANNING); in dsl_scan_setup_sync()194 bzero(&scn->scn_phys, sizeof (scn->scn_phys)); in dsl_scan_setup_sync()195 scn->scn_phys.scn_func = *funcp; in dsl_scan_setup_sync()196 scn->scn_phys.scn_state = DSS_SCANNING; in dsl_scan_setup_sync()[all …]
1998 if (scn == NULL || scn->scn_phys.scn_func == POOL_SCAN_NONE) in spa_scan_get_stats()2003 ps->pss_func = scn->scn_phys.scn_func; in spa_scan_get_stats()2004 ps->pss_start_time = scn->scn_phys.scn_start_time; in spa_scan_get_stats()2005 ps->pss_end_time = scn->scn_phys.scn_end_time; in spa_scan_get_stats()2006 ps->pss_to_examine = scn->scn_phys.scn_to_examine; in spa_scan_get_stats()2007 ps->pss_examined = scn->scn_phys.scn_examined; in spa_scan_get_stats()2008 ps->pss_to_process = scn->scn_phys.scn_to_process; in spa_scan_get_stats()2009 ps->pss_processed = scn->scn_phys.scn_processed; in spa_scan_get_stats()2010 ps->pss_errors = scn->scn_phys.scn_errors; in spa_scan_get_stats()2011 ps->pss_state = scn->scn_phys.scn_state; in spa_scan_get_stats()
1765 ASSERT0(scn->scn_phys.scn_errors); in vdev_dtl_should_excise()1779 if (vdev_dtl_max(vd) <= scn->scn_phys.scn_max_txg) { in vdev_dtl_should_excise()1780 ASSERT3U(scn->scn_phys.scn_min_txg, <=, vdev_dtl_min(vd)); in vdev_dtl_should_excise()1781 ASSERT3U(scn->scn_phys.scn_min_txg, <, vd->vdev_resilver_txg); in vdev_dtl_should_excise()1782 ASSERT3U(vd->vdev_resilver_txg, <=, scn->scn_phys.scn_max_txg); in vdev_dtl_should_excise()1820 (scn != NULL && scn->scn_phys.scn_errors == 0)) && in vdev_dtl_reassess()2765 dsl_scan_phys_t *scn_phys = in vdev_stat_update() local2766 &spa->spa_dsl_pool->dp_scan->scn_phys; in vdev_stat_update()2767 uint64_t *processed = &scn_phys->scn_processed; in vdev_stat_update()
122 dsl_scan_phys_t scn_phys; member