IOStorage.h

Includes:

Overview

This header contains the IOStorage class definition.



Macro Definitions

kIOStorageCategory

kIOStorageCategory is a value for IOService's kIOMatchCategoryKey property.

kIOStorageClass

The name of the IOStorage class.

kIOStorageFeatureDiscard

Describes the presence of the Discard feature.

kIOStorageFeatureForceUnitAccess

Describes the presence of the Force Unit Access feature.

kIOStorageFeaturesKey

A property of any object in the storage stack.


kIOStorageCategory


kIOStorageCategory is a value for IOService's kIOMatchCategoryKey property.

#define kIOStorageCategory "IOStorage" /* (as IOMatchCategory) */
Discussion

The kIOStorageCategory value is the standard value for the IOService property kIOMatchCategoryKey ("IOMatchCategory") for all storage drivers. All storage objects that expect to drive new content (that is, produce new media objects) are expected to compete within the kIOStorageCategory namespace.

See the IOService documentation for more information on match categories.


kIOStorageClass


The name of the IOStorage class.

#define kIOStorageClass "IOStorage" 


kIOStorageFeatureDiscard


Describes the presence of the Discard feature.

#define kIOStorageFeatureDiscard "Discard" 
Discussion

This property describes the ability of the storage stack to delete unused data from the media. It is one of the feature entries listed under the top- level kIOStorageFeaturesKey property table. It has an OSBoolean value.


kIOStorageFeatureForceUnitAccess


Describes the presence of the Force Unit Access feature.

#define kIOStorageFeatureForceUnitAccess "Force Unit Access" 
Discussion

This property describes the ability of the storage stack to force a request to access the media. It is one of the feature entries listed under the top- level kIOStorageFeaturesKey property table. It has an OSBoolean value.


kIOStorageFeaturesKey


A property of any object in the storage stack.

#define kIOStorageFeaturesKey "IOStorageFeatures" 
Discussion

kIOStorageFeaturesKey is a property of any object in the storage stack that wishes to express support of additional features, such as Force Unit Access. It is typically defined in the device object below the block storage driver object. It has an OSDictionary value, where each entry describes one given feature.

 

Did this document help you? Yes It's good, but... Not helpful...

 

Last Updated: 2009-10-15