Lines Matching defs:zi_record

54 	zinject_record_t	zi_record;
115 if (handler->zi_record.zi_type == type &&
116 strcmp(tag, handler->zi_record.zi_func) == 0)
155 if (handler->zi_record.zi_guid != 0 ||
156 handler->zi_record.zi_func[0] != '\0' ||
157 handler->zi_record.zi_duration != 0)
163 &handler->zi_record, error)) {
197 uint64_t start = handler->zi_record.zi_start;
198 uint64_t end = handler->zi_record.zi_end;
201 if (handler->zi_record.zi_start == 0 ||
202 handler->zi_record.zi_func[0] != '\0' ||
203 handler->zi_record.zi_duration != 0)
215 if (zio->io_vd->vdev_guid == handler->zi_record.zi_guid &&
253 if (handler->zi_record.zi_start != 0 ||
254 handler->zi_record.zi_func[0] != '\0' ||
255 handler->zi_record.zi_duration != 0)
258 if (vd->vdev_guid == handler->zi_record.zi_guid) {
259 if (handler->zi_record.zi_failfast &&
267 handler->zi_record.zi_iotype != ZIO_TYPES &&
268 handler->zi_record.zi_iotype != zio->io_type)
271 if (handler->zi_record.zi_error == error) {
285 if (!handler->zi_record.zi_failfast &&
292 if (handler->zi_record.zi_error == ENXIO) {
322 if (handler->zi_record.zi_duration == 0)
329 if (handler->zi_record.zi_timer == 0) {
330 if (handler->zi_record.zi_duration > 0)
331 handler->zi_record.zi_timer = ddi_get_lbolt64();
333 handler->zi_record.zi_timer = zio->io_txg;
362 if (handler->zi_record.zi_duration == 0)
365 if (handler->zi_record.zi_duration > 0) {
366 VERIFY(handler->zi_record.zi_timer == 0 ||
367 handler->zi_record.zi_timer +
368 handler->zi_record.zi_duration * hz >
372 VERIFY(handler->zi_record.zi_timer == 0 ||
373 handler->zi_record.zi_timer -
374 handler->zi_record.zi_duration >=
418 handler->zi_record = *record;
457 *record = handler->zi_record;