Searched refs:scn_phys (Results 1 – 5 of 5) sorted by relevance
210 ((scn)->scn_phys.scn_func == POOL_SCAN_SCRUB || \211 (scn)->scn_phys.scn_func == POOL_SCAN_RESILVER)396 return (scn->scn_phys.scn_state == DSS_SCANNING); in dsl_scan_is_running()403 dp->dp_scan->scn_phys.scn_func == POOL_SCAN_RESILVER); in dsl_scan_resilvering()486 &scn->scn_phys.scn_queue_obj); in dsl_scan_init()490 &scn->scn_phys); in dsl_scan_init()516 bcopy(zaptmp, &scn->scn_phys, in dsl_scan_init()518 scn->scn_phys.scn_flags = overflow; in dsl_scan_init()521 if (scn->scn_phys.scn_state == DSS_FINISHED || in dsl_scan_init()522 scn->scn_phys.scn_state == DSS_CANCELED) in dsl_scan_init()[all …]
2413 if (scn == NULL || scn->scn_phys.scn_func == POOL_SCAN_NONE) in spa_scan_get_stats()2418 ps->pss_func = scn->scn_phys.scn_func; in spa_scan_get_stats()2419 ps->pss_state = scn->scn_phys.scn_state; in spa_scan_get_stats()2420 ps->pss_start_time = scn->scn_phys.scn_start_time; in spa_scan_get_stats()2421 ps->pss_end_time = scn->scn_phys.scn_end_time; in spa_scan_get_stats()2422 ps->pss_to_examine = scn->scn_phys.scn_to_examine; in spa_scan_get_stats()2423 ps->pss_to_process = scn->scn_phys.scn_to_process; in spa_scan_get_stats()2424 ps->pss_processed = scn->scn_phys.scn_processed; in spa_scan_get_stats()2425 ps->pss_errors = scn->scn_phys.scn_errors; in spa_scan_get_stats()2426 ps->pss_examined = scn->scn_phys.scn_examined; in spa_scan_get_stats()[all …]
2525 if (vdev_dtl_max(vd) <= scn->scn_phys.scn_max_txg) { in vdev_dtl_should_excise()2526 ASSERT3U(scn->scn_phys.scn_min_txg, <=, vdev_dtl_min(vd)); in vdev_dtl_should_excise()2527 ASSERT3U(scn->scn_phys.scn_min_txg, <, vd->vdev_resilver_txg); in vdev_dtl_should_excise()2528 ASSERT3U(vd->vdev_resilver_txg, <=, scn->scn_phys.scn_max_txg); in vdev_dtl_should_excise()2563 scn->scn_phys.scn_errors = 0; in vdev_dtl_reassess()2574 (u_longlong_t)(scn ? scn->scn_phys.scn_errors : 0)); in vdev_dtl_reassess()2585 (scn != NULL && scn->scn_phys.scn_errors == 0)) && in vdev_dtl_reassess()3942 dsl_scan_phys_t *scn_phys = in vdev_stat_update() local3943 &spa->spa_dsl_pool->dp_scan->scn_phys; in vdev_stat_update()3944 uint64_t *processed = &scn_phys->scn_processed; in vdev_stat_update()
152 dsl_scan_phys_t scn_phys; /* on disk representation of scan */ member
5560 mos_obj_refd(spa->spa_dsl_pool->dp_scan->scn_phys.scn_queue_obj); in dump_mos_leaks()