Lines Matching defs:current
523 * If the current configuration already has inconsistent replication
526 * Otherwise, make sure that the current spec (if there is one) and the new
538 * Given a list of toplevel vdevs, return the current replication level. If
788 * Check the replication level of the vdev spec against the current pool. Calls
798 replication_level_t *current = NULL, *new;
802 * If we have a current pool configuration, check to see if it's
810 if ((current = get_replication(nvroot, B_FALSE)) == NULL)
819 free(current);
827 free(current);
836 free(current);
842 * the current pool.
845 if (current != NULL) {
846 if (strcmp(current->zprl_type, new->zprl_type) != 0) {
850 current->zprl_type, new->zprl_type);
852 } else if (current->zprl_parity != new->zprl_parity) {
856 current->zprl_parity, new->zprl_parity);
858 } else if (current->zprl_children != new->zprl_children) {
862 current->zprl_children, current->zprl_type,
869 if (current != NULL)
870 free(current);
1414 * parameter is the current configuration of the pool when adding devices