list_delta 1341 tools/crm_resource_runtime.c GList *list_delta = NULL; list_delta 1480 tools/crm_resource_runtime.c list_delta = pcmk__subtract_lists(current_active, target_active, (GCompareFunc) strcmp); list_delta 1481 tools/crm_resource_runtime.c out->info(out, "Waiting for %d resources to stop:", g_list_length(list_delta)); list_delta 1482 tools/crm_resource_runtime.c display_list(out, list_delta, " * "); list_delta 1485 tools/crm_resource_runtime.c while (list_delta != NULL) { list_delta 1486 tools/crm_resource_runtime.c before = g_list_length(list_delta); list_delta 1488 tools/crm_resource_runtime.c step_timeout_s = max_delay_in(data_set, list_delta) / sleep_interval; list_delta 1492 tools/crm_resource_runtime.c for(lpc = 0; (lpc < step_timeout_s) && (list_delta != NULL); lpc++) { list_delta 1509 tools/crm_resource_runtime.c g_list_free(list_delta); list_delta 1510 tools/crm_resource_runtime.c list_delta = NULL; list_delta 1511 tools/crm_resource_runtime.c list_delta = pcmk__subtract_lists(current_active, target_active, (GCompareFunc) strcmp); list_delta 1513 tools/crm_resource_runtime.c dump_list(list_delta, "Delta"); list_delta 1516 tools/crm_resource_runtime.c crm_trace("%d (was %d) resources remaining", g_list_length(list_delta), before); list_delta 1517 tools/crm_resource_runtime.c if(before == g_list_length(list_delta)) { list_delta 1519 tools/crm_resource_runtime.c out->err(out, "Could not complete shutdown of %s, %d resources remaining", rsc_id, g_list_length(list_delta)); list_delta 1520 tools/crm_resource_runtime.c display_list(out, list_delta, " * "); list_delta 1553 tools/crm_resource_runtime.c list_delta = pcmk__subtract_lists(target_active, current_active, (GCompareFunc) strcmp); list_delta 1554 tools/crm_resource_runtime.c out->info(out, "Waiting for %d resources to start again:", g_list_length(list_delta)); list_delta 1555 tools/crm_resource_runtime.c display_list(out, list_delta, " * "); list_delta 1558 tools/crm_resource_runtime.c while (waiting_for_starts(list_delta, rsc, host)) { list_delta 1559 tools/crm_resource_runtime.c before = g_list_length(list_delta); list_delta 1561 tools/crm_resource_runtime.c step_timeout_s = max_delay_in(data_set, list_delta) / sleep_interval; list_delta 1565 tools/crm_resource_runtime.c for (lpc = 0; (lpc < step_timeout_s) && waiting_for_starts(list_delta, rsc, host); lpc++) { list_delta 1588 tools/crm_resource_runtime.c g_list_free(list_delta); list_delta 1589 tools/crm_resource_runtime.c list_delta = pcmk__subtract_lists(target_active, current_active, (GCompareFunc) strcmp); list_delta 1591 tools/crm_resource_runtime.c dump_list(list_delta, "Delta"); list_delta 1594 tools/crm_resource_runtime.c if(before == g_list_length(list_delta)) { list_delta 1596 tools/crm_resource_runtime.c out->err(out, "Could not complete restart of %s, %d resources remaining", rsc_id, g_list_length(list_delta)); list_delta 1597 tools/crm_resource_runtime.c display_list(out, list_delta, " * "); list_delta 1622 tools/crm_resource_runtime.c if (list_delta != NULL) { list_delta 1623 tools/crm_resource_runtime.c g_list_free(list_delta);