Home
last modified time | relevance | path

Searched refs:array_handle (Results 1 – 3 of 3) sorted by relevance

/titanic_50/usr/src/cmd/raidctl/
H A Draidctl.c171 static int snapshot_array(raid_obj_handle_t array_handle,
177 raid_obj_handle_t array_handle);
575 raid_obj_handle_t array_handle = INIT_HANDLE_VALUE; in do_create_cidl() local
686 array_handle = raidcfg_create_array(comps_num, in do_create_cidl()
689 if (array_handle <= 0) { in do_create_cidl()
690 (void) fprintf(stderr, "%s\n", raidcfg_errstr(array_handle)); in do_create_cidl()
697 if ((ret = raidcfg_get_attr(array_handle, &array_attr)) < 0) { in do_create_cidl()
709 (void) print_array_table(ctl_handle, array_handle); in do_create_cidl()
737 raid_obj_handle_t array_handle = INIT_HANDLE_VALUE; in do_create_ctd() local
848 array_handle = raidcfg_create_array(disks_num + 2, in do_create_ctd()
[all …]
/titanic_50/usr/src/lib/libraidcfg/common/
H A Draidcfg.h51 int array_handle; member
H A Draidcfg.c932 raid_obj_handle_t array_handle; in raidcfg_create_array() local
993 array_handle = raid_obj_to_handle(&raid_tab_sys, obj_id); in raidcfg_create_array()
997 return (array_handle); in raidcfg_create_array()
1001 raidcfg_delete_array(int array_handle, char **plugin_err_str) in raidcfg_delete_array() argument
1009 if (raidcfg_get_type(array_handle) != OBJ_TYPE_ARRAY) { in raidcfg_delete_array()
1014 array_obj_id = raid_handle_to_obj(&raid_tab_sys, array_handle); in raidcfg_delete_array()
1055 if (hsp_relations->array_handle != OBJ_ATTR_NONE) { in raidcfg_set_hsp()
1057 hsp_relations->array_handle); in raidcfg_set_hsp()
1068 if (raidcfg_get_type(hsp_relations->array_handle) != in raidcfg_set_hsp()
1132 if (hsp_relations->array_handle != OBJ_ATTR_NONE) { in raidcfg_unset_hsp()
[all …]