#include <IOKit/storage/IOStorage.h>
IOKit/storage/IOStorage.h Kernel.framework
@header IOStorage
@abstract
This header contains the IOStorage class definition.
7 macros · 7 typedefs · 6 enums · 4 structs
#define kIOStorageClass "IOStorage"
#define kIOStorageCategory "IOStorage"
(as IOMatchCategory)
#define kIOStorageFeaturesKey "IOStorageFeatures"
#define kIOStorageFeatureBarrier "Barrier"
#define kIOStorageFeatureForceUnitAccess "Force Unit Access"
#define kIOStorageFeaturePriority "Priority"
#define kIOStorageFeatureUnmap "Unmap"
underlying type unsigned int
| kIOStorageUnmapOptionNone | 0 | |
| kIOStorageUnmapOptionWhole | 1 | |
| kIOStorageUnmapOptionReserved | 4294967294 | |
typedef UInt32 IOStorageUnmapOptions
underlying type unsigned int
| kIOStorageAccessNone | 0 | |
| kIOStorageAccessReader | 1 | |
| kIOStorageAccessWriter | 2 | |
| kIOStorageAccessReaderWriter | 3 | |
| kIOStorageAccessSharedLock | 4 | |
| kIOStorageAccessExclusiveLock | 8 | |
| kIOStorageAccessInvalid | 13 | |
| kIOStorageAccessReserved | 4294967280 | |
typedef UInt32 IOStorageAccess
underlying type unsigned int
| kIOStorageOptionNone | 0 | |
| kIOStorageOptionForceUnitAccess | 1 | |
| kIOStorageOptionIsEncrypted | 16 | |
| kIOStorageOptionIsStatic | 32 | |
| kIOStorageOptionReserved | 65486 | |
typedef UInt16 IOStorageOptions
underlying type unsigned int
| kIOStoragePriorityHigh | 63 | 0 to 63 |
| kIOStoragePriorityDefault | 127 | 64 to 127 |
| kIOStoragePriorityLow | 191 | 128 to 191 |
| kIOStoragePriorityBackground | 255 | 192 to 255 |
typedef UInt8 IOStoragePriority
underlying type unsigned int
| kIOStorageSynchronizeOptionNone | 0 | |
| kIOStorageSynchronizeOptionBarrier | 2 | |
| kIOStorageSynchronizeOptionReserved | 4294967293 | |
typedef UInt32 IOStorageSynchronizeOptions
underlying type unsigned int
| kIOStorageProvisionTypeMapped | 0 | |
| kIOStorageProvisionTypeDeallocated | 1 | |
| kIOStorageProvisionTypeAnchored | 2 | |
typedef UInt64 IOStorageGetProvisionStatusOptions
typedef void (*)(void *, void *, IOReturn, UInt64) IOStorageCompletionAction;