#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

macrokIOStorageClass

#define kIOStorageClass "IOStorage"

macrokIOStorageCategory

#define kIOStorageCategory "IOStorage"
(as IOMatchCategory)

macrokIOStorageFeaturesKey

#define kIOStorageFeaturesKey "IOStorageFeatures"

macrokIOStorageFeatureBarrier

#define kIOStorageFeatureBarrier "Barrier"

macrokIOStorageFeatureForceUnitAccess

#define kIOStorageFeatureForceUnitAccess "Force Unit Access"

macrokIOStorageFeaturePriority

#define kIOStorageFeaturePriority "Priority"

macrokIOStorageFeatureUnmap

#define kIOStorageFeatureUnmap "Unmap"

enum(anonymous)

underlying type unsigned int
kIOStorageUnmapOptionNone0
kIOStorageUnmapOptionWhole1
kIOStorageUnmapOptionReserved4294967294

typedefIOStorageUnmapOptions

typedef UInt32 IOStorageUnmapOptions

enum(anonymous)

underlying type unsigned int
kIOStorageAccessNone0
kIOStorageAccessReader1
kIOStorageAccessWriter2
kIOStorageAccessReaderWriter3
kIOStorageAccessSharedLock4
kIOStorageAccessExclusiveLock8
kIOStorageAccessInvalid13
kIOStorageAccessReserved4294967280

typedefIOStorageAccess

typedef UInt32 IOStorageAccess

enum(anonymous)

underlying type unsigned int
kIOStorageOptionNone0
kIOStorageOptionForceUnitAccess1
kIOStorageOptionIsEncrypted16
kIOStorageOptionIsStatic32
kIOStorageOptionReserved65486

typedefIOStorageOptions

typedef UInt16 IOStorageOptions

enum(anonymous)

underlying type unsigned int
kIOStoragePriorityHigh630 to 63
kIOStoragePriorityDefault12764 to 127
kIOStoragePriorityLow191128 to 191
kIOStoragePriorityBackground255192 to 255

typedefIOStoragePriority

typedef UInt8 IOStoragePriority

enum(anonymous)

underlying type unsigned int
kIOStorageSynchronizeOptionNone0
kIOStorageSynchronizeOptionBarrier2
kIOStorageSynchronizeOptionReserved4294967293

typedefIOStorageSynchronizeOptions

typedef UInt32 IOStorageSynchronizeOptions

structIOStorageAttributes

size 32, align 8
IOStorageOptionsoptions
IOStoragePrioritypriority
UInt8reserved0024
UInt32reserved0032
UInt64reserved0064
SInt64adjustedOffset
bufattr_tbufattr

structIOStorageExtent

size 16, align 8
UInt64byteStart
UInt64byteCount

enum(anonymous)

underlying type unsigned int
kIOStorageProvisionTypeMapped0
kIOStorageProvisionTypeDeallocated1
kIOStorageProvisionTypeAnchored2

typedefIOStorageGetProvisionStatusOptions

typedef UInt64 IOStorageGetProvisionStatusOptions

structIOStorageProvisionExtent

size 24, align 8
UInt64byteStart
UInt64byteCount
UInt8provisionType
UInt8[7]reserved

typedefIOStorageCompletionAction

typedef void (*)(void *, void *, IOReturn, UInt64) IOStorageCompletionAction;

structIOStorageCompletion

size 24, align 8
void *target
IOStorageCompletionActionaction
void *parameter