Lines Matching full:array
87 * Identify array (logical device) and physical device.
93 * Array types
94 * GUI will treat all array as 1-level RAID. No RAID0/1 or RAID1/0.
96 * Their members may be another array of type RAID0 or RAID1.
146 * array flags
148 #define ARRAY_FLAG_DISABLED 0x00000001 /* The array is disabled */
149 #define ARRAY_FLAG_NEEDBUILDING 0x00000002 /* array data need to be rebuilt */
150 #define ARRAY_FLAG_REBUILDING 0x00000004 /* array is in rebuilding process */
152 #define ARRAY_FLAG_BOOTDISK 0x00000010 /* array has a active partition */
154 #define ARRAY_FLAG_BOOTMARK 0x00000040 /* array has boot mark set */
159 #define ARRAY_FLAG_NEEDTRANSFORM 0x00000800 /* array need transform */
160 #define ARRAY_FLAG_NEEDINITIALIZING 0x00001000 /* the array's initialization hasn't finished*/
164 #define ARRAY_FLAG_ZERO_STARTING 0x40000000 /* start lba of all members of this array is 0 */
179 …VICE_FLAG_UNINITIALIZED 0x00010000 /* device is not initialized, can't be used to create array */
192 * array states used by hpt_set_array_state()
412 /* maximum members in an array corresponding to SupportedRAIDTypes */
683 * Array information.
686 HPT_U8 Name[MAX_ARRAYNAME_LEN];/* array name */
687 HPT_U8 Description[64]; /* array description */
691 HPT_U8 ArrayType; /* array type */
697 HPT_U32 Members[MAX_ARRAY_MEMBERS_V1]; /* member array/disks */
713 HPT_U8 Name[MAX_ARRAYNAME_LEN];/* array name */
714 HPT_U8 Description[64]; /* array description */
718 HPT_U8 ArrayType; /* array type */
724 HPT_U32 Members[MAX_ARRAY_MEMBERS_V2]; /* member array/disks */
735 HPT_U8 Name[MAX_ARRAYNAME_LEN];/* array name */
736 HPT_U8 Description[64]; /* array description */
740 HPT_U8 ArrayType; /* array type */
746 HPT_U32 Members[MAX_ARRAY_MEMBERS_V2]; /* member array/disks */
768 HPT_U8 Name[MAX_ARRAYNAME_LEN];/* array name */
769 HPT_U8 Description[64]; /* array description */
773 HPT_U8 ArrayType; /* array type */
790 HPT_U32 Members[MAX_ARRAY_MEMBERS_V3]; /* member array/disks */
984 HPT_U32 Capacity; /* array capacity */
988 HPT_ARRAY_INFO array; member
999 HPT_U64 Capacity; /* array capacity */
1005 HPT_ARRAY_INFO_V2 array; member
1021 HPT_U64 Capacity; /* array capacity */
1031 HPT_ARRAY_INFO_V3 array; member
1050 HPT_U64 Capacity; /* array capacity */
1060 HPT_ARRAY_INFO_V4 array; member
1092 HPT_U8 Name[MAX_ARRAYNAME_LEN]; /* array name */
1093 HPT_U8 Description[64]; /* array description */
1154 * Param structure used to create an array.
1157 HPT_U8 ArrayType; /* 1-level array type */
1158 HPT_U8 nDisk; /* number of elements in Members[] array */
1162 HPT_U8 ArrayName[MAX_ARRAYNAME_LEN];/* Array name */
1163 HPT_U8 Description[64]; /* array description */
1167 HPT_U32 Members[MAX_ARRAY_MEMBERS_V1];/* ID of array members, a member can be an array */
1173 HPT_U8 ArrayType; /* 1-level array type */
1174 HPT_U8 nDisk; /* number of elements in Members[] array */
1178 HPT_U8 ArrayName[MAX_ARRAYNAME_LEN];/* Array name */
1179 HPT_U8 Description[64]; /* array description */
1184 HPT_U32 Members[MAX_ARRAY_MEMBERS_V2];/* ID of array members, a member can be an array */
1195 HPT_U8 subDisks; /* RAIDn0 sub array */
1197 HPT_U8 ArrayType; /* 1-level array type */
1198 HPT_U8 nDisk; /* number of elements in Members[] array */
1202 HPT_U8 ArrayName[MAX_ARRAYNAME_LEN];/* Array name */
1203 HPT_U8 Description[64]; /* array description */
1208 HPT_U32 Members[MAX_ARRAY_MEMBERS_V3];/* ID of array members, a member can be an array */
1219 * Flags used for creating an RAID 1 array
1223 * to create an array, GUI will call CreateArray() with this flag set. Then GUI should
1224 * call hpt_get_device_info() with the returned array ID and check returned flags to
1228 * If the duplication is aborted or fails, do not create the array.
1234 * Flags used for creating an RAID 5 array
1256 /* Flags used for deleting an array
1259 * If this flag is set, deleting a RAID 1 array will not destroy the data on both disks.
1261 * Deleting a RAID 0/1 should result as two RAID 0 array ( not implement now ).
1603 * pIds pointer to a DEVICEID array
1604 * nMaxCount array size
1606 * Number of ID returned. All logical device IDs are put into pIds array.
1614 * pIds pointer to a DEVICEID array
1615 * nMaxCount array size
1617 * Number of ID returned. All physical device IDs are put into pIds array.
1637 * else return array id
1644 * id array id
1651 * Read/write data on array and physcal device.
1654 * id device id. If it's an array ID, IO will be performed on the array.
1665 * Used to dynamicly add a disk to an RAID1, RAID0/1, RAID1/0 or RAID5 array.
1669 * idArray array id
1688 * Add a spare disk to an array
1691 * idArray array id
1721 * idArray Array ID (RAID1, 0/1 or RAID5)
1722 * Lba Start LBA for each array member
1723 * nSector Number of sectors for each array member (RAID 5 will ignore this parameter)
1732 * set array state.
1735 * idArray Array ID
1736 * state See above 'array states' constants, possible values are:
1738 * Indicate that GUI wants to rebuild a mirror array
1740 * GUI wants to abort rebuilding an array
1742 * GUI finished to rebuild an array. If rebuild is done by driver this
1751 * set array info.
1754 * idArray Array ID
1863 * idArray - Array ID
1864 * Lba - block number (on each array member, not logical block!)
1877 * idArray - Array ID
1878 * Lba - block number (on each array member, not logical block!)
1889 * idArray - Array ID
1890 * Lba - block number (on each array member, not logical block!)
1940 * else return array id
1952 * else return array id
1998 * idArray - source array
1999 * destInfo - destination array info
2001 * destination array id
2011 * idArray - source array
2012 * destInfo - destination array info
2014 * destination array id
2025 * idArray - destination array ID
2035 * set information for disk or array
2052 * pIds - array of DEVICEID
2062 * cap max capacity of the array user want to create or transform
2065 * source - if transform, this is the source array, otherwise, it should be zero
2066 * destInfo - target array params
2069 * cap - max capacity of the target array
2076 * cap max capacity of the array user want to create or transform
2079 * source - if transform, this is the source array, otherwise, it should be zero
2080 * destInfo - target array params
2083 * cap - max capacity of the target array
2093 * idArray Array ID (RAID1, 0/1 or RAID5)
2094 * Lba Start LBA for each array member
2095 * nSector Number of sectors for each array member (RAID 5 will ignore this parameter)
2108 * idArray - Array ID
2109 * Lba - block number (on each array member, not logical block!)
2124 * idArray - Array ID
2125 * Lba - block number (on each array member, not logical block!)