Lines Matching refs:t
48 struct esas2r_target *t = NULL; in esas2r_start_request() local
59 t = a->targetdb + rq->target_id; in esas2r_start_request()
61 if (unlikely(t >= a->targetdb_end in esas2r_start_request()
62 || !(t->flags & TF_USED))) { in esas2r_start_request()
66 rq->vrq->scsi.target_id = cpu_to_le16(t->virt_targ_id); in esas2r_start_request()
73 if (unlikely(t->target_state != TS_PRESENT && in esas2r_start_request()
529 struct esas2r_target *t = a->targetdb + rq->target_id; in esas2r_build_sg_list_prd() local
541 && t->target_state == TS_PRESENT in esas2r_build_sg_list_prd()
542 && !(t->flags & TF_PASS_THRU)) { in esas2r_build_sg_list_prd()
594 startlba = t->inter_block - (lbalo & (t->inter_block - in esas2r_build_sg_list_prd()
596 sgc->length = startlba * t->block_size; in esas2r_build_sg_list_prd()
599 if ((lbalo & (t->inter_block - 1)) == 0) in esas2r_build_sg_list_prd()
641 if (len > t->inter_byte) in esas2r_build_sg_list_prd()
642 sgc->length = t->inter_byte; in esas2r_build_sg_list_prd()