Lines Matching refs:tr
133 static void g_raid_tr_raid1e_rebuild_abort(struct g_raid_tr_object *tr);
134 static void g_raid_tr_raid1e_maybe_rebuild(struct g_raid_tr_object *tr,
176 g_raid_tr_taste_raid1e(struct g_raid_tr_object *tr, struct g_raid_volume *vol) in g_raid_tr_taste_raid1e() argument
180 trs = (struct g_raid_tr_raid1e_object *)tr; in g_raid_tr_taste_raid1e()
181 if (tr->tro_volume->v_raid_level != G_RAID_VOLUME_RL_RAID1E || in g_raid_tr_taste_raid1e()
182 tr->tro_volume->v_raid_level_qualifier != G_RAID_VOLUME_RLQ_R1EA) in g_raid_tr_taste_raid1e()
374 g_raid_tr_raid1e_rebuild_finish(struct g_raid_tr_object *tr) in g_raid_tr_raid1e_rebuild_finish() argument
379 trs = (struct g_raid_tr_raid1e_object *)tr; in g_raid_tr_raid1e_rebuild_finish()
381 G_RAID_DEBUG1(0, tr->tro_volume->v_softc, in g_raid_tr_raid1e_rebuild_finish()
391 g_raid_tr_raid1e_rebuild_abort(struct g_raid_tr_object *tr) in g_raid_tr_raid1e_rebuild_abort() argument
397 vol = tr->tro_volume; in g_raid_tr_raid1e_rebuild_abort()
398 trs = (struct g_raid_tr_raid1e_object *)tr; in g_raid_tr_raid1e_rebuild_abort()
414 g_raid_unlock_range(tr->tro_volume, in g_raid_tr_raid1e_rebuild_abort()
422 g_raid_tr_raid1e_rebuild_some(struct g_raid_tr_object *tr) in g_raid_tr_raid1e_rebuild_some() argument
432 trs = (struct g_raid_tr_raid1e_object *)tr; in g_raid_tr_raid1e_rebuild_some()
435 vol = tr->tro_volume; in g_raid_tr_raid1e_rebuild_some()
441 g_raid_tr_raid1e_rebuild_finish(tr); in g_raid_tr_raid1e_rebuild_some()
458 g_raid_tr_raid1e_rebuild_abort(tr); in g_raid_tr_raid1e_rebuild_some()
497 g_raid_tr_raid1e_rebuild_start(struct g_raid_tr_object *tr) in g_raid_tr_raid1e_rebuild_start() argument
503 vol = tr->tro_volume; in g_raid_tr_raid1e_rebuild_start()
504 trs = (struct g_raid_tr_raid1e_object *)tr; in g_raid_tr_raid1e_rebuild_start()
550 g_raid_tr_raid1e_rebuild_some(tr); in g_raid_tr_raid1e_rebuild_start()
554 g_raid_tr_raid1e_maybe_rebuild(struct g_raid_tr_object *tr, in g_raid_tr_raid1e_maybe_rebuild() argument
561 vol = tr->tro_volume; in g_raid_tr_raid1e_maybe_rebuild()
562 trs = (struct g_raid_tr_raid1e_object *)tr; in g_raid_tr_raid1e_maybe_rebuild()
578 g_raid_tr_raid1e_rebuild_start(tr); in g_raid_tr_raid1e_maybe_rebuild()
583 g_raid_tr_raid1e_rebuild_abort(tr); in g_raid_tr_raid1e_maybe_rebuild()
591 g_raid_tr_event_raid1e(struct g_raid_tr_object *tr, in g_raid_tr_event_raid1e() argument
595 g_raid_tr_update_state_raid1e(tr->tro_volume, sd); in g_raid_tr_event_raid1e()
600 g_raid_tr_start_raid1e(struct g_raid_tr_object *tr) in g_raid_tr_start_raid1e() argument
605 trs = (struct g_raid_tr_raid1e_object *)tr; in g_raid_tr_start_raid1e()
606 vol = tr->tro_volume; in g_raid_tr_start_raid1e()
613 g_raid_tr_stop_raid1e(struct g_raid_tr_object *tr) in g_raid_tr_stop_raid1e() argument
618 trs = (struct g_raid_tr_raid1e_object *)tr; in g_raid_tr_stop_raid1e()
619 vol = tr->tro_volume; in g_raid_tr_stop_raid1e()
685 g_raid_tr_iostart_raid1e_read(struct g_raid_tr_object *tr, struct bio *bp) in g_raid_tr_iostart_raid1e_read() argument
696 vol = tr->tro_volume; in g_raid_tr_iostart_raid1e_read()
755 g_raid_tr_iostart_raid1e_write(struct g_raid_tr_object *tr, struct bio *bp) in g_raid_tr_iostart_raid1e_write() argument
766 vol = tr->tro_volume; in g_raid_tr_iostart_raid1e_write()
833 g_raid_tr_iostart_raid1e(struct g_raid_tr_object *tr, struct bio *bp) in g_raid_tr_iostart_raid1e() argument
838 vol = tr->tro_volume; in g_raid_tr_iostart_raid1e()
839 trs = (struct g_raid_tr_raid1e_object *)tr; in g_raid_tr_iostart_raid1e()
858 g_raid_tr_raid1e_rebuild_some(tr); in g_raid_tr_iostart_raid1e()
863 g_raid_tr_iostart_raid1e_read(tr, bp); in g_raid_tr_iostart_raid1e()
867 g_raid_tr_iostart_raid1e_write(tr, bp); in g_raid_tr_iostart_raid1e()
871 g_raid_tr_flush_common(tr, bp); in g_raid_tr_iostart_raid1e()
881 g_raid_tr_iodone_raid1e(struct g_raid_tr_object *tr, in g_raid_tr_iodone_raid1e() argument
893 trs = (struct g_raid_tr_raid1e_object *)tr; in g_raid_tr_iodone_raid1e()
894 vol = tr->tro_volume; in g_raid_tr_iodone_raid1e()
902 g_raid_tr_raid1e_rebuild_abort(tr); in g_raid_tr_iodone_raid1e()
943 g_raid_tr_raid1e_rebuild_abort(tr); in g_raid_tr_iodone_raid1e()
948 g_raid_unlock_range(tr->tro_volume, in g_raid_tr_iodone_raid1e()
952 g_raid_tr_raid1e_rebuild_finish(tr); in g_raid_tr_iodone_raid1e()
959 g_raid_tr_raid1e_rebuild_abort(tr); in g_raid_tr_iodone_raid1e()
982 g_raid_tr_raid1e_rebuild_some(tr); in g_raid_tr_iodone_raid1e()
1144 g_raid_tr_kerneldump_raid1e(struct g_raid_tr_object *tr, void *virtual, in g_raid_tr_kerneldump_raid1e() argument
1155 vol = tr->tro_volume; in g_raid_tr_kerneldump_raid1e()
1195 g_raid_tr_locked_raid1e(struct g_raid_tr_object *tr, void *argp) in g_raid_tr_locked_raid1e() argument
1208 g_raid_tr_idle_raid1e(struct g_raid_tr_object *tr) in g_raid_tr_idle_raid1e() argument
1213 vol = tr->tro_volume; in g_raid_tr_idle_raid1e()
1214 trs = (struct g_raid_tr_raid1e_object *)tr; in g_raid_tr_idle_raid1e()
1224 g_raid_tr_raid1e_rebuild_some(tr); in g_raid_tr_idle_raid1e()
1229 g_raid_tr_free_raid1e(struct g_raid_tr_object *tr) in g_raid_tr_free_raid1e() argument
1233 trs = (struct g_raid_tr_raid1e_object *)tr; in g_raid_tr_free_raid1e()