Lines Matching defs:reason
1024 switch (reject->reason) {
1076 rejected_pdu.opcode, reject->reason);
1607 int reason = 0;
1624 reason = iscsi_session_chkready(cls_session);
1625 if (reason) {
1626 sc->result = reason;
1640 reason = FAILURE_SESSION_IN_RECOVERY;
1644 reason = FAILURE_SESSION_LOGGING_OUT;
1648 reason = FAILURE_SESSION_RECOVERY_TIMEOUT;
1652 reason = FAILURE_SESSION_TERMINATE;
1656 reason = FAILURE_SESSION_FREED;
1664 reason = FAILURE_SESSION_FREED;
1670 reason = FAILURE_SESSION_IN_RECOVERY;
1676 reason = FAILURE_WINDOW_CLOSED;
1682 reason = FAILURE_OOM;
1687 reason = iscsi_prep_scsi_cmd_pdu(task);
1688 if (reason) {
1689 if (reason == -ENOMEM || reason == -EACCES) {
1690 reason = FAILURE_OOM;
1699 reason = FAILURE_SESSION_NOT_READY;
1718 sc->cmnd[0], reason);
1728 sc->cmnd[0], reason);
1741 int iscsi_change_queue_depth(struct scsi_device *sdev, int depth, int reason)
1743 switch (reason) {