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*/
172 …VICE_FLAG_UNINITIALIZED 0x00010000 /* device is not initialized, can't be used to create array */
178 * array states used by hpt_set_array_state()
370 /* maximum members in an array corresponding to SupportedRAIDTypes */
488 * Array information.
491 HPT_U8 Name[MAX_ARRAYNAME_LEN];/* array name */
492 HPT_U8 Description[64]; /* array description */
496 HPT_U8 ArrayType; /* array type */
502 HPT_U32 Members[MAX_ARRAY_MEMBERS_V1]; /* member array/disks */
518 HPT_U8 Name[MAX_ARRAYNAME_LEN];/* array name */
519 HPT_U8 Description[64]; /* array description */
523 HPT_U8 ArrayType; /* array type */
529 HPT_U32 Members[MAX_ARRAY_MEMBERS_V2]; /* member array/disks */
540 HPT_U8 Name[MAX_ARRAYNAME_LEN];/* array name */
541 HPT_U8 Description[64]; /* array description */
545 HPT_U8 ArrayType; /* array type */
551 HPT_U32 Members[MAX_ARRAY_MEMBERS_V2]; /* member array/disks */
573 HPT_U8 Name[MAX_ARRAYNAME_LEN];/* array name */
574 HPT_U8 Description[64]; /* array description */
578 HPT_U8 ArrayType; /* array type */
595 HPT_U32 Members[MAX_ARRAY_MEMBERS_V3]; /* member array/disks */
792 HPT_U32 Capacity; /* array capacity */
796 HPT_ARRAY_INFO array; member
807 HPT_U64 Capacity; /* array capacity */
813 HPT_ARRAY_INFO_V2 array; member
829 HPT_U64 Capacity; /* array capacity */
839 HPT_ARRAY_INFO_V3 array; member
858 HPT_U64 Capacity; /* array capacity */
868 HPT_ARRAY_INFO_V4 array; member
899 HPT_U8 Name[MAX_ARRAYNAME_LEN]; /* array name */
900 HPT_U8 Description[64]; /* array description */
955 * Param structure used to create an array.
958 HPT_U8 ArrayType; /* 1-level array type */
959 HPT_U8 nDisk; /* number of elements in Members[] array */
963 HPT_U8 ArrayName[MAX_ARRAYNAME_LEN];/* Array name */
964 HPT_U8 Description[64]; /* array description */
968 HPT_U32 Members[MAX_ARRAY_MEMBERS_V1];/* ID of array members, a member can be an array */
974 HPT_U8 ArrayType; /* 1-level array type */
975 HPT_U8 nDisk; /* number of elements in Members[] array */
979 HPT_U8 ArrayName[MAX_ARRAYNAME_LEN];/* Array name */
980 HPT_U8 Description[64]; /* array description */
985 HPT_U32 Members[MAX_ARRAY_MEMBERS_V2];/* ID of array members, a member can be an array */
996 HPT_U8 ArrayType; /* 1-level array type */
997 HPT_U8 nDisk; /* number of elements in Members[] array */
1001 HPT_U8 ArrayName[MAX_ARRAYNAME_LEN];/* Array name */
1002 HPT_U8 Description[64]; /* array description */
1007 HPT_U32 Members[MAX_ARRAY_MEMBERS_V3];/* ID of array members, a member can be an array */
1018 * Flags used for creating an RAID 1 array
1022 * to create an array, GUI will call CreateArray() with this flag set. Then GUI should
1023 * call hpt_get_device_info() with the returned array ID and check returned flags to
1027 * If the duplication is aborted or fails, do not create the array.
1033 * Flags used for creating an RAID 5 array
1055 /* Flags used for deleting an array
1058 * If this flag is set, deleting a RAID 1 array will not destroy the data on both disks.
1060 * Deleting a RAID 0/1 should result as two RAID 0 array ( not implement now ).
1331 * pIds pointer to a DEVICEID array
1332 * nMaxCount array size
1334 * Number of ID returned. All logical device IDs are put into pIds array.
1355 * else return array id
1362 * id array id
1369 * Read/write data on array and physcal device.
1372 * id device id. If it's an array ID, IO will be performed on the array.
1383 * Used to dynamicly add a disk to an RAID1, RAID0/1, RAID1/0 or RAID5 array.
1387 * idArray array id
1406 * Add a spare disk to an array
1409 * idArray array id
1439 * idArray Array ID (RAID1, 0/1 or RAID5)
1440 * Lba Start LBA for each array member
1441 * nSector Number of sectors for each array member (RAID 5 will ignore this parameter)
1450 * set array state.
1453 * idArray Array ID
1454 * state See above 'array states' constants, possible values are:
1456 * Indicate that GUI wants to rebuild a mirror array
1458 * GUI wants to abort rebuilding an array
1460 * GUI finished to rebuild an array. If rebuild is done by driver this
1469 * set array info.
1472 * idArray Array ID
1580 * idArray - Array ID
1581 * Lba - block number (on each array member, not logical block!)
1594 * idArray - Array ID
1595 * Lba - block number (on each array member, not logical block!)
1606 * idArray - Array ID
1607 * Lba - block number (on each array member, not logical block!)
1657 * else return array id
1669 * else return array id
1715 * idArray - source array
1716 * destInfo - destination array info
1718 * destination array id
1728 * idArray - source array
1729 * destInfo - destination array info
1731 * destination array id
1742 * idArray - destination array ID
1752 * set information for disk or array
1769 * pIds - array of DEVICEID
1779 * cap max capacity of the array user want to create or transform
1782 * source - if transform, this is the source array, otherwise, it should be zero
1783 * destInfo - target array params
1786 * cap - max capacity of the target array
1793 * cap max capacity of the array user want to create or transform
1796 * source - if transform, this is the source array, otherwise, it should be zero
1797 * destInfo - target array params
1800 * cap - max capacity of the target array
1810 * idArray Array ID (RAID1, 0/1 or RAID5)
1811 * Lba Start LBA for each array member
1812 * nSector Number of sectors for each array member (RAID 5 will ignore this parameter)
1825 * idArray - Array ID
1826 * Lba - block number (on each array member, not logical block!)
1841 * idArray - Array ID
1842 * Lba - block number (on each array member, not logical block!)