Lines Matching refs:tmf_req
815 pqi_aio_tmf_req_t tmf_req; in pqisrc_send_aio_tmf() local
818 memset(&tmf_req, 0, sizeof(pqi_aio_tmf_req_t)); in pqisrc_send_aio_tmf()
822 tmf_req.header.iu_type = PQI_REQUEST_IU_AIO_TASK_MANAGEMENT; in pqisrc_send_aio_tmf()
823 tmf_req.header.iu_length = sizeof(tmf_req) - sizeof(iu_header_t); in pqisrc_send_aio_tmf()
824 tmf_req.req_id = rcb->tag; in pqisrc_send_aio_tmf()
825 tmf_req.error_idx = rcb->tag; in pqisrc_send_aio_tmf()
826 tmf_req.nexus = devp->ioaccel_handle; in pqisrc_send_aio_tmf()
828 tmf_req.tmf = tmf_type; in pqisrc_send_aio_tmf()
829 tmf_req.resp_qid = OS_GET_TMF_RESP_QID(softs, rcb); in pqisrc_send_aio_tmf()
833 tmf_req.req_id_to_manage = rcb_to_manage->tag; in pqisrc_send_aio_tmf()
834 tmf_req.nexus = rcb_to_manage->ioaccel_handle; in pqisrc_send_aio_tmf()
837 …tmf_req.header.iu_type : %x tmf_req.req_id_to_manage :%d \n",tmf_req.header.iu_type,tmf_req.req_id… in pqisrc_send_aio_tmf()
838 …req_id : %d tmf_req.nexus : %x tmf_req.tmf %x QID : %d\n",tmf_req.req_id,tmf_req.nexus,tmf_req.tmf… in pqisrc_send_aio_tmf()
841 tmf_req.header.iu_type, tmf_req.req_id_to_manage); in pqisrc_send_aio_tmf()
843 tmf_req.req_id, tmf_req.nexus, tmf_req.tmf, op_ib_q->q_id); in pqisrc_send_aio_tmf()
850 rval = pqisrc_submit_cmnd(softs, op_ib_q, &tmf_req); in pqisrc_send_aio_tmf()
878 pqi_raid_tmf_req_t tmf_req; in pqisrc_send_raid_tmf() local
881 memset(&tmf_req, 0, sizeof(pqi_raid_tmf_req_t)); in pqisrc_send_raid_tmf()
885 tmf_req.header.iu_type = PQI_REQUEST_IU_RAID_TASK_MANAGEMENT; in pqisrc_send_raid_tmf()
886 tmf_req.header.iu_length = sizeof(tmf_req) - sizeof(iu_header_t); in pqisrc_send_raid_tmf()
887 tmf_req.req_id = rcb->tag; in pqisrc_send_raid_tmf()
889 memcpy(tmf_req.lun, devp->scsi3addr, sizeof(tmf_req.lun)); in pqisrc_send_raid_tmf()
890 tmf_req.tmf = tmf_type; in pqisrc_send_raid_tmf()
891 tmf_req.resp_qid = OS_GET_TMF_RESP_QID(softs, rcb); in pqisrc_send_raid_tmf()
895 tmf_req.obq_id_to_manage = rcb_to_manage->resp_qid; in pqisrc_send_raid_tmf()
896 tmf_req.req_id_to_manage = rcb_to_manage->tag; in pqisrc_send_raid_tmf()
902 tmf_req.timeout_in_sec = OS_TMF_TIMEOUT_SEC - 1; in pqisrc_send_raid_tmf()
904 if (!tmf_req.timeout_in_sec) in pqisrc_send_raid_tmf()
905 tmf_req.timeout_in_sec = 1; in pqisrc_send_raid_tmf()
914 rval = pqisrc_submit_cmnd(softs, op_ib_q, &tmf_req); in pqisrc_send_raid_tmf()