list_delta 1278 tools/crm_resource_runtime.c GList *list_delta = NULL; list_delta 1377 tools/crm_resource_runtime.c list_delta = pcmk__subtract_lists(current_active, target_active, (GCompareFunc) strcmp); list_delta 1378 tools/crm_resource_runtime.c fprintf(stdout, "Waiting for %d resources to stop:\n", g_list_length(list_delta)); list_delta 1379 tools/crm_resource_runtime.c display_list(list_delta, " * "); list_delta 1382 tools/crm_resource_runtime.c while (list_delta != NULL) { list_delta 1383 tools/crm_resource_runtime.c before = g_list_length(list_delta); list_delta 1385 tools/crm_resource_runtime.c step_timeout_s = max_delay_in(data_set, list_delta) / sleep_interval; list_delta 1389 tools/crm_resource_runtime.c for(lpc = 0; (lpc < step_timeout_s) && (list_delta != NULL); lpc++) { list_delta 1405 tools/crm_resource_runtime.c g_list_free(list_delta); list_delta 1406 tools/crm_resource_runtime.c list_delta = pcmk__subtract_lists(current_active, target_active, (GCompareFunc) strcmp); list_delta 1408 tools/crm_resource_runtime.c dump_list(list_delta, "Delta"); list_delta 1411 tools/crm_resource_runtime.c crm_trace("%d (was %d) resources remaining", g_list_length(list_delta), before); list_delta 1412 tools/crm_resource_runtime.c if(before == g_list_length(list_delta)) { list_delta 1414 tools/crm_resource_runtime.c fprintf(stderr, "Could not complete shutdown of %s, %d resources remaining\n", rsc_id, g_list_length(list_delta)); list_delta 1415 tools/crm_resource_runtime.c display_list(list_delta, " * "); list_delta 1447 tools/crm_resource_runtime.c list_delta = pcmk__subtract_lists(target_active, current_active, (GCompareFunc) strcmp); list_delta 1448 tools/crm_resource_runtime.c fprintf(stdout, "Waiting for %d resources to start again:\n", g_list_length(list_delta)); list_delta 1449 tools/crm_resource_runtime.c display_list(list_delta, " * "); list_delta 1452 tools/crm_resource_runtime.c while (waiting_for_starts(list_delta, rsc, host)) { list_delta 1453 tools/crm_resource_runtime.c before = g_list_length(list_delta); list_delta 1455 tools/crm_resource_runtime.c step_timeout_s = max_delay_in(data_set, list_delta) / sleep_interval; list_delta 1459 tools/crm_resource_runtime.c for (lpc = 0; (lpc < step_timeout_s) && waiting_for_starts(list_delta, rsc, host); lpc++) { list_delta 1481 tools/crm_resource_runtime.c g_list_free(list_delta); list_delta 1482 tools/crm_resource_runtime.c list_delta = pcmk__subtract_lists(target_active, current_active, (GCompareFunc) strcmp); list_delta 1484 tools/crm_resource_runtime.c dump_list(list_delta, "Delta"); list_delta 1487 tools/crm_resource_runtime.c if(before == g_list_length(list_delta)) { list_delta 1489 tools/crm_resource_runtime.c fprintf(stdout, "Could not complete restart of %s, %d resources remaining\n", rsc_id, g_list_length(list_delta)); list_delta 1490 tools/crm_resource_runtime.c display_list(list_delta, " * "); list_delta 1515 tools/crm_resource_runtime.c if (list_delta) { list_delta 1516 tools/crm_resource_runtime.c g_list_free(list_delta);