fio_iodimm_iterator Struct Reference

Used to iterate over ioDimms. The structure should be initialized by FIO_STRUCT_INIT. All fields of the structure are used internally by first_iodimm_handle() and next_iodimm_handle(). Fields should not be set by the caller. More...

#include <iodimm_types.h>

Data Fields

uint32_t lib_version
fio_iodimm_selector_mode mode
void * position
fio_status_result_t result

Detailed Description

Used to iterate over ioDimms. The structure should be initialized by FIO_STRUCT_INIT. All fields of the structure are used internally by first_iodimm_handle() and next_iodimm_handle(). Fields should not be set by the caller.


Field Documentation

uint32_t lib_version

Fusion SDK API version (from FIO_STRUCT_INIT)

INTERNAL: The mode being used to iterate over the devices. (FIO_IODIMM_SELECT_INDEX or FIO_IODIMM_SELECT_PCI)

void* position

INTERNAL: The current position of the iterator.

OUTPUT: The current state of the iterator. FIO_STATUS_SUCCESS indicates the last call to first_iodimm_handle() or next_iodimm_handle() returned a valid ioDimm. FIO_STATUS_DEVICE_NOT_FOUND indicates the end of the list has been reached. All other values indicate an error.


The documentation for this struct was generated from the following file:
Generated on Sun Oct 24 15:03:00 2010 for Fusion-io Device Management Public SDK by  doxygen 1.6.3