list_delta 1091 tools/crm_resource_runtime.c GList *list_delta = NULL; list_delta 1188 tools/crm_resource_runtime.c list_delta = subtract_lists(current_active, target_active); list_delta 1189 tools/crm_resource_runtime.c fprintf(stdout, "Waiting for %d resources to stop:\n", g_list_length(list_delta)); list_delta 1190 tools/crm_resource_runtime.c display_list(list_delta, " * "); list_delta 1193 tools/crm_resource_runtime.c while(g_list_length(list_delta) > 0) { list_delta 1194 tools/crm_resource_runtime.c before = g_list_length(list_delta); list_delta 1196 tools/crm_resource_runtime.c step_timeout_s = max_delay_in(&data_set, list_delta) / sleep_interval; list_delta 1200 tools/crm_resource_runtime.c for(lpc = 0; lpc < step_timeout_s && g_list_length(list_delta) > 0; lpc++) { list_delta 1216 tools/crm_resource_runtime.c g_list_free(list_delta); list_delta 1217 tools/crm_resource_runtime.c list_delta = subtract_lists(current_active, target_active); list_delta 1219 tools/crm_resource_runtime.c dump_list(list_delta, "Delta"); list_delta 1222 tools/crm_resource_runtime.c crm_trace("%d (was %d) resources remaining", g_list_length(list_delta), before); list_delta 1223 tools/crm_resource_runtime.c if(before == g_list_length(list_delta)) { list_delta 1225 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 1226 tools/crm_resource_runtime.c display_list(list_delta, " * "); list_delta 1259 tools/crm_resource_runtime.c if (list_delta) { list_delta 1260 tools/crm_resource_runtime.c g_list_free(list_delta); list_delta 1262 tools/crm_resource_runtime.c list_delta = subtract_lists(target_active, current_active); list_delta 1263 tools/crm_resource_runtime.c fprintf(stdout, "Waiting for %d resources to start again:\n", g_list_length(list_delta)); list_delta 1264 tools/crm_resource_runtime.c display_list(list_delta, " * "); list_delta 1267 tools/crm_resource_runtime.c while (waiting_for_starts(list_delta, rsc, host)) { list_delta 1268 tools/crm_resource_runtime.c before = g_list_length(list_delta); list_delta 1270 tools/crm_resource_runtime.c step_timeout_s = max_delay_in(&data_set, list_delta) / sleep_interval; list_delta 1274 tools/crm_resource_runtime.c for (lpc = 0; (lpc < step_timeout_s) && waiting_for_starts(list_delta, rsc, host); lpc++) { list_delta 1296 tools/crm_resource_runtime.c g_list_free(list_delta); list_delta 1297 tools/crm_resource_runtime.c list_delta = subtract_lists(target_active, current_active); list_delta 1299 tools/crm_resource_runtime.c dump_list(list_delta, "Delta"); list_delta 1302 tools/crm_resource_runtime.c if(before == g_list_length(list_delta)) { list_delta 1304 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 1305 tools/crm_resource_runtime.c display_list(list_delta, " * "); list_delta 1329 tools/crm_resource_runtime.c if (list_delta) { list_delta 1330 tools/crm_resource_runtime.c g_list_free(list_delta);