Lines Matching defs:bsg_reply

237 	struct fc_bsg_reply *bsg_reply = bsg_job->reply;
273 bsg_job_done(bsg_job, bsg_reply->result,
274 bsg_reply->reply_payload_rcv_len);
537 struct fc_bsg_reply *bsg_reply = bsg_job->reply;
648 SET_DID_STATUS(bsg_reply->result, DID_OK);
650 bsg_reply->reply_payload_rcv_len = sg_copy_from_buffer(bsg_job->reply_payload.sg_list,
674 struct fc_bsg_reply *bsg_reply = bsg_job->reply;
716 SET_DID_STATUS(bsg_reply->result, DID_OK);
758 struct fc_bsg_reply *bsg_reply = bsg_job->reply;
796 SET_DID_STATUS(bsg_reply->result, DID_ERROR);
808 SET_DID_STATUS(bsg_reply->result, DID_OK);
818 SET_DID_STATUS(bsg_reply->result, DID_OK);
823 SET_DID_STATUS(bsg_reply->result, DID_OK);
831 SET_DID_STATUS(bsg_reply->result, DID_OK);
852 bsg_reply->reply_payload_rcv_len = sg_copy_from_buffer(bsg_job->reply_payload.sg_list,
871 struct fc_bsg_reply *bsg_reply = bsg_job->reply;
894 SET_DID_STATUS(bsg_reply->result, DID_OK);
902 SET_DID_STATUS(bsg_reply->result, DID_OK);
909 SET_DID_STATUS(bsg_reply->result, DID_ERROR);
944 struct fc_bsg_reply *bsg_reply = bsg_job->reply;
959 SET_DID_STATUS(bsg_reply->result, DID_ERROR);
1048 SET_DID_STATUS(bsg_reply->result, DID_OK);
1052 bsg_reply->reply_payload_rcv_len = sg_copy_from_buffer(bsg_job->reply_payload.sg_list,
1071 struct fc_bsg_reply *bsg_reply = bsg_job->reply;
1085 SET_DID_STATUS(bsg_reply->result, DID_ERROR);
1094 SET_DID_STATUS(bsg_reply->result, DID_ERROR);
1120 SET_DID_STATUS(bsg_reply->result, DID_OK);
1124 bsg_reply->reply_payload_rcv_len =
1139 struct fc_bsg_reply *bsg_reply = bsg_job->reply;
1149 SET_DID_STATUS(bsg_reply->result, DID_OK);
1170 struct fc_bsg_reply *bsg_reply = bsg_job->reply;
1227 SET_DID_STATUS(bsg_reply->result, DID_OK);
1228 bsg_reply->reply_payload_rcv_len = sg_skip;
1237 struct fc_bsg_reply *bsg_reply = bsg_job->reply;
1245 bsg_job_done(bsg_job, bsg_reply->result, bsg_reply->reply_payload_rcv_len);
1296 struct fc_bsg_reply *bsg_reply = bsg_job->reply;
1322 SET_DID_STATUS(bsg_reply->result, DID_ERROR);
1332 SET_DID_STATUS(bsg_reply->result, DID_ERROR);
1379 bsg_job_done(bsg_job, bsg_reply->result,
1380 bsg_reply->reply_payload_rcv_len);
1545 struct fc_bsg_reply *bsg_reply = bsg_job->reply;
1569 SET_DID_STATUS(bsg_reply->result, DID_ERROR);
1576 SET_DID_STATUS(bsg_reply->result, DID_ERROR);
1598 SET_DID_STATUS(bsg_reply->result, DID_NO_CONNECT);
1609 SET_DID_STATUS(bsg_reply->result, DID_NO_CONNECT);
1622 SET_DID_STATUS(bsg_reply->result, DID_ERROR);
1630 SET_DID_STATUS(bsg_reply->result, DID_OK);
1702 SET_DID_STATUS(bsg_reply->result, DID_ERROR);
1737 bsg_reply->result = DID_OK << 16;
1782 SET_DID_STATUS(bsg_reply->result, DID_IMM_RETRY);
1814 SET_DID_STATUS(bsg_reply->result, DID_IMM_RETRY);
1824 SET_DID_STATUS(bsg_reply->result, DID_OK);
1835 __func__, bsg_reply->result, bsg_job);
1836 bsg_job_done(bsg_job, bsg_reply->result,
1837 bsg_reply->reply_payload_rcv_len);
3541 struct fc_bsg_reply *bsg_reply = bsg_job->reply;
3564 SET_DID_STATUS(bsg_reply->result, DID_ERROR);
3575 SET_DID_STATUS(bsg_reply->result, DID_BAD_TARGET);
3581 SET_DID_STATUS(bsg_reply->result, DID_BAD_TARGET);
3590 SET_DID_STATUS(bsg_reply->result, DID_BAD_TARGET);
3600 SET_DID_STATUS(bsg_reply->result, DID_IMM_RETRY);
3612 SET_DID_STATUS(bsg_reply->result, DID_IMM_RETRY);
3624 SET_DID_STATUS(bsg_reply->result, DID_IMM_RETRY);
3660 SET_DID_STATUS(bsg_reply->result, DID_IMM_RETRY);