first 745 crmd/remote_lrmd_ra.c GList *first = NULL; first 753 crmd/remote_lrmd_ra.c first = ra_data->cmds; first 754 crmd/remote_lrmd_ra.c cmd = first->data; first 760 crmd/remote_lrmd_ra.c ra_data->cmds = g_list_remove_link(ra_data->cmds, first); first 761 crmd/remote_lrmd_ra.c g_list_free_1(first); first 336 fencing/commands.c GList *first = device->pending_ops; first 338 fencing/commands.c cmd = first->data; first 347 fencing/commands.c device->pending_ops = g_list_remove_link(device->pending_ops, first); first 348 fencing/commands.c g_list_free_1(first); first 1094 fencing/commands.c device_params_diff(GHashTable *first, GHashTable *second) { first 1099 fencing/commands.c g_hash_table_iter_init(&gIter, first); first 1269 lrmd/lrmd.c GList *first = rsc->pending_ops; first 1271 lrmd/lrmd.c cmd = first->data; first 1278 lrmd/lrmd.c rsc->pending_ops = g_list_remove_link(rsc->pending_ops, first); first 1279 lrmd/lrmd.c g_list_free_1(first); first 2272 pengine/allocate.c action_t *first = before->action; first 2273 pengine/allocate.c resource_t *first_rsc = first->rsc; first 2275 pengine/allocate.c if(first->required_runnable_before) { first 2277 pengine/allocate.c for (clone_actions = first->actions_before; clone_actions != NULL; clone_actions = clone_actions->next) { first 2280 pengine/allocate.c crm_trace("Testing %s -> %s (%p) for %s", first->uuid, before->action->uuid, before->action->rsc, start->uuid); first 2287 pengine/allocate.c } else if(safe_str_neq(first->task, RSC_START)) { first 2288 pengine/allocate.c crm_trace("Not a start op %s for %s", first->uuid, start->uuid); first 2303 pengine/allocate.c crm_err("Applying %s before %s %d", first->uuid, start->uuid, uber_parent(first_rsc)->variant); first 2308 pengine/allocate.c crm_err("Ordering %s before %s", first->uuid, probe->uuid); first 2309 pengine/allocate.c order_actions(first, probe, pe_order_optional); first 164 pengine/allocate.h extern enum pe_graph_flags native_update_actions(action_t * first, action_t * then, node_t * node, first 168 pengine/allocate.h extern enum pe_graph_flags group_update_actions(action_t * first, action_t * then, node_t * node, first 171 pengine/allocate.h extern enum pe_graph_flags container_update_actions(action_t * first, action_t * then, node_t * node, first 584 pengine/container.c container_update_interleave_actions(action_t * first, action_t * then, node_t * node, enum pe_action_flags flags, first 593 pengine/container.c if (crm_ends_with(first->uuid, "_stopped_0") first 594 pengine/container.c || crm_ends_with(first->uuid, "_demoted_0")) { first 601 pengine/container.c resource_t *first_child = find_compatible_child(then_child, first->rsc, RSC_ROLE_UNKNOWN, current); first 606 pengine/container.c crm_debug("No match found for %s (%d / %s / %s)", then_child->id, current, first->uuid, then->uuid); first 625 pengine/container.c enum action_tasks task = clone_child_action(first); first 628 pengine/container.c container_grouping_t *first_tuple = tuple_for_docker(first->rsc, first_child, node); first 631 pengine/container.c if(strstr(first->task, "stop") && first_tuple && first_tuple->child) { first 710 pengine/container.c bool can_interleave_actions(pe_action_t *first, pe_action_t *then) first 716 pengine/container.c if(first->rsc == NULL || then->rsc == NULL) { first 717 pengine/container.c crm_trace("Not interleaving %s with %s (both must be resources)", first->uuid, then->uuid); first 719 pengine/container.c } else if(first->rsc == then->rsc) { first 720 pengine/container.c crm_trace("Not interleaving %s with %s (must belong to different resources)", first->uuid, then->uuid); first 722 pengine/container.c } else if(first->rsc->variant < pe_clone || then->rsc->variant < pe_clone) { first 723 pengine/container.c crm_trace("Not interleaving %s with %s (both sides must be clones, masters, or bundles)", first->uuid, then->uuid); first 728 pengine/container.c rsc = first->rsc; first 736 pengine/container.c first->uuid, then->uuid, interleave ? "yes" : "no", rsc->id); first 742 pengine/container.c container_update_actions(action_t * first, action_t * then, node_t * node, enum pe_action_flags flags, first 747 pengine/container.c crm_trace("%s -> %s", first->uuid, then->uuid); first 749 pengine/container.c if(can_interleave_actions(first, then)) { first 750 pengine/container.c changed = container_update_interleave_actions(first, then, node, flags, filter, type); first 757 pengine/container.c changed |= native_update_actions(first, then, node, flags, filter, type); first 771 pengine/container.c then_child->cmds->update_actions(first, then_child_action, node, flags, filter, type); first 33 pengine/graph.c gboolean rsc_update_action(action_t * first, action_t * then, enum pe_ordering type); first 185 pengine/graph.c graph_update_action(action_t * first, action_t * then, node_t * node, first 210 pengine/graph.c node = first->node; first 219 pengine/graph.c then->rsc->cmds->update_actions(first, then, node, first_flags & pe_action_optional, first 228 pengine/graph.c pe_rsc_trace(then->rsc, "implies right: %s then %s: changed", first->uuid, then->uuid); first 230 pengine/graph.c crm_trace("implies right: %s then %s %p", first->uuid, then->uuid, then->rsc); first 239 pengine/graph.c then->rsc->cmds->update_actions(first, then, node, first_flags, restart, pe_order_restart); first 241 pengine/graph.c pe_rsc_trace(then->rsc, "restart: %s then %s: changed", first->uuid, then->uuid); first 243 pengine/graph.c crm_trace("restart: %s then %s", first->uuid, then->uuid); first 249 pengine/graph.c if (first->rsc) { first 251 pengine/graph.c first->rsc->cmds->update_actions(first, then, node, first_flags, first 255 pengine/graph.c pe_rsc_trace(first->rsc, "first unrunnable: %s (%d) then %s (%d)", first 256 pengine/graph.c first->uuid, is_set(first_flags, pe_action_optional), first 258 pengine/graph.c if (update_action_flags(first, pe_action_runnable | pe_action_clear, __FUNCTION__, __LINE__)) { first 264 pengine/graph.c pe_rsc_trace(then->rsc, "implies left: %s then %s: changed", first->uuid, then->uuid); first 267 pengine/graph.c first->uuid, is_set(first_flags, pe_action_optional), first 276 pengine/graph.c then->rsc->cmds->update_actions(first, then, node, first_flags & pe_action_optional, first 283 pengine/graph.c first->uuid, then->uuid); first 285 pengine/graph.c crm_trace("implies left when right rsc is Master role: %s then %s", first->uuid, first 294 pengine/graph.c then->rsc->cmds->update_actions(first, then, node, first_flags, first 311 pengine/graph.c pe_rsc_trace(then->rsc, "runnable_one_or_more: %s then %s: changed", first->uuid, first 314 pengine/graph.c crm_trace("runnable_one_or_more: %s then %s", first->uuid, then->uuid); first 321 pengine/graph.c if (is_not_set(first_flags, pe_action_runnable) && first->rsc->running_on != NULL) { first 323 pengine/graph.c first->uuid, then->uuid, first->rsc->id); first 328 pengine/graph.c pe_rsc_trace(then->rsc, "Enforcing %s then %s", first->uuid, then->uuid); first 329 pengine/graph.c changed |= then->rsc->cmds->update_actions(first, then, node, first_flags, first 334 pengine/graph.c pe_rsc_trace(then->rsc, "runnable: %s then %s: changed", first->uuid, then->uuid); first 336 pengine/graph.c crm_trace("runnable: %s then %s", first->uuid, then->uuid); first 344 pengine/graph.c then->rsc->cmds->update_actions(first, then, node, first_flags, first 348 pengine/graph.c pe_rsc_trace(then->rsc, "then unrunnable: %s then %s", first->uuid, then->uuid); first 354 pengine/graph.c pe_rsc_trace(then->rsc, "runnable: %s then %s: changed", first->uuid, then->uuid); first 356 pengine/graph.c crm_trace("runnable: %s then %s", first->uuid, then->uuid); first 364 pengine/graph.c then->rsc->cmds->update_actions(first, then, node, first_flags, first 368 pengine/graph.c pe_rsc_trace(then->rsc, "optional: %s then %s: changed", first->uuid, then->uuid); first 370 pengine/graph.c crm_trace("optional: %s then %s", first->uuid, then->uuid); first 378 pengine/graph.c then->rsc->cmds->update_actions(first, then, node, first_flags, first 382 pengine/graph.c pe_rsc_trace(then->rsc, "optional: %s then %s: changed", first->uuid, then->uuid); first 384 pengine/graph.c crm_trace("optional: %s then %s", first->uuid, then->uuid); first 392 pengine/graph.c then->rsc->cmds->update_actions(first, then, node, first_flags, first 396 pengine/graph.c pe_rsc_trace(then->rsc, "optional: %s then %s: changed", first->uuid, then->uuid); first 398 pengine/graph.c crm_trace("optional: %s then %s", first->uuid, then->uuid); first 406 pengine/graph.c then->rsc->cmds->update_actions(first, then, node, first_flags, first 411 pengine/graph.c pe_rsc_trace(then->rsc, "asymmetrical: %s then %s: changed", first->uuid, then->uuid); first 413 pengine/graph.c crm_trace("asymmetrical: %s then %s", first->uuid, then->uuid); first 418 pengine/graph.c if ((first->flags & pe_action_runnable) && (type & pe_order_implies_then_printed) first 421 pengine/graph.c crm_trace("%s implies %s printed", first->uuid, then->uuid); first 427 pengine/graph.c crm_trace("%s implies %s printed", then->uuid, first->uuid); first 428 pengine/graph.c update_action_flags(first, pe_action_print_always, __FUNCTION__, __LINE__); /* don't care about changed */ first 434 pengine/graph.c && first->rsc first 435 pengine/graph.c && safe_str_eq(first->task, RSC_STOP) first 436 pengine/graph.c && is_not_set(first->rsc->flags, pe_rsc_managed) first 437 pengine/graph.c && is_set(first->rsc->flags, pe_rsc_block) first 438 pengine/graph.c && is_not_set(first->flags, pe_action_runnable)) { first 445 pengine/graph.c pe_rsc_trace(then->rsc, "unmanaged left: %s then %s: changed", first->uuid, then->uuid); first 447 pengine/graph.c crm_trace("unmanaged left: %s then %s", first->uuid, then->uuid); first 558 pengine/graph.c action_t *first = other->action; first 561 pengine/graph.c node_t *first_node = first->node; first 566 pengine/graph.c if (first->rsc && first->rsc->variant == pe_group && safe_str_eq(first->task, RSC_START)) { first 567 pengine/graph.c first_node = first->rsc->fns->location(first->rsc, NULL, FALSE); first 569 pengine/graph.c crm_trace("First: Found node %s for %s", first_node->details->uname, first->uuid); first 592 pengine/graph.c if (first->rsc && is_set(other->type, pe_order_then_cancels_first) first 600 pengine/graph.c clear_bit(first->rsc->flags, pe_rsc_reload); first 603 pengine/graph.c if (first->rsc && then->rsc && (first->rsc != then->rsc) first 604 pengine/graph.c && (is_parent(then->rsc, first->rsc) == FALSE)) { first 605 pengine/graph.c first = rsc_expand_action(first); first 607 pengine/graph.c if (first != other->action) { first 608 pengine/graph.c crm_trace("Ordering %s after %s instead of %s", then->uuid, first->uuid, first 612 pengine/graph.c first_flags = get_action_flags(first, then_node); first 621 pengine/graph.c uname : "", first->uuid, is_set(first_flags, first 625 pengine/graph.c pe_action_pseudo) ? "pseudo" : first->node ? first->node->details-> first 628 pengine/graph.c if (first == other->action) { first 643 pengine/graph.c changed |= graph_update_action(first, then, node, first_flags, then_flags, other); first 648 pengine/graph.c } else if (order_actions(first, then, other->type)) { first 657 pengine/graph.c other->action->uuid, then->uuid, first->uuid, then->uuid); first 666 pengine/graph.c first->uuid, first 667 pengine/graph.c is_set(first->flags, pe_action_optional) ? "optional" : "required", first 668 pengine/graph.c is_set(first->flags, pe_action_runnable) ? "runnable" : "unrunnable", first 669 pengine/graph.c is_set(first->flags, first 670 pengine/graph.c pe_action_pseudo) ? "pseudo" : first->node ? first->node->details-> first 672 pengine/graph.c for (lpc2 = first->actions_after; lpc2 != NULL; lpc2 = lpc2->next) { first 677 pengine/graph.c update_action(first); first 415 pengine/group.c group_update_actions(action_t * first, action_t * then, node_t * node, enum pe_action_flags flags, first 422 pengine/group.c changed |= native_update_actions(first, then, node, flags, filter, type); first 429 pengine/group.c changed |= child->cmds->update_actions(first, child_action, node, flags, filter, type); first 1882 pengine/native.c native_update_actions(action_t * first, action_t * then, node_t * node, enum pe_action_flags flags, first 1888 pengine/native.c enum pe_action_flags first_flags = first->flags; first 1891 pengine/native.c first->uuid, first->node ? first->node->details->uname : "[none]", first 1892 pengine/native.c first->flags, then->uuid, then->flags); first 1911 pengine/native.c } else if (!(first->flags & pe_action_runnable)) { first 1914 pengine/native.c pe_action_implies(then, first, pe_action_optional); first 1915 pengine/native.c pe_action_implies(then, first, pe_action_runnable); first 1926 pengine/native.c pe_rsc_trace(first->rsc, "Unset optional on %s because of %s", first->uuid, then->uuid); first 1927 pengine/native.c pe_action_implies(first, then, pe_action_optional); first 1934 pengine/native.c pe_rsc_trace(first->rsc, "Unset migrate runnable on %s because of %s", first 1935 pengine/native.c first->uuid, then->uuid); first 1936 pengine/native.c pe_action_implies(first, then, pe_action_migrate_runnable); first 1944 pengine/native.c pe_action_implies(first, then, pe_action_optional); first 1946 pengine/native.c if (is_set(first->flags, pe_action_migrate_runnable) && first 1949 pengine/native.c pe_rsc_trace(first->rsc, "Unset migrate runnable on %s because of %s", first->uuid, then->uuid); first 1950 pengine/native.c pe_action_implies(first, then, pe_action_migrate_runnable); first 1952 pengine/native.c pe_rsc_trace(then->rsc, "Unset optional on %s because of %s", first->uuid, then->uuid); first 1962 pengine/native.c pe_rsc_trace(then->rsc, "Unset runnable on %s because %s is neither runnable or migratable", first->uuid, then->uuid); first 1963 pengine/native.c pe_action_implies(first, then, pe_action_runnable); first 1967 pengine/native.c pe_rsc_trace(then->rsc, "Unset optional on %s because %s is not optional", first->uuid, then->uuid); first 1968 pengine/native.c pe_action_implies(first, then, pe_action_optional); first 1975 pengine/native.c if ((first->flags & pe_action_runnable) == FALSE) { first 1976 pengine/native.c pe_action_implies(then, first, pe_action_migrate_runnable); first 1978 pengine/native.c pe_rsc_trace(then->rsc, "Unset pseudo on %s because %s is not runnable", then->uuid, first->uuid); first 1987 pengine/native.c pe_rsc_trace(then->rsc, "Unset runnable on %s because of %s", then->uuid, first->uuid); first 1988 pengine/native.c pe_action_implies(then, first, pe_action_runnable); first 1989 pengine/native.c pe_action_implies(then, first, pe_action_migrate_runnable); first 1998 pengine/native.c if (is_set(first->flags, pe_action_migrate_runnable) == FALSE) { first 1999 pengine/native.c pe_rsc_trace(then->rsc, "Unset optional on %s because of %s", then->uuid, first->uuid); first 2000 pengine/native.c pe_action_implies(then, first, pe_action_optional); first 2007 pengine/native.c CRM_ASSERT(first->rsc && first->rsc->variant == pe_native); first 2020 pengine/native.c if (reason && is_set(first->flags, pe_action_optional)) { first 2021 pengine/native.c if (is_set(first->flags, pe_action_runnable) first 2023 pengine/native.c pe_rsc_trace(first->rsc, "Handling %s: %s -> %s", reason, first->uuid, then->uuid); first 2024 pengine/native.c pe_action_implies(first, then, pe_action_optional); first 2028 pengine/native.c if (reason && is_not_set(first->flags, pe_action_optional) first 2029 pengine/native.c && is_not_set(first->flags, pe_action_runnable)) { first 2030 pengine/native.c pe_rsc_trace(then->rsc, "Handling %s: %s -> %s", reason, first->uuid, then->uuid); first 2031 pengine/native.c pe_action_implies(then, first, pe_action_runnable); first 2035 pengine/native.c is_not_set(first->flags, pe_action_optional) && first 2036 pengine/native.c is_set(first->flags, pe_action_migrate_runnable) && first 2039 pengine/native.c pe_action_implies(first, then, pe_action_migrate_runnable); first 2049 pengine/native.c then_flags, first->uuid, first->flags); first 2057 pengine/native.c if (first_flags != first->flags) { first 2059 pengine/native.c pe_rsc_trace(first->rsc, first 2061 pengine/native.c first->uuid, first->node ? first->node->details->uname : "[none]", first 2062 pengine/native.c first->flags, first_flags, then->uuid, then->flags); first 53 pengine/utils.h bool can_interleave_actions(pe_action_t *first, pe_action_t *then);