Searched refs:hsp_relation (Results 1 – 2 of 2) sorted by relevance
3585 hsp_relation_t *hsp_relation; in obj_hsp_bind() local3595 hsp_relation = malloc(sizeof (hsp_relation_t)); in obj_hsp_bind()3596 if (hsp_relation == NULL) in obj_hsp_bind()3606 free(hsp_relation); in obj_hsp_bind()3616 free(hsp_relation); in obj_hsp_bind()3627 free(hsp_relation); in obj_hsp_bind()3641 free(hsp_relation); in obj_hsp_bind()3651 free(hsp_relation); in obj_hsp_bind()3657 free(hsp_relation); in obj_hsp_bind()3666 free(hsp_relation); in obj_hsp_bind()[all …]
1180 raidcfg_hsp_relation_t hsp_relation; in do_set_hsp() local1182 (void) memset(&hsp_relation, 0, sizeof (raidcfg_hsp_relation_t)); in do_set_hsp()1287 hsp_relation.disk_handle = disk_handle; in do_set_hsp()1290 hsp_relation.array_handle = array_handle; in do_set_hsp()1293 hsp_relation.array_handle = OBJ_ATTR_NONE; in do_set_hsp()1298 if ((ret = raidcfg_set_hsp(&hsp_relation, NULL)) < 0) { in do_set_hsp()1314 if ((ret = raidcfg_unset_hsp(&hsp_relation, NULL)) < 0) { in do_set_hsp()