Lines Matching refs:t
401 struct esas2r_target *t; in csmi_ioctl_callback() local
538 t = esas2r_targ_db_find_by_sas_addr(a, (u64 *)gsa->sas_addr); in csmi_ioctl_callback()
541 if (t == NULL) { in csmi_ioctl_callback()
548 rq->target_id = esas2r_targ_get_id(t, a); in csmi_ioctl_callback()
557 t = a->targetdb + rq->target_id; in csmi_ioctl_callback()
559 if (t >= a->targetdb_end in csmi_ioctl_callback()
560 || t->target_state != TS_PRESENT in csmi_ioctl_callback()
561 || t->sas_addr == 0) { in csmi_ioctl_callback()
567 *(u64 *)gda->sas_addr = t->sas_addr; in csmi_ioctl_callback()
576 t = a->targetdb + rq->target_id; in csmi_ioctl_callback()
578 if (t >= a->targetdb_end in csmi_ioctl_callback()
579 || t->target_state != TS_PRESENT in csmi_ioctl_callback()
580 || !(t->flags & TF_PASS_THRU)) { in csmi_ioctl_callback()
587 t->phys_targ_id)) { in csmi_ioctl_callback()
1060 struct esas2r_target *t; in hba_ioctl_callback() local
1080 t = a->targetdb + (u16)gda->target_id; in hba_ioctl_callback()
1082 if (t->target_state != TS_PRESENT) { in hba_ioctl_callback()
1085 if (t->sas_addr == 0) { in hba_ioctl_callback()
1088 *(u64 *)gda->address = t->sas_addr; in hba_ioctl_callback()
1156 struct esas2r_target *t; in hba_ioctl_callback() local
1176 t = a->targetdb + (u16)gdi->target_id; in hba_ioctl_callback()
1184 if (t->target_state != TS_PRESENT) { in hba_ioctl_callback()