Lines Matching refs:current
562 * If the current configuration already has inconsistent replication
565 * Otherwise, make sure that the current spec (if there is one) and the new
577 * Given a list of toplevel vdevs, return the current replication level. If
846 * Check the replication level of the vdev spec against the current pool. Calls
856 replication_level_t *current = NULL, *new;
860 * If we have a current pool configuration, check to see if it's
868 if ((current = get_replication(nvroot, B_FALSE)) == NULL)
877 free(current);
885 free(current);
894 free(current);
900 * the current pool.
903 if (current != NULL) {
904 if (strcmp(current->zprl_type, new->zprl_type) != 0) {
908 current->zprl_type, new->zprl_type);
910 } else if (current->zprl_parity != new->zprl_parity) {
914 current->zprl_parity, new->zprl_parity);
916 } else if (current->zprl_children != new->zprl_children) {
920 current->zprl_children, current->zprl_type,
927 if (current != NULL)
928 free(current);
1520 * parameter is the current configuration of the pool when adding devices