Lines Matching full:array
86 * Identify array (logical device) and physical device.
92 * Array types
93 * GUI will treat all array as 1-level RAID. No RAID0/1 or RAID1/0.
95 * Their members may be another array of type RAID0 or RAID1.
144 * array flags
146 #define ARRAY_FLAG_DISABLED 0x00000001 /* The array is disabled */
147 #define ARRAY_FLAG_NEEDBUILDING 0x00000002 /* array data need to be rebuilt */
148 #define ARRAY_FLAG_REBUILDING 0x00000004 /* array is in rebuilding process */
150 #define ARRAY_FLAG_BOOTDISK 0x00000010 /* array has a active partition */
152 #define ARRAY_FLAG_BOOTMARK 0x00000040 /* array has boot mark set */
157 #define ARRAY_FLAG_NEEDTRANSFORM 0x00000800 /* array need transform */
158 #define ARRAY_FLAG_NEEDINITIALIZING 0x00001000 /* the array's initialization hasn't finished*/
162 #define ARRAY_FLAG_ZERO_STARTING 0x40000000 /* start lba of all members of this array is 0 */
175 …VICE_FLAG_UNINITIALIZED 0x00010000 /* device is not initialized, can't be used to create array */
188 * array states used by hpt_set_array_state()
408 /* maximum members in an array corresponding to SupportedRAIDTypes */
679 * Array information.
682 HPT_U8 Name[MAX_ARRAYNAME_LEN];/* array name */
683 HPT_U8 Description[64]; /* array description */
687 HPT_U8 ArrayType; /* array type */
693 HPT_U32 Members[MAX_ARRAY_MEMBERS_V1]; /* member array/disks */
709 HPT_U8 Name[MAX_ARRAYNAME_LEN];/* array name */
710 HPT_U8 Description[64]; /* array description */
714 HPT_U8 ArrayType; /* array type */
720 HPT_U32 Members[MAX_ARRAY_MEMBERS_V2]; /* member array/disks */
731 HPT_U8 Name[MAX_ARRAYNAME_LEN];/* array name */
732 HPT_U8 Description[64]; /* array description */
736 HPT_U8 ArrayType; /* array type */
742 HPT_U32 Members[MAX_ARRAY_MEMBERS_V2]; /* member array/disks */
764 HPT_U8 Name[MAX_ARRAYNAME_LEN];/* array name */
765 HPT_U8 Description[64]; /* array description */
769 HPT_U8 ArrayType; /* array type */
786 HPT_U32 Members[MAX_ARRAY_MEMBERS_V3]; /* member array/disks */
980 HPT_U32 Capacity; /* array capacity */
984 HPT_ARRAY_INFO array; member
995 HPT_U64 Capacity; /* array capacity */
1001 HPT_ARRAY_INFO_V2 array; member
1017 HPT_U64 Capacity; /* array capacity */
1027 HPT_ARRAY_INFO_V3 array; member
1046 HPT_U64 Capacity; /* array capacity */
1056 HPT_ARRAY_INFO_V4 array; member
1088 HPT_U8 Name[MAX_ARRAYNAME_LEN]; /* array name */
1089 HPT_U8 Description[64]; /* array description */
1150 * Param structure used to create an array.
1153 HPT_U8 ArrayType; /* 1-level array type */
1154 HPT_U8 nDisk; /* number of elements in Members[] array */
1158 HPT_U8 ArrayName[MAX_ARRAYNAME_LEN];/* Array name */
1159 HPT_U8 Description[64]; /* array description */
1163 HPT_U32 Members[MAX_ARRAY_MEMBERS_V1];/* ID of array members, a member can be an array */
1169 HPT_U8 ArrayType; /* 1-level array type */
1170 HPT_U8 nDisk; /* number of elements in Members[] array */
1174 HPT_U8 ArrayName[MAX_ARRAYNAME_LEN];/* Array name */
1175 HPT_U8 Description[64]; /* array description */
1180 HPT_U32 Members[MAX_ARRAY_MEMBERS_V2];/* ID of array members, a member can be an array */
1191 HPT_U8 subDisks; /* RAIDn0 sub array */
1193 HPT_U8 ArrayType; /* 1-level array type */
1194 HPT_U8 nDisk; /* number of elements in Members[] array */
1198 HPT_U8 ArrayName[MAX_ARRAYNAME_LEN];/* Array name */
1199 HPT_U8 Description[64]; /* array description */
1204 HPT_U32 Members[MAX_ARRAY_MEMBERS_V3];/* ID of array members, a member can be an array */
1215 * Flags used for creating an RAID 1 array
1219 * to create an array, GUI will call CreateArray() with this flag set. Then GUI should
1220 * call hpt_get_device_info() with the returned array ID and check returned flags to
1224 * If the duplication is aborted or fails, do not create the array.
1230 * Flags used for creating an RAID 5 array
1252 /* Flags used for deleting an array
1255 * If this flag is set, deleting a RAID 1 array will not destroy the data on both disks.
1257 * Deleting a RAID 0/1 should result as two RAID 0 array ( not implement now ).
1599 * pIds pointer to a DEVICEID array
1600 * nMaxCount array size
1602 * Number of ID returned. All logical device IDs are put into pIds array.
1610 * pIds pointer to a DEVICEID array
1611 * nMaxCount array size
1613 * Number of ID returned. All physical device IDs are put into pIds array.
1633 * else return array id
1640 * id array id
1647 * Read/write data on array and physcal device.
1650 * id device id. If it's an array ID, IO will be performed on the array.
1661 * Used to dynamicly add a disk to an RAID1, RAID0/1, RAID1/0 or RAID5 array.
1665 * idArray array id
1684 * Add a spare disk to an array
1687 * idArray array id
1717 * idArray Array ID (RAID1, 0/1 or RAID5)
1718 * Lba Start LBA for each array member
1719 * nSector Number of sectors for each array member (RAID 5 will ignore this parameter)
1728 * set array state.
1731 * idArray Array ID
1732 * state See above 'array states' constants, possible values are:
1734 * Indicate that GUI wants to rebuild a mirror array
1736 * GUI wants to abort rebuilding an array
1738 * GUI finished to rebuild an array. If rebuild is done by driver this
1747 * set array info.
1750 * idArray Array ID
1859 * idArray - Array ID
1860 * Lba - block number (on each array member, not logical block!)
1873 * idArray - Array ID
1874 * Lba - block number (on each array member, not logical block!)
1885 * idArray - Array ID
1886 * Lba - block number (on each array member, not logical block!)
1936 * else return array id
1948 * else return array id
1994 * idArray - source array
1995 * destInfo - destination array info
1997 * destination array id
2007 * idArray - source array
2008 * destInfo - destination array info
2010 * destination array id
2021 * idArray - destination array ID
2031 * set information for disk or array
2048 * pIds - array of DEVICEID
2058 * cap max capacity of the array user want to create or transform
2061 * source - if transform, this is the source array, otherwise, it should be zero
2062 * destInfo - target array params
2065 * cap - max capacity of the target array
2072 * cap max capacity of the array user want to create or transform
2075 * source - if transform, this is the source array, otherwise, it should be zero
2076 * destInfo - target array params
2079 * cap - max capacity of the target array
2089 * idArray Array ID (RAID1, 0/1 or RAID5)
2090 * Lba Start LBA for each array member
2091 * nSector Number of sectors for each array member (RAID 5 will ignore this parameter)
2104 * idArray - Array ID
2105 * Lba - block number (on each array member, not logical block!)
2120 * idArray - Array ID
2121 * Lba - block number (on each array member, not logical block!)