Lines Matching refs:t
944 struct esas2r_target *t = NULL; in esas2r_disc_passthru_dev_addr_cb() local
974 t = esas2r_targ_db_add_pthru(a, in esas2r_disc_passthru_dev_addr_cb()
983 if (t) in esas2r_disc_passthru_dev_addr_cb()
984 memcpy(&t->sas_addr, &dc->sas_addr, in esas2r_disc_passthru_dev_addr_cb()
985 sizeof(t->sas_addr)); in esas2r_disc_passthru_dev_addr_cb()
1049 struct esas2r_target *t; in esas2r_disc_dev_remove() local
1056 for (t = a->targetdb; t < a->targetdb_end; t++) { in esas2r_disc_dev_remove()
1057 if (t->new_target_state != TS_NOT_PRESENT) in esas2r_disc_dev_remove()
1060 t->new_target_state = TS_INVALID; in esas2r_disc_dev_remove()
1066 esas2r_targ_get_id(t, in esas2r_disc_dev_remove()
1088 struct esas2r_target *t = dc->curr_targ; in esas2r_disc_dev_add() local
1090 if (t >= a->targetdb_end) { in esas2r_disc_dev_add()
1094 } else if (t->new_target_state == TS_PRESENT) { in esas2r_disc_dev_add()
1095 struct atto_vda_ae_lu *luevt = &t->lu_event; in esas2r_disc_dev_add()
1101 t->new_target_state = TS_INVALID; in esas2r_disc_dev_add()
1105 dc->curr_virt_id = esas2r_targ_get_id(t, a); in esas2r_disc_dev_add()
1162 struct esas2r_target *t; in esas2r_disc_fix_curr_requests() local
1173 t = a->targetdb + rq->target_id; in esas2r_disc_fix_curr_requests()
1175 if (t->target_state == TS_PRESENT) in esas2r_disc_fix_curr_requests()
1177 t->virt_targ_id); in esas2r_disc_fix_curr_requests()