Home
last modified time | relevance | path

Searched refs:rmvd (Results 1 – 5 of 5) sorted by relevance

/titanic_41/usr/src/cmd/lvm/metassist/layout/
H A Dlayout_concat.c414 dlist_t *rmvd = NULL; in populate_concat() local
445 compare_devconfig_and_descriptor_names, &rmvd); in populate_concat()
447 if (rmvd != NULL) { in populate_concat()
448 free(rmvd); in populate_concat()
H A Dlayout_slice.c2271 rmvdslice_t *rmvd = NULL; in add_slice_to_remove() local
2276 rmvd = (rmvdslice_t *)calloc(1, sizeof (rmvdslice_t)); in add_slice_to_remove()
2277 if (rmvd == NULL) { in add_slice_to_remove()
2280 rmvd->slice_index = index; in add_slice_to_remove()
2281 if ((rmvd->slice_name = strdup(name)) == NULL) { in add_slice_to_remove()
2282 free(rmvd); in add_slice_to_remove()
2285 dlist_t *item = dlist_new_item((void *) rmvd); in add_slice_to_remove()
2287 free(rmvd->slice_name); in add_slice_to_remove()
2288 free(rmvd); in add_slice_to_remove()
2319 rmvdslice_t *rmvd = (rmvdslice_t *)obj; in free_rmvd_slice() local
[all …]
H A Dlayout_stripe.c523 dlist_t *rmvd = NULL; in populate_stripe() local
558 compare_devconfig_and_descriptor_names, &rmvd); in populate_stripe()
560 if (rmvd != NULL) { in populate_stripe()
561 free(rmvd); in populate_stripe()
H A Dlayout_hsp.c915 dlist_t *rmvd = NULL; in choose_spare_for_component() local
938 &rmvd); in choose_spare_for_component()
940 if (rmvd != NULL) { in choose_spare_for_component()
941 free(rmvd); in choose_spare_for_component()
H A Dlayout.c848 rmvdslice_t *rmvd = (rmvdslice_t *)iter->obj; in get_removed_slices_for_disks() local
855 (void) get_disk_for_named_slice(rmvd->slice_name, &disk); in get_removed_slices_for_disks()
867 moddisk->accessname, rmvd->slice_index, &sname)) != 0) || in get_removed_slices_for_disks()