FreeBSD kernel pms device code
|
#include <linux/ioctl.h>
#include <dev/pms/RefTisa/tisa/api/tiapi.h>
#include <dev/pms/RefTisa/tisa/api/ostiapi.h>
#include <dev/pms/RefTisa/tisa/api/tidefs.h>
#include <dev/pms/RefTisa/tisa/api/tiglobal.h>
#include <dev/pms/RefTisa/tisa/api/titypes.h>
#include <dev/pms/RefTisa/tisa/sassata/common/tdioctl.h>
#include <dev/pms/freebsd/driver/common/osenv.h>
#include <dev/pms/freebsd/driver/common/ostypes.h>
#include <dev/pms/freebsd/driver/common/osdebug.h>
Go to the source code of this file.
Data Structures | |
struct | IoctlEncryptGetInfo_s |
struct | IoctlEncryptSetMode_s |
struct | IoctlEncryptKekAdd_s |
struct | IoctlEncryptDekAdd_s |
struct | IoctlEncryptDekInvalidate_s |
struct | IoctlEncryptKekNVRAM_s |
struct | IoctlEncryptDekTable_s |
struct | EncryptDekMapEntry_s |
struct | EncryptDeviceDekMap_s |
struct | IoctlEncryptDekMapTable_s |
struct | IoctlEncryptIOError_s |
union | IoctlEncryptOp_u |
struct | tiIOCTLPayloadHeader_s |
struct | IoctlTISAEncrypt_s |
struct | IOCTLEncrypt_s |
Macros | |
#define | ENCRYPT_DEK_MAP_ENTRY_CLEAR 0x00000001UL |
#define | ENCRYPT_DEK_MAP_ENTRY_VALID 0x80000000UL |
#define | ERROR_QUERY_FLAG_BLOCK 1 |
#define | encryptGetInfo 0x00000001 |
#define | encryptSetMode 0x00000002 |
#define | encryptKekAdd 0x00000003 |
#define | encryptDekAdd 0x00000004 |
#define | encryptDekInvalidate 0x00000005 |
#define | encryptKekStore 0x00000006 |
#define | encryptKekLoad 0x00000007 |
#define | encryptGetDekTable 0x00000008 |
#define | encryptSetDekMap 0x00000009 |
#define | encryptDekDump 0x0000000a |
#define | encryptErrorQuery 0x0000000c |
Functions | |
struct IoctlEncryptGetInfo_s | __attribute__ ((packed)) IoctlEncryptGetInfo_t |
#define ENCRYPT_DEK_MAP_ENTRY_CLEAR 0x00000001UL |
Definition at line 0 of file encrypt_ioctl.h.
#define ENCRYPT_DEK_MAP_ENTRY_VALID 0x80000000UL |
Definition at line 1 of file encrypt_ioctl.h.
#define encryptDekAdd 0x00000004 |
Definition at line 3 of file encrypt_ioctl.h.
#define encryptDekDump 0x0000000a |
Definition at line 9 of file encrypt_ioctl.h.
#define encryptDekInvalidate 0x00000005 |
Definition at line 4 of file encrypt_ioctl.h.
#define encryptErrorQuery 0x0000000c |
Definition at line 10 of file encrypt_ioctl.h.
#define encryptGetDekTable 0x00000008 |
Definition at line 7 of file encrypt_ioctl.h.
#define encryptGetInfo 0x00000001 |
Definition at line 0 of file encrypt_ioctl.h.
#define encryptKekAdd 0x00000003 |
Definition at line 2 of file encrypt_ioctl.h.
#define encryptKekLoad 0x00000007 |
Definition at line 6 of file encrypt_ioctl.h.
#define encryptKekStore 0x00000006 |
Definition at line 5 of file encrypt_ioctl.h.
#define encryptSetDekMap 0x00000009 |
Definition at line 8 of file encrypt_ioctl.h.
#define encryptSetMode 0x00000002 |
Definition at line 1 of file encrypt_ioctl.h.
#define ERROR_QUERY_FLAG_BLOCK 1 |
struct IOCTLEncrypt_s __attribute__ | ( | (packed) | ) |
Definition at line 1 of file encrypt_ioctl.h.
bit32 blobFormat |
Definition at line 2 of file encrypt_ioctl.h.
Referenced by saEncryptKekUpdate(), and tiCOMEncryptKekAdd().
IoctlTISAEncrypt_t body |
Definition at line 1 of file encrypt_ioctl.h.
bit32 channel |
Definition at line 1 of file encrypt_ioctl.h.
Referenced by mpiGetVHistRsp().
tiEncryptDek_t dek |
Definition at line 0 of file encrypt_ioctl.h.
bit32 dek_index |
Definition at line 8 of file encrypt_ioctl.h.
bit32 dek_table |
Definition at line 9 of file encrypt_ioctl.h.
tiEncryptDekBlob_t* dekBlob |
Definition at line 5 of file encrypt_ioctl.h.
bit32 dekBlobFormat |
Definition at line 3 of file encrypt_ioctl.h.
Referenced by saEncryptDekCacheUpdate(), and tiCOMEncryptDekAdd().
bit32 dekIndex |
Definition at line 2 of file encrypt_ioctl.h.
Referenced by mpiDekManagementRsp(), saEncryptDekCacheInvalidate(), saEncryptDekCacheUpdate(), tiCOMEncryptDekAdd(), and tiCOMEncryptDekInvalidate().
EncryptDeviceDekMap_t dekMap[1] |
Definition at line 0 of file encrypt_ioctl.h.
EncryptDekMapEntry_t dekMapEntry[1] |
Definition at line 6 of file encrypt_ioctl.h.
bit32 dekTable |
Definition at line 1 of file encrypt_ioctl.h.
Referenced by saEncryptDekCacheInvalidate(), and tiCOMEncryptDekInvalidate().
tiMem_t DekTable1Addr |
Definition at line 0 of file encrypt_ioctl.h.
tiMem_t DekTable2Addr |
Definition at line 1 of file encrypt_ioctl.h.
bit32 dekTableKeyEntrySize |
Definition at line 4 of file encrypt_ioctl.h.
Referenced by saEncryptDekCacheUpdate(), and tiCOMEncryptDekAdd().
bit32 device |
Definition at line 2 of file encrypt_ioctl.h.
Referenced by siClearActiveIORequestsOnDevice(), and siCountActiveIORequestsOnDevice().
bit32 encrypt_mode |
Definition at line 11 of file encrypt_ioctl.h.
IoctlEncryptDekAdd_t encryptDekAdd |
Definition at line 3 of file encrypt_ioctl.h.
IoctlEncryptDekInvalidate_t encryptDekInvalidate |
Definition at line 4 of file encrypt_ioctl.h.
IoctlEncryptDekMapTable_t encryptDekMap |
Definition at line 6 of file encrypt_ioctl.h.
IoctlEncryptErrorQuery_t encryptErrorQuery |
Definition at line 7 of file encrypt_ioctl.h.
bit32 encryptFunction |
Definition at line 11 of file encrypt_ioctl.h.
IoctlEncryptGetInfo_t encryptGetInfo |
Definition at line 0 of file encrypt_ioctl.h.
IoctlEncryptKekAdd_t encryptKekAdd |
Definition at line 2 of file encrypt_ioctl.h.
tiEncryptKekBlob_t* EncryptKekBlob |
Definition at line 3 of file encrypt_ioctl.h.
IoctlEncryptKekNVRAM_t encryptKekNVRAM |
Definition at line 5 of file encrypt_ioctl.h.
IoctlEncryptSetMode_t encryptSetMode |
Definition at line 1 of file encrypt_ioctl.h.
unsigned long long endLBA |
Definition at line 4 of file encrypt_ioctl.h.
bit64 error_id |
Definition at line 0 of file encrypt_ioctl.h.
bit32 error_type |
Definition at line 2 of file encrypt_ioctl.h.
bit32 flags |
Definition at line 2 of file encrypt_ioctl.h.
Referenced by agtiapi_CharIoctl(), agtiapi_CheckIOTimeout(), agtiapi_DoSoftReset(), agtiapi_InitCardHW(), agtiapi_ReleaseHBA(), agtiapi_ResetCard(), agtiapi_StartIO(), agtiapi_TITimer(), mpiDekManagementRsp(), mpiDIFEncryptionOffloadCmd(), mpiGeneralEventRsp(), mpiGetDeviceHandleCmd(), mpiKekManagementRsp(), saEncryptKekUpdate(), and saGetDeviceHandles().
tiIOCTLPayloadHeader_t hdr |
Definition at line 0 of file encrypt_ioctl.h.
Referenced by agtiapi_InitCCBs(), agtiapi_PrepCCBs(), agtiapi_ReleaseCCBs(), print_tdlist_blink(), and print_tdlist_flink().
bit32 host |
Definition at line 0 of file encrypt_ioctl.h.
bit32 index |
Definition at line 0 of file encrypt_ioctl.h.
Referenced by agtiapi_IntrHandlerx_(), mpiPhyStartCmd(), mpiReadCALTable(), mpiWriteCALTable(), smsatBitClear(), smsatBitSet(), smsatBitTest(), smsatFormatUnit(), smsatModeSense10(), and tdsaParseLinkRateMode().
bit32 kek_index |
Definition at line 10 of file encrypt_ioctl.h.
bit32 kekIndex |
Definition at line 0 of file encrypt_ioctl.h.
Referenced by saEncryptDekCacheUpdate(), saEncryptKekInvalidate(), tiCOMEncryptDekAdd(), tiCOMEncryptKekAdd(), and tiCOMEncryptKekStore().
bit32 keytag |
Definition at line 5 of file encrypt_ioctl.h.
bit32 keytag_check |
Definition at line 4 of file encrypt_ioctl.h.
bit16 Length |
Definition at line 3 of file encrypt_ioctl.h.
bit32 lun |
Definition at line 3 of file encrypt_ioctl.h.
Referenced by agtiapi_attach(), agtiapi_scan(), and smTaskManagement().
bit16 MajorFunction |
Definition at line 1 of file encrypt_ioctl.h.
bit16 MinorFunction |
Definition at line 2 of file encrypt_ioctl.h.
IoctlEncryptOp_t request |
Definition at line 14 of file encrypt_ioctl.h.
bit32 scsi_cmd |
Definition at line 7 of file encrypt_ioctl.h.
bit32 securityCipherMode |
Definition at line 0 of file encrypt_ioctl.h.
Referenced by tiCOMEncryptSetMode().
bit32 Signature |
Definition at line 0 of file encrypt_ioctl.h.
Referenced by mpiWaitForConfigTable().
unsigned long long startLBA |
Definition at line 3 of file encrypt_ioctl.h.
bit16 Status |
Definition at line 4 of file encrypt_ioctl.h.
Referenced by mpiFwExtFlashUpdateRsp(), mpiPCIeDiagExecuteRsp(), mpiPhyStartEvent(), mpiPhyStopEvent(), mpiSASDiagExecuteRsp(), and mpiSASDiagStartEndRsp().
bit32 status |
Definition at line 12 of file encrypt_ioctl.h.
Referenced by agtiapi_CharIoctl(), agtiapi_CheckIOTimeout(), agtiapi_DeQueueCCB(), agtiapi_PrepareSMPSGListCB(), agtiapi_QueueCmnd_(), agtiapi_QueueSMP(), agtiapi_StartIO(), agtiapi_StartSMP(), agtiapi_StartTM(), itdssTaskCompleted(), mpiBistRsp(), mpiDekManagementRsp(), mpiDeregDevHandleRsp(), mpiDeviceRegRsp(), mpiDifEncOffloadRsp(), mpiFwFlashUpdateRsp(), mpiGeneralEventRsp(), mpiGetControllerConfigRsp(), mpiGetDeviceStateRsp(), mpiGetDevInfoRsp(), mpiGetDevInfoRspSpc(), mpiGetDFEDataRsp(), mpiGetOperatorRsp(), mpiGetPhyProfileRsp(), mpiGetVHistRsp(), mpiHWevent(), mpiKekManagementRsp(), mpiOperatorManagementRsp(), mpiPhyCntrlRsp(), mpiPortControlRsp(), mpiSASHwEventAckRsp(), mpiSasReInitializeRsp(), mpiSATAAbortRsp(), mpiSATACompletion(), mpiSetControllerConfigRsp(), mpiSetDeviceStateRsp(), mpiSetDevInfoRsp(), mpiSetNVMDataRsp(), mpiSetOperatorRsp(), mpiSetPhyProfileRsp(), mpiSMPAbortRsp(), mpiSMPCompletion(), mpiSSPAbortRsp(), mpiSSPCompletion(), ossaDeregisterDeviceHandleCB(), ossaDeviceRegistrationCB(), ossaDIFEncryptionOffloadStartCB(), ossaEncryptSelftestExecuteCB(), ossaFlashExtExecuteCB(), ossaFwFlashUpdateCB(), ossaGeneralEvent(), ossaGetDeviceInfoCB(), ossaGetDeviceStateCB(), ossaGetDFEDataCB(), ossaGetForensicDataCB(), ossaGetIOEventStatsCB(), ossaGetNVMDResponseCB(), ossaGetOperatorCB(), ossaGetPhyProfileCB(), ossaGetRegisterDumpCB(), ossaGpioResponseCB(), ossaHwCB(), ossaHwEventAckCB(), ossaLocalPhyControlCB(), ossaOperatorManagementCB(), ossaPCIeDiagExecuteCB(), ossaPortControlCB(), ossaReconfigSASParamsCB(), ossaSASDiagExecuteCB(), ossaSASDiagStartEndCB(), ossaSATAEvent(), ossaSetDeviceInfoCB(), ossaSetDeviceStateCB(), ossaSetNVMDResponseCB(), ossaSetOperatorCB(), ossaSetPhyProfileCB(), ossaSMPAbortCB(), ossaSMPCAMCompleted(), ossaVhistCaptureCB(), ostiCOMMgntIOCTLRsp(), ostiCOMMgntVPDSetIOCTLRsp(), ostiGetForensicDataIOCTLRsp(), ostiGetGpioIOCTLRsp(), ostiGetNVMDIOCTLRsp(), ostiGetPhyProfileIOCTLRsp(), ostiNumOfLUNIOCTLreq(), ostiNumOfLUNIOCTLRsp(), ostiPortEvent(), ostiSendSMPIOCTLRsp(), ostiSetNVMDIOCTLRsp(), saGetForensicData(), saGetIOErrorStats(), saGetIOEventStats(), saSSPStart(), SendSgpioRequest(), siAbnormal(), siDifAbnormal(), siFatalErrorBuffer(), siGetForensicData(), siNonFatalErrorBuffer(), siPhyStopCB(), siWaitForFatalTransfer(), siWaitForNonFatalTransfer(), smaSATAAbortCB(), smDeregisterDevice(), smIDStart(), smIOAbort(), smIOAbortAll(), smIOStart(), smLocalPhyControlCB(), smPhyControlSend(), smsataLLIOStart(), smsatChainedDataIOCB(), smsatChainedVerify(), smsatChainedVerifyCB(), smsatChainedWriteNVerify_Start_Verify(), smsatChainedWriteNVerify_Verify(), smsatChainedWriteNVerify_Write(), smsatChainedWriteNVerifyCB(), smsatCheckPowerMode(), smsatDeResetDevice(), smsatDeviceReset(), smsatExecuteDeviceDiagnostic(), smsatIDStart(), smsatIDStartCB(), smsatIDSubStart(), smsatInquiry(), smsatIOCompleted(), smsatIOStart(), smsatLogSense(), smsatLogSense_1(), smsatLogSense_2(), smsatLogSense_3(), smsatLogSenseAllocate(), smsatModeSelect10(), smsatModeSelect6(), smsatModeSelect6n10_1(), smsatModeSelect6n10CB(), smsatNonChainedWriteNVerify_Verify(), smsatNonChainedWriteNVerifyCB(), smsatPacket(), smsatPacketCB(), smsatPassthrough(), smsatRead10(), smsatRead12(), smsatRead16(), smsatRead6(), smsatRead_1(), smsatReadBuffer(), smsatReadMediaSerialNumber(), smsatReassignBlocks(), smsatReassignBlocks_2(), smsatReassignBlocksCB(), smsatRequestSense(), smsatRequestSense_1(), smsatRequestSenseCB(), smsatRequestSenseForATAPI(), smsatResetDevice(), smsatResetDeviceCB(), smsatSendDiagnostic(), smsatSendDiagnostic_1(), smsatSendDiagnostic_2(), smsatSendDiagnosticCB(), smsatSendIDDev(), smsatSendReadLogExt(), smsatSetFeaturesAA(), smsatSetFeaturesDMA(), smsatSetFeaturesDMACB(), smsatSetFeaturesPIO(), smsatSetFeaturesPIOCB(), smsatSetFeaturesReadLookAhead(), smsatSetFeaturesReadLookAheadCB(), smsatSetFeaturesVolatileWriteCache(), smsatSetFeaturesVolatileWriteCacheCB(), smsatSMARTEnable(), smsatSMARTEnableCB(), smsatStartCheckPowerMode(), smsatStartIDDev(), smsatStartResetDevice(), smsatStartStopUnit(), smsatStartStopUnit_1(), smsatStartStopUnitCB(), smsatSynchronizeCache10(), smsatSynchronizeCache16(), smsatTaskManagement(), smsatTestUnitReady(), smsatTestUnitReady_1(), smsatTestUnitReadyCB(), smsatTmAbortTask(), smsatVerify10(), smsatVerify12(), smsatVerify16(), smsatWrite10(), smsatWrite12(), smsatWrite16(), smsatWrite6(), smsatWrite_1(), smsatWriteAndVerify10(), smsatWriteAndVerify12(), smsatWriteAndVerify16(), smsatWriteBuffer(), smsatWriteSame10(), smsatWriteSame10_1(), smsatWriteSame10_2(), smsatWriteSame10_3(), smsatWriteSame10CB(), smSuperIOStart(), smTaskManagement(), tdipFWControlIoctl(), tdsaAbortAll(), tdsaDeviceInfoGetIoctl(), tdsaForensicDataGetIoctl(), tdsaGetNumOfLUNIOCTL(), tdsaGetPhyGeneralStatusIoctl(), tdsaIoErrorStatisticGetIoctl(), tdsaIoEventStatisticGetIoctl(), tdsaNVMDGetIoctl(), tdsaNVMDSetIoctl(), tdsaPhyProfileIoctl(), tdsaRegDumpGetIoctl(), tdsaRegisterIoctl(), tdsaSendBISTIoctl(), tdsaSendSMPIoctl(), tdsaSendTMFIoctl(), tdsaSGpioIoctlSetup(), tiCOMConfigureSgpio(), tiCOMInit(), tiCOMMgntIOCTL(), tiCOMPortInit(), tiCOMPortStart(), tiCOMReset(), tiCOMShutDown(), tiIniGetDirectSataSasAddr(), tiNumOfLunIOCTLreq(), tiTGTIOAbortAll(), tiTGTSendTmResp(), and ttdsaIOCompleted().
bit32 subEvent |
Definition at line 13 of file encrypt_ioctl.h.
bit64 timestamp |
Definition at line 1 of file encrypt_ioctl.h.
tiEncryptInfo_t tisaEncryptInfo |
Definition at line 0 of file encrypt_ioctl.h.
bit32 wrapperKekIndex |
Definition at line 1 of file encrypt_ioctl.h.
Referenced by saEncryptKekUpdate(), and tiCOMEncryptKekAdd().