Lines Matching refs:bsg_reply
237 struct fc_bsg_reply *bsg_reply = bsg_job->reply; in qla_bsg_check() local
273 bsg_job_done(bsg_job, bsg_reply->result, in qla_bsg_check()
274 bsg_reply->reply_payload_rcv_len); in qla_bsg_check()
494 struct fc_bsg_reply *bsg_reply = bsg_job->reply; in qla_edif_app_start() local
606 SET_DID_STATUS(bsg_reply->result, DID_OK); in qla_edif_app_start()
608 bsg_reply->reply_payload_rcv_len = sg_copy_from_buffer(bsg_job->reply_payload.sg_list, in qla_edif_app_start()
632 struct fc_bsg_reply *bsg_reply = bsg_job->reply; in qla_edif_app_stop() local
674 SET_DID_STATUS(bsg_reply->result, DID_OK); in qla_edif_app_stop()
716 struct fc_bsg_reply *bsg_reply = bsg_job->reply; in qla_edif_app_authok() local
754 SET_DID_STATUS(bsg_reply->result, DID_ERROR); in qla_edif_app_authok()
766 SET_DID_STATUS(bsg_reply->result, DID_OK); in qla_edif_app_authok()
776 SET_DID_STATUS(bsg_reply->result, DID_OK); in qla_edif_app_authok()
781 SET_DID_STATUS(bsg_reply->result, DID_OK); in qla_edif_app_authok()
789 SET_DID_STATUS(bsg_reply->result, DID_OK); in qla_edif_app_authok()
810 bsg_reply->reply_payload_rcv_len = sg_copy_from_buffer(bsg_job->reply_payload.sg_list, in qla_edif_app_authok()
829 struct fc_bsg_reply *bsg_reply = bsg_job->reply; in qla_edif_app_authfail() local
852 SET_DID_STATUS(bsg_reply->result, DID_OK); in qla_edif_app_authfail()
860 SET_DID_STATUS(bsg_reply->result, DID_OK); in qla_edif_app_authfail()
867 SET_DID_STATUS(bsg_reply->result, DID_ERROR); in qla_edif_app_authfail()
902 struct fc_bsg_reply *bsg_reply = bsg_job->reply; in qla_edif_app_getfcinfo() local
917 SET_DID_STATUS(bsg_reply->result, DID_ERROR); in qla_edif_app_getfcinfo()
1004 SET_DID_STATUS(bsg_reply->result, DID_OK); in qla_edif_app_getfcinfo()
1008 bsg_reply->reply_payload_rcv_len = sg_copy_from_buffer(bsg_job->reply_payload.sg_list, in qla_edif_app_getfcinfo()
1027 struct fc_bsg_reply *bsg_reply = bsg_job->reply; in qla_edif_app_getstats() local
1041 SET_DID_STATUS(bsg_reply->result, DID_ERROR); in qla_edif_app_getstats()
1050 SET_DID_STATUS(bsg_reply->result, DID_ERROR); in qla_edif_app_getstats()
1076 SET_DID_STATUS(bsg_reply->result, DID_OK); in qla_edif_app_getstats()
1080 bsg_reply->reply_payload_rcv_len = in qla_edif_app_getstats()
1095 struct fc_bsg_reply *bsg_reply = bsg_job->reply; in qla_edif_ack() local
1105 SET_DID_STATUS(bsg_reply->result, DID_OK); in qla_edif_ack()
1126 struct fc_bsg_reply *bsg_reply = bsg_job->reply; in qla_edif_consume_dbell() local
1183 SET_DID_STATUS(bsg_reply->result, DID_OK); in qla_edif_consume_dbell()
1184 bsg_reply->reply_payload_rcv_len = sg_skip; in qla_edif_consume_dbell()
1193 struct fc_bsg_reply *bsg_reply = bsg_job->reply; in __qla_edif_dbell_bsg_done() local
1201 bsg_job_done(bsg_job, bsg_reply->result, bsg_reply->reply_payload_rcv_len); in __qla_edif_dbell_bsg_done()
1252 struct fc_bsg_reply *bsg_reply = bsg_job->reply; in qla_edif_app_mgmt() local
1278 SET_DID_STATUS(bsg_reply->result, DID_ERROR); in qla_edif_app_mgmt()
1288 SET_DID_STATUS(bsg_reply->result, DID_ERROR); in qla_edif_app_mgmt()
1335 bsg_job_done(bsg_job, bsg_reply->result, in qla_edif_app_mgmt()
1336 bsg_reply->reply_payload_rcv_len); in qla_edif_app_mgmt()
1501 struct fc_bsg_reply *bsg_reply = bsg_job->reply; in qla24xx_sadb_update() local
1525 SET_DID_STATUS(bsg_reply->result, DID_ERROR); in qla24xx_sadb_update()
1532 SET_DID_STATUS(bsg_reply->result, DID_ERROR); in qla24xx_sadb_update()
1554 SET_DID_STATUS(bsg_reply->result, DID_NO_CONNECT); in qla24xx_sadb_update()
1565 SET_DID_STATUS(bsg_reply->result, DID_NO_CONNECT); in qla24xx_sadb_update()
1578 SET_DID_STATUS(bsg_reply->result, DID_ERROR); in qla24xx_sadb_update()
1586 SET_DID_STATUS(bsg_reply->result, DID_OK); in qla24xx_sadb_update()
1658 SET_DID_STATUS(bsg_reply->result, DID_ERROR); in qla24xx_sadb_update()
1693 bsg_reply->result = DID_OK << 16; in qla24xx_sadb_update()
1738 SET_DID_STATUS(bsg_reply->result, DID_IMM_RETRY); in qla24xx_sadb_update()
1770 SET_DID_STATUS(bsg_reply->result, DID_IMM_RETRY); in qla24xx_sadb_update()
1780 SET_DID_STATUS(bsg_reply->result, DID_OK); in qla24xx_sadb_update()
1791 __func__, bsg_reply->result, bsg_job); in qla24xx_sadb_update()
1792 bsg_job_done(bsg_job, bsg_reply->result, in qla24xx_sadb_update()
1793 bsg_reply->reply_payload_rcv_len); in qla24xx_sadb_update()
3511 struct fc_bsg_reply *bsg_reply = bsg_job->reply; in qla_edif_process_els() local
3534 SET_DID_STATUS(bsg_reply->result, DID_ERROR); in qla_edif_process_els()
3545 SET_DID_STATUS(bsg_reply->result, DID_BAD_TARGET); in qla_edif_process_els()
3551 SET_DID_STATUS(bsg_reply->result, DID_BAD_TARGET); in qla_edif_process_els()
3560 SET_DID_STATUS(bsg_reply->result, DID_BAD_TARGET); in qla_edif_process_els()
3570 SET_DID_STATUS(bsg_reply->result, DID_IMM_RETRY); in qla_edif_process_els()
3582 SET_DID_STATUS(bsg_reply->result, DID_IMM_RETRY); in qla_edif_process_els()
3594 SET_DID_STATUS(bsg_reply->result, DID_IMM_RETRY); in qla_edif_process_els()
3630 SET_DID_STATUS(bsg_reply->result, DID_IMM_RETRY); in qla_edif_process_els()