Lines Matching refs:status

368 		psb->status = IOSTAT_SUCCESS;
460 psb->status = IOSTAT_SUCCESS;
1544 int i = 0, num_bde = 0, status;
1553 status = lpfc_sc_to_bg_opcodes(phba, sc, &txop, &rxop);
1554 if (status)
1691 int status;
1713 status = lpfc_sc_to_bg_opcodes(phba, sc, &txop, &rxop);
1714 if (status)
1929 int i = 0, status;
1942 status = lpfc_sc_to_bg_opcodes(phba, sc, &txop, &rxop);
1943 if (status)
2116 int status;
2140 status = lpfc_sc_to_bg_opcodes(phba, sc, &txop, &rxop);
2141 if (status)
2872 u32 status;
2879 status = bf_get(lpfc_wcqe_c_status, wcqe);
2881 if (status == CQE_STATUS_DI_ERROR) {
3615 * If status is good or resid does not match with fcp_param and
3813 * This routine is called to process response IOCB with status field
3977 * A status of good or some check conditions could
3998 * status field appropriately. This routine handles QUEUE FULL condition as
4050 lpfc_cmd->status = bf_get(lpfc_wcqe_c_status, wcqe);
4091 if (unlikely(lpfc_cmd->status)) {
4092 if (lpfc_cmd->status == IOSTAT_FCP_RSP_ERROR &&
4101 "status: x%x result: x%x "
4107 lpfc_cmd->status, lpfc_cmd->result,
4115 switch (lpfc_cmd->status) {
4133 (lpfc_cmd->status == IOSTAT_NPORT_BSY) ?
4154 "status: x%x result: x%x "
4160 lpfc_cmd->status, lpfc_cmd->result,
4174 "9048 DI Error xri x%x status x%x DI ext "
4175 "status x%x data placed x%x\n",
4177 lpfc_cmd->status, wcqe->parameter,
4201 lpfc_cmd->status = IOSTAT_DRIVER_REJECT;
4223 "status: x%x result: x%x "
4229 lpfc_cmd->status, lpfc_cmd->result,
4241 "status x%x result x%x [x%x] "
4244 lpfc_cmd->status, lpfc_cmd->result,
4328 * status field appropriately. This routine handles QUEUE FULL condition as
4370 lpfc_cmd->status = pIocbOut->iocb.ulpStatus;
4371 /* pick up SLI4 exchange busy status from HBA */
4408 if (unlikely(lpfc_cmd->status)) {
4409 if (lpfc_cmd->status == IOSTAT_LOCAL_REJECT &&
4411 lpfc_cmd->status = IOSTAT_DRIVER_REJECT;
4412 else if (lpfc_cmd->status >= IOSTAT_CNT)
4413 lpfc_cmd->status = IOSTAT_DEFAULT;
4414 if (lpfc_cmd->status == IOSTAT_FCP_RSP_ERROR &&
4423 "status: x%x result: x%x "
4429 lpfc_cmd->status, lpfc_cmd->result,
4437 switch (lpfc_cmd->status) {
4452 (lpfc_cmd->status == IOSTAT_NPORT_BSY) ?
4507 if ((lpfc_cmd->status == IOSTAT_REMOTE_STOP)
5516 int ret = SUCCESS, status = 0;
5523 status = fc_block_rport(rport);
5524 if (status != 0 && status != SUCCESS)
5525 return status;
5786 int status;
5801 status = phba->lpfc_scsi_prep_task_mgmt_cmd(vport, lpfc_cmd, lun_id,
5803 if (!status) {
5824 status = lpfc_sli_issue_iocb_wait(phba, LPFC_FCP_RING,
5826 if ((status != IOCB_SUCCESS) ||
5828 if (status != IOCB_SUCCESS ||
5838 /* if ulpStatus != IOCB_SUCCESS, then status == IOCB_SUCCESS */
5839 if (status == IOCB_SUCCESS) {
5847 } else if ((status == IOCB_TIMEDOUT) ||
5848 (status == IOCB_ABORTED)) {
5858 if (status != IOCB_TIMEDOUT)
5980 int status;
5994 status = fc_block_rport(rport);
5995 if (status != 0 && status != SUCCESS)
5996 return status;
5998 status = lpfc_chk_tgt_mapped(vport, rport);
5999 if (status == FAILED) {
6014 status = lpfc_send_taskmgmt(vport, rport, tgt_id, lun_id,
6016 if (status != SUCCESS)
6021 "return x%x\n", tgt_id, lun_id, status);
6029 if (status == SUCCESS)
6030 status = lpfc_reset_flush_io_context(vport, tgt_id, lun_id,
6033 return status;
6058 int status;
6075 status = fc_block_rport(rport);
6076 if (status != 0 && status != SUCCESS)
6077 return status;
6079 status = lpfc_chk_tgt_mapped(vport, rport);
6080 if (status == FAILED) {
6103 status = lpfc_send_taskmgmt(vport, rport, tgt_id, lun_id,
6105 if (status != SUCCESS) {
6129 tgt_id, lun_id, status);
6137 status = SUCCESS;
6141 status = FAILED;
6147 "return x%x\n", tgt_id, lun_id, status);
6155 if (status == SUCCESS)
6156 status = lpfc_reset_flush_io_context(vport, tgt_id, lun_id,
6158 return status;
6514 * @found_lun_status: Pointer to status of the found lun.
6523 * match. If the lun is found, the lun, vport wwpn, target wwpn and lun status