Lines Matching refs:tr
100 g_raid_tr_taste_raid5(struct g_raid_tr_object *tr, struct g_raid_volume *vol) in g_raid_tr_taste_raid5() argument
105 trs = (struct g_raid_tr_raid5_object *)tr; in g_raid_tr_taste_raid5()
106 qual = tr->tro_volume->v_raid_level_qualifier; in g_raid_tr_taste_raid5()
107 if (tr->tro_volume->v_raid_level == G_RAID_VOLUME_RL_RAID4 && in g_raid_tr_taste_raid5()
111 } else if ((tr->tro_volume->v_raid_level == G_RAID_VOLUME_RL_RAID5 || in g_raid_tr_taste_raid5()
112 tr->tro_volume->v_raid_level == G_RAID_VOLUME_RL_RAID5E || in g_raid_tr_taste_raid5()
113 tr->tro_volume->v_raid_level == G_RAID_VOLUME_RL_RAID5EE || in g_raid_tr_taste_raid5()
114 tr->tro_volume->v_raid_level == G_RAID_VOLUME_RL_RAID5R || in g_raid_tr_taste_raid5()
115 tr->tro_volume->v_raid_level == G_RAID_VOLUME_RL_RAID6 || in g_raid_tr_taste_raid5()
116 tr->tro_volume->v_raid_level == G_RAID_VOLUME_RL_RAIDMDF) && in g_raid_tr_taste_raid5()
172 g_raid_tr_event_raid5(struct g_raid_tr_object *tr, in g_raid_tr_event_raid5() argument
176 g_raid_tr_update_state_raid5(tr->tro_volume, sd); in g_raid_tr_event_raid5()
181 g_raid_tr_start_raid5(struct g_raid_tr_object *tr) in g_raid_tr_start_raid5() argument
186 trs = (struct g_raid_tr_raid5_object *)tr; in g_raid_tr_start_raid5()
188 vol = tr->tro_volume; in g_raid_tr_start_raid5()
195 g_raid_tr_stop_raid5(struct g_raid_tr_object *tr) in g_raid_tr_stop_raid5() argument
200 trs = (struct g_raid_tr_raid5_object *)tr; in g_raid_tr_stop_raid5()
201 vol = tr->tro_volume; in g_raid_tr_stop_raid5()
209 g_raid_tr_iostart_raid5_read(struct g_raid_tr_object *tr, struct bio *bp) in g_raid_tr_iostart_raid5_read() argument
220 vol = tr->tro_volume; in g_raid_tr_iostart_raid5_read()
223 lvl = tr->tro_volume->v_raid_level; in g_raid_tr_iostart_raid5_read()
224 qual = tr->tro_volume->v_raid_level_qualifier; in g_raid_tr_iostart_raid5_read()
225 protate = tr->tro_volume->v_rotate_parity; in g_raid_tr_iostart_raid5_read()
233 pdisks = tr->tro_volume->v_mdf_pdisks; in g_raid_tr_iostart_raid5_read()
341 g_raid_tr_iostart_raid5(struct g_raid_tr_object *tr, struct bio *bp) in g_raid_tr_iostart_raid5() argument
345 vol = tr->tro_volume; in g_raid_tr_iostart_raid5()
352 g_raid_tr_iostart_raid5_read(tr, bp); in g_raid_tr_iostart_raid5()
368 g_raid_tr_iodone_raid5(struct g_raid_tr_object *tr, in g_raid_tr_iodone_raid5() argument
385 g_raid_tr_kerneldump_raid5(struct g_raid_tr_object *tr, void *virtual, in g_raid_tr_kerneldump_raid5() argument
393 g_raid_tr_locked_raid5(struct g_raid_tr_object *tr, void *argp) in g_raid_tr_locked_raid5() argument
406 g_raid_tr_free_raid5(struct g_raid_tr_object *tr) in g_raid_tr_free_raid5() argument
410 trs = (struct g_raid_tr_raid5_object *)tr; in g_raid_tr_free_raid5()