list_delta 1410 tools/crm_resource_runtime.c GList *list_delta = NULL; list_delta 1549 tools/crm_resource_runtime.c list_delta = pcmk__subtract_lists(current_active, target_active, (GCompareFunc) strcmp); list_delta 1550 tools/crm_resource_runtime.c out->info(out, "Waiting for %d resources to stop:", g_list_length(list_delta)); list_delta 1551 tools/crm_resource_runtime.c display_list(out, list_delta, " * "); list_delta 1554 tools/crm_resource_runtime.c while (list_delta != NULL) { list_delta 1555 tools/crm_resource_runtime.c before = g_list_length(list_delta); list_delta 1557 tools/crm_resource_runtime.c step_timeout_s = max_delay_in(data_set, list_delta) / sleep_interval; list_delta 1561 tools/crm_resource_runtime.c for(lpc = 0; (lpc < step_timeout_s) && (list_delta != NULL); lpc++) { list_delta 1578 tools/crm_resource_runtime.c g_list_free(list_delta); list_delta 1579 tools/crm_resource_runtime.c list_delta = NULL; list_delta 1580 tools/crm_resource_runtime.c list_delta = pcmk__subtract_lists(current_active, target_active, (GCompareFunc) strcmp); list_delta 1582 tools/crm_resource_runtime.c dump_list(list_delta, "Delta"); list_delta 1585 tools/crm_resource_runtime.c crm_trace("%d (was %d) resources remaining", g_list_length(list_delta), before); list_delta 1586 tools/crm_resource_runtime.c if(before == g_list_length(list_delta)) { list_delta 1588 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 1589 tools/crm_resource_runtime.c display_list(out, list_delta, " * "); list_delta 1622 tools/crm_resource_runtime.c list_delta = pcmk__subtract_lists(target_active, current_active, (GCompareFunc) strcmp); list_delta 1623 tools/crm_resource_runtime.c out->info(out, "Waiting for %d resources to start again:", g_list_length(list_delta)); list_delta 1624 tools/crm_resource_runtime.c display_list(out, list_delta, " * "); list_delta 1627 tools/crm_resource_runtime.c while (waiting_for_starts(list_delta, rsc, host)) { list_delta 1628 tools/crm_resource_runtime.c before = g_list_length(list_delta); list_delta 1630 tools/crm_resource_runtime.c step_timeout_s = max_delay_in(data_set, list_delta) / sleep_interval; list_delta 1634 tools/crm_resource_runtime.c for (lpc = 0; (lpc < step_timeout_s) && waiting_for_starts(list_delta, rsc, host); lpc++) { list_delta 1657 tools/crm_resource_runtime.c g_list_free(list_delta); list_delta 1658 tools/crm_resource_runtime.c list_delta = pcmk__subtract_lists(target_active, current_active, (GCompareFunc) strcmp); list_delta 1660 tools/crm_resource_runtime.c dump_list(list_delta, "Delta"); list_delta 1663 tools/crm_resource_runtime.c if(before == g_list_length(list_delta)) { list_delta 1665 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 1666 tools/crm_resource_runtime.c display_list(out, list_delta, " * "); list_delta 1691 tools/crm_resource_runtime.c if (list_delta != NULL) { list_delta 1692 tools/crm_resource_runtime.c g_list_free(list_delta);