Lines Matching defs:errorscrub_phys
528 ERRORSCRUB_PHYS_NUMINTS, &scn->errorscrub_phys);
694 dsl_errorscrub_phys_t *errorscrub_phys = &dp->dp_scan->errorscrub_phys;
696 return (errorscrub_phys->dep_state == DSS_ERRORSCRUBBING &&
697 errorscrub_phys->dep_func == POOL_SCAN_ERRORSCRUB);
704 scn->errorscrub_phys.dep_paused_flags);
717 scn->errorscrub_phys.dep_cursor =
723 &scn->errorscrub_phys, tx));
738 memset(&scn->errorscrub_phys, 0, sizeof (scn->errorscrub_phys));
739 scn->errorscrub_phys.dep_func = *funcp;
740 scn->errorscrub_phys.dep_state = DSS_ERRORSCRUBBING;
741 scn->errorscrub_phys.dep_start_time = gethrestime_sec();
742 scn->errorscrub_phys.dep_to_examine = spa_get_last_errlog_size(spa);
743 scn->errorscrub_phys.dep_examined = 0;
744 scn->errorscrub_phys.dep_errors = 0;
745 scn->errorscrub_phys.dep_cursor = 0;
748 scn->errorscrub_phys.dep_cursor);
876 memset(&scn->errorscrub_phys, 0, sizeof (scn->errorscrub_phys));
1067 scn->errorscrub_phys.dep_state = complete ? DSS_FINISHED : DSS_CANCELED;
1070 scn->errorscrub_phys.dep_end_time = gethrestime_sec();
1269 scn->errorscrub_phys.dep_paused_flags = B_TRUE;
1285 scn->errorscrub_phys.dep_paused_flags = B_FALSE;
1290 scn->errorscrub_phys.dep_cursor);
4056 scn->errorscrub_phys.dep_examined++;
4057 scn->errorscrub_phys.dep_to_examine--;
4136 scn->errorscrub_phys.dep_examined++;
4137 scn->errorscrub_phys.dep_to_examine--;
4226 scn->errorscrub_phys.dep_examined += 1;
4227 scn->errorscrub_phys.dep_to_examine -= 1;
4883 ->errorscrub_phys.dep_errors);