Lines Matching defs:error
1671 * error code.
1789 /* First check for error */
2050 * will post an error attention event to the worker thread to take the
2080 * All error attention handlers are posted to
2439 * it successfully post the buffer else it will return an error.
2479 * the hbq_buffer_list and return zero, otherwise it will return an error.
3093 * It is a fatal error if unknown mbox command completion.
3117 /* Mbox cmd cmpl error - RETRYing */
3121 "error - RETRYing Data: x%x "
3712 "0372 iotag x%x lookup error: max iotag (x%x) "
3884 * lpfc_sli_rsp_pointers_error - Response ring pointer error handler
3890 * an error attention condition to the worker thread and the worker
3910 * All error attention handlers are posted to
3956 /* Check chip HA register for error event */
4009 * entries. If it does, treat it as an adapter hardware error.
4060 /* Rsp ring <ringno> error: IOCB */
4062 "0336 Rsp Ring %d error: IOCB Data: "
4232 /* Rsp ring <ringno> error: IOCB */
4236 "0328 Rsp Ring %d error: ulp_status x%x "
4261 "0321 Rsp Ring %d error: "
4392 * entries. If it does, treat it as an adapter hardware error.
4889 /* Disable the error attention */
4899 /* Clear Chip error bit */
4969 * the error attention interrupt. This function is called for stopping
4996 /* Disable the error attention */
5031 /* There is no completion for a KILL_BOARD mbox cmd. Check for an error
5140 * This function returns 0 on success else returns negative error code.
5322 * zero if HBA successfully restarted else returns negative error code.
5466 * else it will return negative error code.
5535 * else it will return negative error code.
5568 * The function returns 0 if successful, else returns negative error
5691 * error attention handler code. Caller is not required to hold any
5696 * if successful, else it will return negative error code.
6273 * -Error: error indicates problem.
7144 int i, rc, error = 0;
7166 error++;
7170 error++;
7174 error++;
7178 error++;
7186 if (error) {
7733 /* failed to post any nvme buffer, return error */
7900 /* If there is a mbox error, move on to RDF */
7954 /* If there is a mbox error, move on to RDF */
8443 * HBA error attention handler code. Caller is not required to hold any
8687 * feature in the driver. This is not a fatal error.
9023 /* Start error attention (ERATT) polling timer */
9086 /* Unset all the queues set up in this routine when error out */
9324 * pending, then the function will return an error. If the mailbox is issued
9382 /* If HBA has a deferred error attention, fail the iocb. */
9909 * Any of the MBX error values.
10407 * recovering from error state, if HBA is resetting or if LPFC_STOP_IOCB_EVENT
10445 /* If HBA has a deferred error attention, fail the iocb. */
11279 * __lpfc_sli_issue_iocb function and will return the error returned
13127 * is NULL or its an error.
13177 "0338 IOCB wait timeout error - no "
13234 * signal, MBX_TIMEOUT error is returned to the caller. Caller
13296 * HBA error conditions such as EEH or ERATT, this routine shall invoke
13356 * lpfc_sli_eratt_read - read sli-3 error attention events
13359 * This function is called to read the SLI3 device error attention registers
13360 * for possible error attention events. The caller must hold the hostlock
13376 /* Read host status register to retrieve error event */
13380 /* Check if there is a deferred error condition is active */
13409 * lpfc_sli4_eratt_read - read sli-4 error attention events
13412 * This function is called to read the SLI4 device error attention registers
13413 * for possible error attention events. The caller must hold the hostlock
13428 * For now, use the SLI4 device internal unrecoverable error
13429 * registers for error attention. This can be changed later.
13446 "1423 HBA Unrecoverable error: "
13485 "error 1=0x%x, error 2=0x%x\n",
13507 * lpfc_sli_check_eratt - check error attention events
13511 * error attention register bit for error attention events.
13536 * If there is deferred error attention, do not check for error
13609 * interrupt handler. When the PCI slot is in error recovery or the HBA
13674 * If there is deferred error attention, do not check for any
13766 * Check if there is a deferred error condition
13925 * device-level interrupt handler. When the PCI slot is in error recovery
13965 * If there is deferred error attention, do not check for
14063 * If there is deferred error attention, do not check for any interrupt.
14070 /* Clear attention sources except link and error attentions */
14323 * For mcqe errors, conditionally move a modified error code to
14324 * the mbox so that the error will not be missed.
14477 /* Log the error status */
14479 "0357 ELS CQE error: status=x%x: "
14796 * completion event on a completion queue, if not, an error shall be logged
15411 * completion event on a completion queue, if not, an error shall be logged
15529 * device-level interrupt handler. When the PCI slot is in error recovery
18372 /* Post error. Buffer unavailable. */
18407 /* Post error. Mark buffer unavailable. */
19540 * When this error occurs, the driver is not guaranteed
19543 * fatal error.
20069 int rc = 0, error;
20079 error = -ENOMEM;
20085 error = -EINVAL;
20098 error = -EIO;
20103 error = 0;
20106 if (error) {
20114 return error;
20131 int rc = 0, error;
20139 error = -ENOMEM;
20145 error = -EINVAL;
20153 error = -EIO;
20155 error = 0;
20158 if (error && mboxq)
20160 return error;
20177 int rc = 0, error;
20185 error = -ENOMEM;
20191 error = -EINVAL;
20199 error = -EIO;
20201 error = 0;
20204 if (error && mboxq)
20206 return error;
20616 * mailbox error, either way we are done.
20882 * Return negative value for error cases.
22309 "8353 error kmalloc memory for HDWQ "
22319 "8354 error pool_alloc memory for HDWQ "
22452 "8355 error kmalloc memory for HDWQ "
22464 "8356 error pool_alloc memory for HDWQ "