first 762 daemons/controld/controld_remote_ra.c GList *first = NULL; first 770 daemons/controld/controld_remote_ra.c first = ra_data->cmds; first 771 daemons/controld/controld_remote_ra.c cmd = first->data; first 777 daemons/controld/controld_remote_ra.c ra_data->cmds = g_list_remove_link(ra_data->cmds, first); first 778 daemons/controld/controld_remote_ra.c g_list_free_1(first); first 1437 daemons/execd/execd_commands.c GList *first = rsc->pending_ops; first 1439 daemons/execd/execd_commands.c cmd = first->data; first 1446 daemons/execd/execd_commands.c rsc->pending_ops = g_list_remove_link(rsc->pending_ops, first); first 1447 daemons/execd/execd_commands.c g_list_free_1(first); first 76 daemons/execd/remoted_pidone.c find_env_var_name(char *line, char **first, char **last) first 79 daemons/execd/remoted_pidone.c *first = line; first 80 daemons/execd/remoted_pidone.c while (isspace(**first)) { first 81 daemons/execd/remoted_pidone.c ++*first; first 84 daemons/execd/remoted_pidone.c if (isalpha(**first) || (**first == '_')) { // Valid first character first 85 daemons/execd/remoted_pidone.c *last = *first; first 92 daemons/execd/remoted_pidone.c *first = *last = NULL; first 1159 daemons/fenced/fenced_commands.c device_params_diff(GHashTable *first, GHashTable *second) { first 1164 daemons/fenced/fenced_commands.c g_hash_table_iter_init(&gIter, first); first 153 include/pcmki/pcmki_sched_allocate.h enum pe_graph_flags native_update_actions(pe_action_t *first, pe_action_t *then, first 159 include/pcmki/pcmki_sched_allocate.h enum pe_graph_flags group_update_actions(pe_action_t *first, pe_action_t *then, first 165 include/pcmki/pcmki_sched_allocate.h enum pe_graph_flags pcmk__multi_update_actions(pe_action_t *first, first 561 lib/cluster/cpg.c cmp_member_list_nodeid(const void *first, const void *second) first 563 lib/cluster/cpg.c const struct cpg_address *const a = *((const struct cpg_address **) first), first 2729 lib/pacemaker/pcmk_sched_allocate.c pe_action_t *first = before->action; first 2730 lib/pacemaker/pcmk_sched_allocate.c pe_resource_t *first_rsc = first->rsc; first 2732 lib/pacemaker/pcmk_sched_allocate.c if(first->required_runnable_before) { first 2734 lib/pacemaker/pcmk_sched_allocate.c for (clone_actions = first->actions_before; clone_actions != NULL; clone_actions = clone_actions->next) { first 2737 lib/pacemaker/pcmk_sched_allocate.c crm_trace("Testing %s -> %s (%p) for %s", first->uuid, before->action->uuid, before->action->rsc, start->uuid); first 2744 lib/pacemaker/pcmk_sched_allocate.c } else if(!pcmk__str_eq(first->task, RSC_START, pcmk__str_casei)) { first 2745 lib/pacemaker/pcmk_sched_allocate.c crm_trace("Not a start op %s for %s", first->uuid, start->uuid); first 2760 lib/pacemaker/pcmk_sched_allocate.c crm_err("Applying %s before %s %d", first->uuid, start->uuid, uber_parent(first_rsc)->variant); first 2765 lib/pacemaker/pcmk_sched_allocate.c crm_err("Ordering %s before %s", first->uuid, probe->uuid); first 2766 lib/pacemaker/pcmk_sched_allocate.c order_actions(first, probe, pe_order_optional); first 648 lib/pacemaker/pcmk_sched_bundle.c multi_update_interleave_actions(pe_action_t *first, pe_action_t *then, first 660 lib/pacemaker/pcmk_sched_bundle.c if (pcmk__ends_with(first->uuid, "_stopped_0") first 661 lib/pacemaker/pcmk_sched_bundle.c || pcmk__ends_with(first->uuid, "_demoted_0")) { first 669 lib/pacemaker/pcmk_sched_bundle.c first->rsc, first 676 lib/pacemaker/pcmk_sched_bundle.c crm_debug("No match found for %s (%d / %s / %s)", then_child->id, current, first->uuid, then->uuid); first 687 lib/pacemaker/pcmk_sched_bundle.c pe__set_graph_flags(changed, first, pe_graph_updated_then); first 695 lib/pacemaker/pcmk_sched_bundle.c enum action_tasks task = clone_child_action(first); first 701 lib/pacemaker/pcmk_sched_bundle.c first_replica = replica_for_container(first->rsc, first_child, first 703 lib/pacemaker/pcmk_sched_bundle.c if (strstr(first->task, "stop") && first_replica && first_replica->child) { first 767 lib/pacemaker/pcmk_sched_bundle.c pe__set_graph_flags(changed, first, first 790 lib/pacemaker/pcmk_sched_bundle.c can_interleave_actions(pe_action_t *first, pe_action_t *then) first 796 lib/pacemaker/pcmk_sched_bundle.c if(first->rsc == NULL || then->rsc == NULL) { first 797 lib/pacemaker/pcmk_sched_bundle.c crm_trace("Not interleaving %s with %s (both must be resources)", first->uuid, then->uuid); first 799 lib/pacemaker/pcmk_sched_bundle.c } else if(first->rsc == then->rsc) { first 800 lib/pacemaker/pcmk_sched_bundle.c crm_trace("Not interleaving %s with %s (must belong to different resources)", first->uuid, then->uuid); first 802 lib/pacemaker/pcmk_sched_bundle.c } else if(first->rsc->variant < pe_clone || then->rsc->variant < pe_clone) { first 803 lib/pacemaker/pcmk_sched_bundle.c crm_trace("Not interleaving %s with %s (both sides must be clones or bundles)", first->uuid, then->uuid); first 809 lib/pacemaker/pcmk_sched_bundle.c rsc = first->rsc; first 817 lib/pacemaker/pcmk_sched_bundle.c first->uuid, then->uuid, interleave ? "yes" : "no", rsc->id); first 823 lib/pacemaker/pcmk_sched_bundle.c pcmk__multi_update_actions(pe_action_t *first, pe_action_t *then, first 830 lib/pacemaker/pcmk_sched_bundle.c crm_trace("%s -> %s", first->uuid, then->uuid); first 832 lib/pacemaker/pcmk_sched_bundle.c if(can_interleave_actions(first, then)) { first 833 lib/pacemaker/pcmk_sched_bundle.c changed = multi_update_interleave_actions(first, then, node, flags, first 841 lib/pacemaker/pcmk_sched_bundle.c changed |= native_update_actions(first, then, node, flags, filter, first 855 lib/pacemaker/pcmk_sched_bundle.c then_child_changed |= then_child->cmds->update_actions(first, first 23 lib/pacemaker/pcmk_sched_graph.c gboolean rsc_update_action(pe_action_t * first, pe_action_t * then, enum pe_ordering type); first 176 lib/pacemaker/pcmk_sched_graph.c graph_update_action(pe_action_t * first, pe_action_t * then, pe_node_t * node, first 201 lib/pacemaker/pcmk_sched_graph.c node = first->node; first 210 lib/pacemaker/pcmk_sched_graph.c changed |= then->rsc->cmds->update_actions(first, then, node, first 217 lib/pacemaker/pcmk_sched_graph.c pe__set_graph_flags(changed, first, pe_graph_updated_then); first 220 lib/pacemaker/pcmk_sched_graph.c pe_rsc_trace(then->rsc, "implies right: %s then %s: changed", first->uuid, then->uuid); first 222 lib/pacemaker/pcmk_sched_graph.c crm_trace("implies right: %s then %s %p", first->uuid, then->uuid, then->rsc); first 230 lib/pacemaker/pcmk_sched_graph.c changed |= then->rsc->cmds->update_actions(first, then, node, first 234 lib/pacemaker/pcmk_sched_graph.c pe_rsc_trace(then->rsc, "restart: %s then %s: changed", first->uuid, then->uuid); first 236 lib/pacemaker/pcmk_sched_graph.c crm_trace("restart: %s then %s", first->uuid, then->uuid); first 242 lib/pacemaker/pcmk_sched_graph.c if (first->rsc) { first 243 lib/pacemaker/pcmk_sched_graph.c changed |= first->rsc->cmds->update_actions(first, then, node, first 248 lib/pacemaker/pcmk_sched_graph.c pe_rsc_trace(first->rsc, "first unrunnable: %s (%d) then %s (%d)", first 249 lib/pacemaker/pcmk_sched_graph.c first->uuid, pcmk_is_set(first_flags, pe_action_optional), first 251 lib/pacemaker/pcmk_sched_graph.c if (pcmk_is_set(first->flags, pe_action_runnable)) { first 252 lib/pacemaker/pcmk_sched_graph.c pe__clear_action_flags(first, pe_action_runnable); first 253 lib/pacemaker/pcmk_sched_graph.c pe__set_graph_flags(changed, first, pe_graph_updated_first); first 258 lib/pacemaker/pcmk_sched_graph.c pe_rsc_trace(then->rsc, "implies left: %s then %s: changed", first->uuid, then->uuid); first 261 lib/pacemaker/pcmk_sched_graph.c first->uuid, pcmk_is_set(first_flags, pe_action_optional), first 269 lib/pacemaker/pcmk_sched_graph.c changed |= then->rsc->cmds->update_actions(first, then, node, first 277 lib/pacemaker/pcmk_sched_graph.c "%s then %s: changed", first->uuid, then->uuid); first 280 lib/pacemaker/pcmk_sched_graph.c "%s then %s", first->uuid, then->uuid); first 287 lib/pacemaker/pcmk_sched_graph.c changed |= then->rsc->cmds->update_actions(first, then, node, first 302 lib/pacemaker/pcmk_sched_graph.c pe__set_graph_flags(changed, first, pe_graph_updated_then); first 306 lib/pacemaker/pcmk_sched_graph.c pe_rsc_trace(then->rsc, "runnable_one_or_more: %s then %s: changed", first->uuid, first 309 lib/pacemaker/pcmk_sched_graph.c crm_trace("runnable_one_or_more: %s then %s", first->uuid, then->uuid); first 317 lib/pacemaker/pcmk_sched_graph.c && (first->rsc->running_on != NULL)) { first 320 lib/pacemaker/pcmk_sched_graph.c first->uuid, then->uuid, first->rsc->id); first 325 lib/pacemaker/pcmk_sched_graph.c pe_rsc_trace(then->rsc, "Enforcing %s then %s", first->uuid, then->uuid); first 326 lib/pacemaker/pcmk_sched_graph.c changed |= then->rsc->cmds->update_actions(first, then, node, first 332 lib/pacemaker/pcmk_sched_graph.c pe_rsc_trace(then->rsc, "runnable: %s then %s: changed", first->uuid, then->uuid); first 334 lib/pacemaker/pcmk_sched_graph.c crm_trace("runnable: %s then %s", first->uuid, then->uuid); first 341 lib/pacemaker/pcmk_sched_graph.c changed |= then->rsc->cmds->update_actions(first, then, node, first 349 lib/pacemaker/pcmk_sched_graph.c pe__set_graph_flags(changed, first, pe_graph_updated_then); first 352 lib/pacemaker/pcmk_sched_graph.c pe_rsc_trace(then->rsc, "runnable: %s then %s: changed", first->uuid, then->uuid); first 354 lib/pacemaker/pcmk_sched_graph.c crm_trace("runnable: %s then %s", first->uuid, then->uuid); first 361 lib/pacemaker/pcmk_sched_graph.c changed |= then->rsc->cmds->update_actions(first, then, node, first 366 lib/pacemaker/pcmk_sched_graph.c pe_rsc_trace(then->rsc, "optional: %s then %s: changed", first->uuid, then->uuid); first 368 lib/pacemaker/pcmk_sched_graph.c crm_trace("optional: %s then %s", first->uuid, then->uuid); first 375 lib/pacemaker/pcmk_sched_graph.c changed |= then->rsc->cmds->update_actions(first, then, node, first 380 lib/pacemaker/pcmk_sched_graph.c pe_rsc_trace(then->rsc, "optional: %s then %s: changed", first->uuid, then->uuid); first 382 lib/pacemaker/pcmk_sched_graph.c crm_trace("optional: %s then %s", first->uuid, then->uuid); first 389 lib/pacemaker/pcmk_sched_graph.c changed |= then->rsc->cmds->update_actions(first, then, node, first 393 lib/pacemaker/pcmk_sched_graph.c pe_rsc_trace(then->rsc, "optional: %s then %s: changed", first->uuid, then->uuid); first 395 lib/pacemaker/pcmk_sched_graph.c crm_trace("optional: %s then %s", first->uuid, then->uuid); first 402 lib/pacemaker/pcmk_sched_graph.c changed |= then->rsc->cmds->update_actions(first, then, node, first 408 lib/pacemaker/pcmk_sched_graph.c pe_rsc_trace(then->rsc, "asymmetrical: %s then %s: changed", first->uuid, then->uuid); first 410 lib/pacemaker/pcmk_sched_graph.c crm_trace("asymmetrical: %s then %s", first->uuid, then->uuid); first 415 lib/pacemaker/pcmk_sched_graph.c if ((first->flags & pe_action_runnable) && (type & pe_order_implies_then_printed) first 418 lib/pacemaker/pcmk_sched_graph.c crm_trace("%s implies %s printed", first->uuid, then->uuid); first 427 lib/pacemaker/pcmk_sched_graph.c crm_trace("%s implies %s printed", then->uuid, first->uuid); first 428 lib/pacemaker/pcmk_sched_graph.c pe__set_action_flags(first, pe_action_print_always); first 435 lib/pacemaker/pcmk_sched_graph.c && first->rsc first 436 lib/pacemaker/pcmk_sched_graph.c && pcmk__str_eq(first->task, RSC_STOP, pcmk__str_casei) first 437 lib/pacemaker/pcmk_sched_graph.c && !pcmk_is_set(first->rsc->flags, pe_rsc_managed) first 438 lib/pacemaker/pcmk_sched_graph.c && pcmk_is_set(first->rsc->flags, pe_rsc_block) first 439 lib/pacemaker/pcmk_sched_graph.c && !pcmk_is_set(first->flags, pe_action_runnable)) { first 443 lib/pacemaker/pcmk_sched_graph.c pe__set_graph_flags(changed, first, pe_graph_updated_then); first 447 lib/pacemaker/pcmk_sched_graph.c pe_rsc_trace(then->rsc, "unmanaged left: %s then %s: changed", first->uuid, then->uuid); first 449 lib/pacemaker/pcmk_sched_graph.c crm_trace("unmanaged left: %s then %s", first->uuid, then->uuid); first 565 lib/pacemaker/pcmk_sched_graph.c pe_action_t *first = other->action; first 568 lib/pacemaker/pcmk_sched_graph.c pe_node_t *first_node = first->node; first 573 lib/pacemaker/pcmk_sched_graph.c if (first->rsc && first->rsc->variant == pe_group && pcmk__str_eq(first->task, RSC_START, pcmk__str_casei)) { first 574 lib/pacemaker/pcmk_sched_graph.c first_node = first->rsc->fns->location(first->rsc, NULL, FALSE); first 576 lib/pacemaker/pcmk_sched_graph.c crm_trace("First: Found node %s for %s", first_node->details->uname, first->uuid); first 600 lib/pacemaker/pcmk_sched_graph.c if (first->rsc && pcmk_is_set(other->type, pe_order_then_cancels_first) first 607 lib/pacemaker/pcmk_sched_graph.c if (!strcmp(first->task, CRMD_ACTION_RELOAD_AGENT)) { first 608 lib/pacemaker/pcmk_sched_graph.c pe__clear_resource_flags(first->rsc, pe_rsc_reload); first 612 lib/pacemaker/pcmk_sched_graph.c if (first->rsc && then->rsc && (first->rsc != then->rsc) first 613 lib/pacemaker/pcmk_sched_graph.c && (is_parent(then->rsc, first->rsc) == FALSE)) { first 614 lib/pacemaker/pcmk_sched_graph.c first = rsc_expand_action(first); first 616 lib/pacemaker/pcmk_sched_graph.c if (first != other->action) { first 617 lib/pacemaker/pcmk_sched_graph.c crm_trace("Ordering %s after %s instead of %s", then->uuid, first->uuid, first 621 lib/pacemaker/pcmk_sched_graph.c first_flags = get_action_flags(first, then_node); first 630 lib/pacemaker/pcmk_sched_graph.c first->uuid, first 634 lib/pacemaker/pcmk_sched_graph.c : (first->node? first->node->details->uname : ""), first 637 lib/pacemaker/pcmk_sched_graph.c if (first == other->action) { first 652 lib/pacemaker/pcmk_sched_graph.c changed |= graph_update_action(first, then, node, first_flags, first 658 lib/pacemaker/pcmk_sched_graph.c } else if (order_actions(first, then, other->type)) { first 668 lib/pacemaker/pcmk_sched_graph.c other->action->uuid, then->uuid, first->uuid, then->uuid); first 677 lib/pacemaker/pcmk_sched_graph.c first->uuid, first 678 lib/pacemaker/pcmk_sched_graph.c pcmk_is_set(first->flags, pe_action_optional)? "optional" : "required", first 679 lib/pacemaker/pcmk_sched_graph.c pcmk_is_set(first->flags, pe_action_runnable)? "runnable" : "unrunnable", first 680 lib/pacemaker/pcmk_sched_graph.c pcmk_is_set(first->flags, pe_action_pseudo)? "pseudo" first 681 lib/pacemaker/pcmk_sched_graph.c : (first->node? first->node->details->uname : "")); first 682 lib/pacemaker/pcmk_sched_graph.c for (lpc2 = first->actions_after; lpc2 != NULL; lpc2 = lpc2->next) { first 687 lib/pacemaker/pcmk_sched_graph.c update_action(first, data_set); first 470 lib/pacemaker/pcmk_sched_group.c group_update_actions(pe_action_t *first, pe_action_t *then, pe_node_t *node, first 478 lib/pacemaker/pcmk_sched_group.c changed |= native_update_actions(first, then, node, flags, filter, type, first 486 lib/pacemaker/pcmk_sched_group.c changed |= child->cmds->update_actions(first, child_action, node, first 2070 lib/pacemaker/pcmk_sched_native.c handle_restart_ordering(pe_action_t *first, pe_action_t *then, first 2075 lib/pacemaker/pcmk_sched_native.c CRM_ASSERT(is_primitive_action(first)); first 2100 lib/pacemaker/pcmk_sched_native.c pe_rsc_trace(first->rsc, "Handling %s -> %s for %s", first 2101 lib/pacemaker/pcmk_sched_native.c first->uuid, then->uuid, reason); first 2104 lib/pacemaker/pcmk_sched_native.c if (pcmk_is_set(first->flags, pe_action_runnable)) { first 2105 lib/pacemaker/pcmk_sched_native.c pe_action_implies(first, then, pe_action_optional); first 2110 lib/pacemaker/pcmk_sched_native.c pe_action_implies(first, then, pe_action_optional); first 2115 lib/pacemaker/pcmk_sched_native.c pe_action_implies(first, then, pe_action_migrate_runnable); first 2119 lib/pacemaker/pcmk_sched_native.c if (!pcmk_is_set(first->flags, pe_action_optional) first 2120 lib/pacemaker/pcmk_sched_native.c && !pcmk_is_set(first->flags, pe_action_runnable)) { first 2121 lib/pacemaker/pcmk_sched_native.c pe_action_implies(then, first, pe_action_runnable); first 2126 lib/pacemaker/pcmk_sched_native.c native_update_actions(pe_action_t *first, pe_action_t *then, pe_node_t *node, first 2133 lib/pacemaker/pcmk_sched_native.c enum pe_action_flags first_flags = first->flags; first 2136 lib/pacemaker/pcmk_sched_native.c first->uuid, first->node ? first->node->details->uname : "[none]", first 2137 lib/pacemaker/pcmk_sched_native.c first->flags, then->uuid, then->flags); first 2159 lib/pacemaker/pcmk_sched_native.c } else if (!(first->flags & pe_action_runnable)) { first 2162 lib/pacemaker/pcmk_sched_native.c pe_action_implies(then, first, pe_action_optional); first 2163 lib/pacemaker/pcmk_sched_native.c pe_action_implies(then, first, pe_action_runnable); first 2178 lib/pacemaker/pcmk_sched_native.c pe_rsc_trace(first->rsc, first 2180 lib/pacemaker/pcmk_sched_native.c first->uuid, then->uuid); first 2181 lib/pacemaker/pcmk_sched_native.c pe_action_implies(first, then, pe_action_optional); first 2187 lib/pacemaker/pcmk_sched_native.c pe_rsc_trace(first->rsc, "Unset migrate runnable on %s because of %s", first 2188 lib/pacemaker/pcmk_sched_native.c first->uuid, then->uuid); first 2189 lib/pacemaker/pcmk_sched_native.c pe_action_implies(first, then, pe_action_migrate_runnable); first 2197 lib/pacemaker/pcmk_sched_native.c pe_action_implies(first, then, pe_action_optional); first 2199 lib/pacemaker/pcmk_sched_native.c if (pcmk_is_set(first->flags, pe_action_migrate_runnable) && first 2202 lib/pacemaker/pcmk_sched_native.c pe_rsc_trace(first->rsc, "Unset migrate runnable on %s because of %s", first->uuid, then->uuid); first 2203 lib/pacemaker/pcmk_sched_native.c pe_action_implies(first, then, pe_action_migrate_runnable); first 2207 lib/pacemaker/pcmk_sched_native.c first->uuid, then->uuid); first 2217 lib/pacemaker/pcmk_sched_native.c pe_rsc_trace(then->rsc, "Unset runnable on %s because %s is neither runnable or migratable", first->uuid, then->uuid); first 2218 lib/pacemaker/pcmk_sched_native.c pe_action_implies(first, then, pe_action_runnable); first 2222 lib/pacemaker/pcmk_sched_native.c pe_rsc_trace(then->rsc, "Unset optional on %s because %s is not optional", first->uuid, then->uuid); first 2223 lib/pacemaker/pcmk_sched_native.c pe_action_implies(first, then, pe_action_optional); first 2230 lib/pacemaker/pcmk_sched_native.c if ((first->flags & pe_action_runnable) == FALSE) { first 2231 lib/pacemaker/pcmk_sched_native.c pe_action_implies(then, first, pe_action_migrate_runnable); first 2233 lib/pacemaker/pcmk_sched_native.c pe_rsc_trace(then->rsc, "Unset pseudo on %s because %s is not runnable", then->uuid, first->uuid); first 2242 lib/pacemaker/pcmk_sched_native.c pe_rsc_trace(then->rsc, "Unset runnable on %s because of %s", then->uuid, first->uuid); first 2243 lib/pacemaker/pcmk_sched_native.c pe_action_implies(then, first, pe_action_runnable); first 2244 lib/pacemaker/pcmk_sched_native.c pe_action_implies(then, first, pe_action_migrate_runnable); first 2251 lib/pacemaker/pcmk_sched_native.c && !pcmk_is_set(first->flags, pe_action_migrate_runnable)) { first 2255 lib/pacemaker/pcmk_sched_native.c then->uuid, first->uuid); first 2256 lib/pacemaker/pcmk_sched_native.c pe_action_implies(then, first, pe_action_optional); first 2260 lib/pacemaker/pcmk_sched_native.c handle_restart_ordering(first, then, filter); first 2264 lib/pacemaker/pcmk_sched_native.c pe__set_graph_flags(changed, first, pe_graph_updated_then); first 2268 lib/pacemaker/pcmk_sched_native.c then_flags, first->uuid, first->flags); first 2276 lib/pacemaker/pcmk_sched_native.c if (first_flags != first->flags) { first 2277 lib/pacemaker/pcmk_sched_native.c pe__set_graph_flags(changed, first, pe_graph_updated_first); first 2278 lib/pacemaker/pcmk_sched_native.c pe_rsc_trace(first->rsc, first 2280 lib/pacemaker/pcmk_sched_native.c first->uuid, first->node ? first->node->details->uname : "[none]", first 2281 lib/pacemaker/pcmk_sched_native.c first->flags, first_flags, then->uuid, then->flags); first 2909 lib/pengine/unpack.c cmp_on_fail(enum action_fail_response first, enum action_fail_response second) first 2911 lib/pengine/unpack.c switch (first) { first 2955 lib/pengine/unpack.c return (first == action_fail_ignore)? -1 : 1; first 2958 lib/pengine/unpack.c switch (first) { first 2969 lib/pengine/unpack.c switch (first) { first 2983 lib/pengine/unpack.c return first - second;