1N/A * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1N/A * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1N/A#include <FCHBAPort.h>
1N/A#include <Exceptions.h>
1N/A#include <FCHBANPIVPort.h>
1N/A switch (fcio_errno) {
1N/A case FC_SUCCESS:
1N/A case FC_CAP_ERROR:
1N/A case FC_CAP_FOUND:
1N/A case FC_CAP_SETTABLE:
1N/A case FC_UNBOUND:
1N/A case FC_BADPACKET:
1N/A case FC_OFFLINE:
1N/A case FC_OLDPORT:
1N/A case FC_TRANSPORT_ERROR:
1N/A case FC_ELS_FREJECT:
1N/A case FC_ELS_PREJECT:
1N/A case FC_ELS_BAD:
1N/A case FC_ELS_MALFORMED:
1N/A case FC_TOOMANY:
1N/A case FC_UB_BADTOKEN:
1N/A case FC_UB_ERROR:
1N/A case FC_UB_BUSY:
1N/A case FC_BADTYPE:
1N/A case FC_UNCLAIMED:
1N/A case FC_ULP_SAMEMODULE:
1N/A case FC_ULP_SAMETYPE:
1N/A case FC_ABORTED:
1N/A case FC_ABORT_FAILED:
1N/A case FC_BADEXCHANGE:
1N/A case FC_BADOBJECT:
1N/A case FC_BADPORT:
1N/A case FC_NOTTHISPORT:
1N/A case FC_PREJECT:
1N/A case FC_FREJECT:
1N/A case FC_ALREADY:
1N/A case FC_LOGINREQ:
1N/A case FC_RESETFAIL:
1N/A case FC_INVALID_REQUEST:
1N/A case FC_OUTOFBOUNDS:
1N/A case FC_TRAN_BUSY:
1N/A case FC_STATEC_BUSY:
1N/A case FC_DEVICE_BUSY:
1N/A case FC_DEVICE_NOT_TGT:
1N/A case KEY_NO_SENSE:
1N/A case KEY_RECOVERABLE_ERROR:
1N/A case KEY_NOT_READY:
1N/A case KEY_MEDIUM_ERROR:
1N/A case KEY_HARDWARE_ERROR:
1N/A case KEY_ILLEGAL_REQUEST:
1N/A case KEY_UNIT_ATTENTION:
1N/A case KEY_DATA_PROTECT:
1N/A case KEY_BLANK_CHECK:
1N/A case KEY_VENDOR_UNIQUE:
1N/A case KEY_COPY_ABORTED:
1N/A case KEY_ABORTED_COMMAND:
1N/A case KEY_VOLUME_OVERFLOW:
1N/A case KEY_MISCOMPARE:
1N/A case KEY_RESERVED:
1N/A throw BadArgumentException();
count = 0;
ioctl_errno = 0;
throw CheckConditionException();
throw NotATargetException();
throw InvalidLUNException();
throw BusyException();
throw TryAgainException();
throw NotSupportedException();
throw UnavailableException();
throw CheckConditionException();
#ifdef DEBUG
ROUTINE);
/*#include <fcio.h>
#include <fcp_util.h>*/
retry = false;
retry = true;
delete (pathList);
} while (retry);
delete (pathList);
return (ret);
return (vportindex);
return (attributes);
return (attributes);
return (attributes);
return (attributes);
throw BadArgumentException();
zeroLength = true;
(sizeof (fc_hba_mapping_entry_t)) *
sizeof (fc_hba_target_mappings_t)];
throw InternalError();
delete (mappings);
throw BusyException();
throw TryAgainException();
throw NotSupportedException();
throw UnavailableException();
sizeof (la_wwn_t));
sizeof (la_wwn_t));
delete (mappings);
throw MoreDataException();
delete (mappings);
throw MoreDataException();
delete (mappings);
delete (mappings);
throw BadArgumentException();
throw BadArgumentException();
throw BadArgumentException();
void *pRspBuffer,
throw BadArgumentException();
throw InternalError();
throw BadArgumentException();
throw BadArgumentException();
throw BadArgumentException();
throw BadArgumentException();
throw BadArgumentException();
remoteportfound = 0;
if (destfcid != 0) {
tmp);
send = 0;
} catch (HBAException &e) {
if (remoteportfound == 0) {
if (!send) {
throw BadArgumentException();
throw InternalError();
case FC_BADWWN:
throw IllegalWWNException();
case FC_BADPORT:
throw IllegalWWNException();
case FC_OUTOFBOUNDS:
throw IllegalIndexException();
case FC_PBUSY:
case FC_FBUSY:
case FC_TRAN_BUSY:
case FC_STATEC_BUSY:
case FC_DEVICE_BUSY:
throw BusyException();
case FC_SUCCESS: