Home
last modified time | relevance | path

Searched refs:srp_rsp (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.4/drivers/infiniband/ulp/srpt/
Dib_srpt.c1367 struct srp_rsp *srp_rsp; in srpt_build_cmd_rsp() local
1377 srp_rsp = ioctx->ioctx.buf; in srpt_build_cmd_rsp()
1378 BUG_ON(!srp_rsp); in srpt_build_cmd_rsp()
1384 memset(srp_rsp, 0, sizeof(*srp_rsp)); in srpt_build_cmd_rsp()
1385 srp_rsp->opcode = SRP_RSP; in srpt_build_cmd_rsp()
1386 srp_rsp->req_lim_delta = in srpt_build_cmd_rsp()
1388 srp_rsp->tag = tag; in srpt_build_cmd_rsp()
1389 srp_rsp->status = status; in srpt_build_cmd_rsp()
1392 BUILD_BUG_ON(MIN_MAX_RSP_SIZE <= sizeof(*srp_rsp)); in srpt_build_cmd_rsp()
1393 max_sense_len = ch->max_ti_iu_len - sizeof(*srp_rsp); in srpt_build_cmd_rsp()
[all …]
Dib_srpt.h136 MIN_MAX_RSP_SIZE = sizeof(struct srp_rsp)/*36*/ + 4,
/Linux-v5.4/drivers/scsi/ibmvscsi/
Dibmvscsi.c978 struct srp_rsp *rsp = &evt_struct->xfer_iu->srp.rsp; in handle_cmd_rsp()
1475 union viosrp_iu srp_rsp; in ibmvscsi_eh_abort_handler() local
1522 evt->sync_srp = &srp_rsp; in ibmvscsi_eh_abort_handler()
1550 if (unlikely(srp_rsp.srp.rsp.opcode != SRP_RSP)) { in ibmvscsi_eh_abort_handler()
1553 srp_rsp.srp.rsp.opcode); in ibmvscsi_eh_abort_handler()
1557 if (srp_rsp.srp.rsp.flags & SRP_RSP_FLAG_RSPVALID) in ibmvscsi_eh_abort_handler()
1558 rsp_rc = *((int *)srp_rsp.srp.rsp.data); in ibmvscsi_eh_abort_handler()
1560 rsp_rc = srp_rsp.srp.rsp.status; in ibmvscsi_eh_abort_handler()
1614 union viosrp_iu srp_rsp; in ibmvscsi_eh_device_reset_handler() local
1644 evt->sync_srp = &srp_rsp; in ibmvscsi_eh_device_reset_handler()
[all …]
/Linux-v5.4/include/scsi/
Dviosrp.h37 struct srp_rsp rsp;
Dsrp.h264 struct srp_rsp { struct
/Linux-v5.4/drivers/scsi/ibmvscsi_tgt/
Dibmvscsi_tgt.c58 struct srp_rsp *rsp) in ibmvscsis_determine_resid()
3094 struct srp_rsp *rsp; in srp_build_response()
/Linux-v5.4/drivers/infiniband/ulp/srp/
Dib_srp.c2115 static void srp_process_rsp(struct srp_rdma_ch *ch, struct srp_rsp *rsp) in srp_process_rsp()