Lines Matching defs:array_attr

674 			array_attr_t *array_attr;
692 (void **)(&array_attr));
699 array_attr->tag.idl.target_id;
700 dst->tag.idl.lun = array_attr->tag.idl.lun;
931 array_attr_t *array_attr;
974 array_attr = raid_obj_get_data_ptr(&raid_tab_sys, obj_id);
975 array_attr->array_id = (uint32_t)OBJ_ATTR_NONE;
976 array_attr->raid_level = raid_level;
977 array_attr->capacity = size;
978 array_attr->stripe_size = stripe_size;
979 array_attr->write_policy = CACHE_WR_ON;
980 array_attr->read_policy = CACHE_RD_ON;
1517 array_attr_t *array_attr;
1557 array_attr = raid_obj_get_data_ptr(raid_tab, obj_id);
1558 raid_handle_sys.handles[handle].array_id = array_attr->array_id;
1589 array_attr = raid_obj_get_data_ptr(raid_tab, obj_id);
1591 array_attr->array_id;
2379 array_attr_t *array_attr;
2391 array_attr = attr_buf;
2392 array_attr->array_id = *(ids + i);
2665 array_attr_t *array_attr;
2678 array_attr = attr_buf;
2679 array_attr->array_id = *(ids + i);
3020 array_attr_t *array_attr;
3040 array_attr = raid_obj_get_data_ptr(raid_tab, array_obj_id);
3041 if (array_attr == NULL)
3059 array_attr->array_id, attr->disk_id,
3232 array_attr_t *array_attr, array_attr2;
3241 array_attr = raid_obj_get_data_ptr(raid_tab, array_obj_id);
3242 if (array_attr == NULL)
3266 switch (array_attr->raid_level) {
3288 switch (array_attr->raid_level) {
3392 if (array_attr->capacity != 0) {
3431 switch (array_attr->raid_level) {
3474 (void) memcpy(&array_attr2, array_attr, sizeof (array_attr_t));
3500 if (array_attr->capacity > array_attr2.capacity) {
3506 if (array_attr->capacity == 0)
3507 array_attr->capacity = array_attr2.capacity;
3511 } else if (array_attr2.capacity < array_attr->capacity) {
3513 array_attr->capacity = array_attr2.capacity;
3518 if (array_attr->capacity < ARRAYPART_MIN_SIZE * disk_cnt) {
3525 array_attr, num_of_comp, arraypart_attrs, plugin_err_str);
3543 array_attr_t *array_attr;
3557 ret = obj_get_attr(raid_tab, array_obj_id, (void **)(&array_attr));
3567 array_attr->array_id, plugin_err_str);
3587 array_attr_t *array_attr;
3663 (void **)(&array_attr));
3665 if (array_attr->raid_level == RAID_LEVEL_0) {
3678 if ((array_attr->raid_level == RAID_LEVEL_10) ||
3679 (array_attr->raid_level == RAID_LEVEL_50))
3726 hsp_relation->array_id = array_attr->array_id;
3756 array_attr_t *array_attr;
3812 (void **)(&array_attr));
3832 array_attr->array_id ||
3851 hsp_relation->array_id = array_attr->array_id;