Lines Matching refs:tmf
279 struct srb_iocb *tmf = &sp->u.iocb_cmd; in qla2x00_tmf_iocb_timeout() local
281 tmf->u.tmf.comp_status = CS_TIMEOUT; in qla2x00_tmf_iocb_timeout()
282 complete(&tmf->u.tmf.comp); in qla2x00_tmf_iocb_timeout()
289 struct srb_iocb *tmf = &sp->u.iocb_cmd; in qla2x00_tmf_sp_done() local
290 complete(&tmf->u.tmf.comp); in qla2x00_tmf_sp_done()
310 tm_iocb->u.tmf.flags = flags; in qla2x00_async_tm_cmd()
311 tm_iocb->u.tmf.lun = lun; in qla2x00_async_tm_cmd()
312 tm_iocb->u.tmf.data = tag; in qla2x00_async_tm_cmd()
315 init_completion(&tm_iocb->u.tmf.comp); in qla2x00_async_tm_cmd()
326 wait_for_completion(&tm_iocb->u.tmf.comp); in qla2x00_async_tm_cmd()
328 rval = tm_iocb->u.tmf.comp_status == CS_COMPLETE ? in qla2x00_async_tm_cmd()
331 if ((rval != QLA_SUCCESS) || tm_iocb->u.tmf.data) { in qla2x00_async_tm_cmd()
337 flags = tm_iocb->u.tmf.flags; in qla2x00_async_tm_cmd()
338 lun = (uint16_t)tm_iocb->u.tmf.lun; in qla2x00_async_tm_cmd()