get_seg_list_from_ds
if ((err = get_seg_list_from_ds(container, &seg_list))
err = get_seg_list_from_ds(container, list);