Home
last modified time | relevance | path

Searched refs:array_attr (Results 1 – 2 of 2) sorted by relevance

/titanic_50/usr/src/lib/libraidcfg/common/
H A Draidcfg.c674 array_attr_t *array_attr; in raidcfg_get_attr() local
692 (void **)(&array_attr)); in raidcfg_get_attr()
699 array_attr->tag.idl.target_id; in raidcfg_get_attr()
700 dst->tag.idl.lun = array_attr->tag.idl.lun; in raidcfg_get_attr()
931 array_attr_t *array_attr; in raidcfg_create_array() local
974 array_attr = raid_obj_get_data_ptr(&raid_tab_sys, obj_id); in raidcfg_create_array()
975 array_attr->array_id = (uint32_t)OBJ_ATTR_NONE; in raidcfg_create_array()
976 array_attr->raid_level = raid_level; in raidcfg_create_array()
977 array_attr->capacity = size; in raidcfg_create_array()
978 array_attr->stripe_size = stripe_size; in raidcfg_create_array()
[all …]
/titanic_50/usr/src/cmd/raidctl/
H A Draidctl.c580 raidcfg_array_t array_attr; in do_create_cidl() local
697 if ((ret = raidcfg_get_attr(array_handle, &array_attr)) < 0) { in do_create_cidl()
705 "successfully!\n"), ctl_tag, array_attr.tag.idl.target_id, in do_create_cidl()
706 array_attr.tag.idl.lun); in do_create_cidl()
741 raidcfg_array_t array_attr; in do_create_ctd() local
859 if ((ret = raidcfg_get_attr(array_handle, &array_attr)) < 0) { in do_create_ctd()
872 ctl_tag, array_attr.tag.idl.target_id, in do_create_ctd()
873 array_attr.tag.idl.lun); in do_create_ctd()
1533 raidcfg_array_t array_attr; in snapshot_array() local
1554 if ((ret = raidcfg_get_attr(array_handle, &array_attr)) < 0) { in snapshot_array()
[all …]