Lines Matching defs:rc
119 int rc;
127 rc = lpfc_read_sparam(phba, pmb, vport->vpi);
128 if (rc) {
141 rc = lpfc_sli_issue_mbox_wait(phba, pmb, phba->fc_ratov * 2);
142 if (rc != MBX_SUCCESS) {
149 if (rc != MBX_TIMEOUT)
155 "READ_SPARM mbxStatus x%x, rc = x%x\n",
156 mb->mbxCommand, mb->mbxStatus, rc);
159 if (rc != MBX_TIMEOUT)
300 int rc = VPORT_ERROR;
308 rc = VPORT_INVAL;
318 rc = VPORT_NORESOURCES;
328 rc = VPORT_NORESOURCES;
337 rc = VPORT_NORESOURCES;
348 rc = VPORT_ERROR;
353 rc = VPORT_NORESOURCES;
373 rc = VPORT_INVAL;
383 rc = VPORT_INVAL;
399 rc = lpfc_sli4_init_vpi(phba, vpi);
400 if (rc) {
403 "status %d\n", vpi, rc);
404 rc = VPORT_NORESOURCES;
415 rc = VPORT_OK;
423 rc = VPORT_OK;
429 rc = VPORT_OK;
450 rc = VPORT_OK;
457 return rc;