---
title: IOSCSIPrimaryCommandsDevice
framework: kernel
role: symbol
role_heading: Class
path: kernel/ioscsiprimarycommandsdevice
---

# IOSCSIPrimaryCommandsDevice

## Declaration

```occ
class IOSCSIPrimaryCommandsDevice : IOSCSIProtocolInterface
```

## Topics

### Instance Methods

- [AbortCommand](kernel/ioscsiprimarycommandsdevice/1556524-abortcommand.md)
- [AbortTask](kernel/ioscsiprimarycommandsdevice/1556515-aborttask.md)
- [AbortTaskSet](kernel/ioscsiprimarycommandsdevice/1556562-aborttaskset.md)
- [CheckPowerConditionsModePage](kernel/ioscsiprimarycommandsdevice/1556567-checkpowerconditionsmodepage.md)
- [ClampPowerState](kernel/ioscsiprimarycommandsdevice/1556526-clamppowerstate.md)
- [ClearACA](kernel/ioscsiprimarycommandsdevice/1556522-clearaca.md)
- [ClearNotReadyStatus](kernel/ioscsiprimarycommandsdevice/1556465-clearnotreadystatus.md)
- [ClearPowerOnReset](kernel/ioscsiprimarycommandsdevice/1556583-clearpoweronreset.md)
- [ClearTaskSet](kernel/ioscsiprimarycommandsdevice/1556530-cleartaskset.md)
- [ExecuteCommand](kernel/ioscsiprimarycommandsdevice/1556545-executecommand.md)
- [GatedWaitForTask](kernel/ioscsiprimarycommandsdevice/1556493-gatedwaitfortask.md)
- [GetANSIVersion](kernel/ioscsiprimarycommandsdevice/1556554-getansiversion.md)
- [GetApplicationLayerReference](kernel/ioscsiprimarycommandsdevice/1556502-getapplicationlayerreference.md)
- [GetAutoSenseData](kernel/ioscsiprimarycommandsdevice/1556588-getautosensedata.md)
- [GetAutoSenseData](kernel/ioscsiprimarycommandsdevice/3516757-getautosensedata.md)
- [GetAutoSenseDataSize](kernel/ioscsiprimarycommandsdevice/1556468-getautosensedatasize.md)
- [GetCMDQUE](kernel/ioscsiprimarycommandsdevice/1556556-getcmdque.md)
- [GetDataBuffer](kernel/ioscsiprimarycommandsdevice/1556532-getdatabuffer.md)
- [GetDataTransferDirection](kernel/ioscsiprimarycommandsdevice/1556527-getdatatransferdirection.md)
- [GetDeviceCharacteristicsDictionary](kernel/ioscsiprimarycommandsdevice/1556558-getdevicecharacteristicsdictiona.md)
- [GetModeSense](kernel/ioscsiprimarycommandsdevice/1556474-getmodesense.md)
- [GetNumberOfPowerStateTransitions](kernel/ioscsiprimarycommandsdevice/1556539-getnumberofpowerstatetransitions.md)
- [GetProductString](kernel/ioscsiprimarycommandsdevice/1556520-getproductstring.md)
- [GetProtocolCharacteristicsDictionary](kernel/ioscsiprimarycommandsdevice/1556560-getprotocolcharacteristicsdictio.md)
- [GetProtocolDriver](kernel/ioscsiprimarycommandsdevice/1556594-getprotocoldriver.md)
- [GetRealizedDataTransferCount](kernel/ioscsiprimarycommandsdevice/1556571-getrealizeddatatransfercount.md)
- [GetRequestedDataTransferCount](kernel/ioscsiprimarycommandsdevice/1556552-getrequesteddatatransfercount.md)
- [GetRetryCount](kernel/ioscsiprimarycommandsdevice/1556490-getretrycount.md)
- [GetRevisionString](kernel/ioscsiprimarycommandsdevice/1556536-getrevisionstring.md)
- [GetSCSITask](kernel/ioscsiprimarycommandsdevice/1556514-getscsitask.md)
- [GetServiceResponse](kernel/ioscsiprimarycommandsdevice/1556548-getserviceresponse.md)
- [GetTaggedTaskIdentifier](kernel/ioscsiprimarycommandsdevice/1556481-gettaggedtaskidentifier.md)
- [GetTaskAttribute](kernel/ioscsiprimarycommandsdevice/1556595-gettaskattribute.md)
- [GetTaskState](kernel/ioscsiprimarycommandsdevice/1556480-gettaskstate.md)
- [GetTaskStatus](kernel/ioscsiprimarycommandsdevice/1556500-gettaskstatus.md)
- [GetTimeoutDuration](kernel/ioscsiprimarycommandsdevice/1556547-gettimeoutduration.md)
- [GetUniqueTagID](kernel/ioscsiprimarycommandsdevice/1556533-getuniquetagid.md)
- [GetVendorString](kernel/ioscsiprimarycommandsdevice/1556541-getvendorstring.md)
- [HandleIncrementOutstandingCommandsCount](kernel/ioscsiprimarycommandsdevice/1556513-handleincrementoutstandingcomman.md)
- [HandleProtocolServiceFeature](kernel/ioscsiprimarycommandsdevice/1556473-handleprotocolservicefeature.md)
- [INQUIRY](kernel/ioscsiprimarycommandsdevice/1556549-inquiry.md)
- [INQUIRY](kernel/ioscsiprimarycommandsdevice/3516758-inquiry.md)
- [IncrementOutstandingCommandsCount](kernel/ioscsiprimarycommandsdevice/1556507-incrementoutstandingcommandscoun.md)
- [InitializeDeviceSupport](kernel/ioscsiprimarycommandsdevice/1556544-initializedevicesupport.md)
- [IsDeviceAccessEnabled](kernel/ioscsiprimarycommandsdevice/1556471-isdeviceaccessenabled.md)
- [IsDeviceAccessSuspended](kernel/ioscsiprimarycommandsdevice/1556508-isdeviceaccesssuspended.md)
- [IsMemoryDescriptorValid](kernel/ioscsiprimarycommandsdevice/1556505-ismemorydescriptorvalid.md)
- [IsMemoryDescriptorValid](kernel/ioscsiprimarycommandsdevice/3516759-ismemorydescriptorvalid.md)
- [IsParameterValid](kernel/ioscsiprimarycommandsdevice/1556550-isparametervalid.md)
- [IsParameterValid](kernel/ioscsiprimarycommandsdevice/3516760-isparametervalid.md)
- [IsParameterValid](kernel/ioscsiprimarycommandsdevice/3516761-isparametervalid.md)
- [IsParameterValid](kernel/ioscsiprimarycommandsdevice/3516762-isparametervalid.md)
- [IsProtocolAccessEnabled](kernel/ioscsiprimarycommandsdevice/1556581-isprotocolaccessenabled.md)
- [IsProtocolServiceSupported](kernel/ioscsiprimarycommandsdevice/1556529-isprotocolservicesupported.md)
- [LOG_SELECT](kernel/ioscsiprimarycommandsdevice/1556487-log_select.md)
- [LOG_SENSE](kernel/ioscsiprimarycommandsdevice/1556568-log_sense.md)
- [LogicalUnitReset](kernel/ioscsiprimarycommandsdevice/1556462-logicalunitreset.md)
- [MODE_SELECT_10](kernel/ioscsiprimarycommandsdevice/1556589-mode_select_10.md)
- [MODE_SELECT_6](kernel/ioscsiprimarycommandsdevice/1556494-mode_select_6.md)
- [MODE_SENSE_10](kernel/ioscsiprimarycommandsdevice/1556538-mode_sense_10.md)
- [MODE_SENSE_6](kernel/ioscsiprimarycommandsdevice/1556517-mode_sense_6.md)
- [MapINQUIRYDataToIconFile](kernel/ioscsiprimarycommandsdevice/1556519-mapinquirydatatoiconfile.md)
- [PERSISTENT_RESERVE_IN](kernel/ioscsiprimarycommandsdevice/1556592-persistent_reserve_in.md)
- [PERSISTENT_RESERVE_OUT](kernel/ioscsiprimarycommandsdevice/1556555-persistent_reserve_out.md)
- [PREVENT_ALLOW_MEDIUM_REMOVAL](kernel/ioscsiprimarycommandsdevice/1556591-prevent_allow_medium_removal.md)
- [READ_BUFFER](kernel/ioscsiprimarycommandsdevice/1556575-read_buffer.md)
- [RECEIVE](kernel/ioscsiprimarycommandsdevice/1556516-receive.md)
- [RECEIVE_DIAGNOSTICS_RESULTS](kernel/ioscsiprimarycommandsdevice/1556478-receive_diagnostics_results.md)
- [RELEASE_10](kernel/ioscsiprimarycommandsdevice/1556570-release_10.md)
- [RELEASE_6](kernel/ioscsiprimarycommandsdevice/1556565-release_6.md)
- [REPORT_DEVICE_IDENTIFIER](kernel/ioscsiprimarycommandsdevice/1556528-report_device_identifier.md)
- [REPORT_LUNS](kernel/ioscsiprimarycommandsdevice/1556543-report_luns.md)
- [REQUEST_SENSE](kernel/ioscsiprimarycommandsdevice/1556466-request_sense.md)
- [RESERVE_10](kernel/ioscsiprimarycommandsdevice/1556489-reserve_10.md)
- [RESERVE_6](kernel/ioscsiprimarycommandsdevice/1556535-reserve_6.md)
- [ReleasePowerStateClamp](kernel/ioscsiprimarycommandsdevice/1556510-releasepowerstateclamp.md)
- [ReleaseSCSITask](kernel/ioscsiprimarycommandsdevice/1556503-releasescsitask.md)
- [ResetForNewTask](kernel/ioscsiprimarycommandsdevice/1556586-resetfornewtask.md)
- [ResumeDeviceSupport](kernel/ioscsiprimarycommandsdevice/1556491-resumedevicesupport.md)
- [RetrieveINQUIRYData](kernel/ioscsiprimarycommandsdevice/1556551-retrieveinquirydata.md)
- [SEND](kernel/ioscsiprimarycommandsdevice/1556585-send.md)
- [SEND_DIAGNOSTICS](kernel/ioscsiprimarycommandsdevice/1556477-send_diagnostics.md)
- [SET_DEVICE_IDENTIFIER](kernel/ioscsiprimarycommandsdevice/1556467-set_device_identifier.md)
- [SendCommand](kernel/ioscsiprimarycommandsdevice/1556511-sendcommand.md)
- [SendCommand](kernel/ioscsiprimarycommandsdevice/3516763-sendcommand.md)
- [SetANSIVersion](kernel/ioscsiprimarycommandsdevice/1556485-setansiversion.md)
- [SetApplicationLayerReference](kernel/ioscsiprimarycommandsdevice/1556563-setapplicationlayerreference.md)
- [SetAutosenseCommand](kernel/ioscsiprimarycommandsdevice/1556475-setautosensecommand.md)
- [SetCMDQUE](kernel/ioscsiprimarycommandsdevice/1556553-setcmdque.md)
- [SetCommandDescriptorBlock](kernel/ioscsiprimarycommandsdevice/1556506-setcommanddescriptorblock.md)
- [SetCommandDescriptorBlock](kernel/ioscsiprimarycommandsdevice/3516764-setcommanddescriptorblock.md)
- [SetCommandDescriptorBlock](kernel/ioscsiprimarycommandsdevice/3516765-setcommanddescriptorblock.md)
- [SetCommandDescriptorBlock](kernel/ioscsiprimarycommandsdevice/3516766-setcommanddescriptorblock.md)
- [SetDataBuffer](kernel/ioscsiprimarycommandsdevice/1556518-setdatabuffer.md)
- [SetDataTransferDirection](kernel/ioscsiprimarycommandsdevice/1556509-setdatatransferdirection.md)
- [SetRealizedDataTransferCount](kernel/ioscsiprimarycommandsdevice/1556593-setrealizeddatatransfercount.md)
- [SetRequestedDataTransferCount](kernel/ioscsiprimarycommandsdevice/1556582-setrequesteddatatransfercount.md)
- [SetServiceResponse](kernel/ioscsiprimarycommandsdevice/1556580-setserviceresponse.md)
- [SetTaggedTaskIdentifier](kernel/ioscsiprimarycommandsdevice/1556476-settaggedtaskidentifier.md)
- [SetTaskAttribute](kernel/ioscsiprimarycommandsdevice/1556574-settaskattribute.md)
- [SetTaskCompletionCallback](kernel/ioscsiprimarycommandsdevice/1556573-settaskcompletioncallback.md)
- [SetTaskState](kernel/ioscsiprimarycommandsdevice/1556534-settaskstate.md)
- [SetTaskStatus](kernel/ioscsiprimarycommandsdevice/1556483-settaskstatus.md)
- [SetTimeoutDuration](kernel/ioscsiprimarycommandsdevice/1556525-settimeoutduration.md)
- [StartDeviceSupport](kernel/ioscsiprimarycommandsdevice/1556479-startdevicesupport.md)
- [StopDeviceSupport](kernel/ioscsiprimarycommandsdevice/1556482-stopdevicesupport.md)
- [SuspendDeviceSupport](kernel/ioscsiprimarycommandsdevice/1556469-suspenddevicesupport.md)
- [TEST_UNIT_READY](kernel/ioscsiprimarycommandsdevice/1556495-test_unit_ready.md)
- [TargetReset](kernel/ioscsiprimarycommandsdevice/1556464-targetreset.md)
- [TaskCompletedNotification](kernel/ioscsiprimarycommandsdevice/1556590-taskcompletednotification.md)
- [TaskCompletion](kernel/ioscsiprimarycommandsdevice/1556504-taskcompletion.md)
- [TerminateDeviceSupport](kernel/ioscsiprimarycommandsdevice/1556579-terminatedevicesupport.md)
- [VerifyDeviceState](kernel/ioscsiprimarycommandsdevice/1556542-verifydevicestate.md)
- [WRITE_BUFFER](kernel/ioscsiprimarycommandsdevice/1556564-write_buffer.md)
- [free](kernel/ioscsiprimarycommandsdevice/1556523-free.md)
- [getMetaClass](kernel/ioscsiprimarycommandsdevice/1556584-getmetaclass.md)
- [init](kernel/ioscsiprimarycommandsdevice/1556488-init.md)
- [message](kernel/ioscsiprimarycommandsdevice/1556486-message.md)
- [setAggressiveness](kernel/ioscsiprimarycommandsdevice/1556561-setaggressiveness.md)
- [start](kernel/ioscsiprimarycommandsdevice/1556557-start.md)
- [stop](kernel/ioscsiprimarycommandsdevice/1556531-stop.md)

### Type Methods

- [ServerKeyswitchCallback](kernel/ioscsiprimarycommandsdevice/1556540-serverkeyswitchcallback.md)
- [TaskCallback](kernel/ioscsiprimarycommandsdevice/1556576-taskcallback.md)
- [sGetOwnerForTask](kernel/ioscsiprimarycommandsdevice/1556572-sgetownerfortask.md)
- [sIncrementOutstandingCommandsCount](kernel/ioscsiprimarycommandsdevice/1556546-sincrementoutstandingcommandscou.md)
- [sWaitForTask](kernel/ioscsiprimarycommandsdevice/1556498-swaitfortask.md)

## Relationships

### Inherits From

- [IOSCSIProtocolInterface](kernel/ioscsiprotocolinterface.md)

## See Also

### Base Types

- [IOReducedBlockServices](kernel/ioreducedblockservices.md)
- [IOSCSIPeripheralDeviceNub](kernel/ioscsiperipheraldevicenub.md)
- [IOSCSIProtocolServices](kernel/ioscsiprotocolservices.md)
- [IOSCSIProtocolInterface](kernel/ioscsiprotocolinterface.md)
