Searched refs:scn_phys (Results 1 – 4 of 4) sorted by relevance
76 ((scn)->scn_phys.scn_func == POOL_SCAN_SCRUB || \77 (scn)->scn_phys.scn_func == POOL_SCAN_RESILVER)126 &scn->scn_phys.scn_queue_obj); in dsl_scan_init()130 &scn->scn_phys); in dsl_scan_init()136 if (scn->scn_phys.scn_state == DSS_SCANNING && in dsl_scan_init()171 if (scn->scn_phys.scn_state == DSS_SCANNING) in dsl_scan_setup_check()186 ASSERT(scn->scn_phys.scn_state != DSS_SCANNING); in dsl_scan_setup_sync()188 bzero(&scn->scn_phys, sizeof (scn->scn_phys)); in dsl_scan_setup_sync()189 scn->scn_phys.scn_func = *funcp; in dsl_scan_setup_sync()190 scn->scn_phys.scn_state = DSS_SCANNING; in dsl_scan_setup_sync()[all …]
1990 if (scn == NULL || scn->scn_phys.scn_func == POOL_SCAN_NONE) in spa_scan_get_stats()1995 ps->pss_func = scn->scn_phys.scn_func; in spa_scan_get_stats()1996 ps->pss_start_time = scn->scn_phys.scn_start_time; in spa_scan_get_stats()1997 ps->pss_end_time = scn->scn_phys.scn_end_time; in spa_scan_get_stats()1998 ps->pss_to_examine = scn->scn_phys.scn_to_examine; in spa_scan_get_stats()1999 ps->pss_examined = scn->scn_phys.scn_examined; in spa_scan_get_stats()2000 ps->pss_to_process = scn->scn_phys.scn_to_process; in spa_scan_get_stats()2001 ps->pss_processed = scn->scn_phys.scn_processed; in spa_scan_get_stats()2002 ps->pss_errors = scn->scn_phys.scn_errors; in spa_scan_get_stats()2003 ps->pss_state = scn->scn_phys.scn_state; in spa_scan_get_stats()
1764 ASSERT0(scn->scn_phys.scn_errors); in vdev_dtl_should_excise()1778 if (vdev_dtl_max(vd) <= scn->scn_phys.scn_max_txg) { in vdev_dtl_should_excise()1779 ASSERT3U(scn->scn_phys.scn_min_txg, <=, vdev_dtl_min(vd)); in vdev_dtl_should_excise()1780 ASSERT3U(scn->scn_phys.scn_min_txg, <, vd->vdev_resilver_txg); in vdev_dtl_should_excise()1781 ASSERT3U(vd->vdev_resilver_txg, <=, scn->scn_phys.scn_max_txg); in vdev_dtl_should_excise()1819 (scn != NULL && scn->scn_phys.scn_errors == 0)) && in vdev_dtl_reassess()2755 dsl_scan_phys_t *scn_phys = in vdev_stat_update() local2756 &spa->spa_dsl_pool->dp_scan->scn_phys; in vdev_stat_update()2757 uint64_t *processed = &scn_phys->scn_processed; in vdev_stat_update()
122 dsl_scan_phys_t scn_phys; member