first 771 daemons/controld/controld_remote_ra.c GList *first = NULL; first 779 daemons/controld/controld_remote_ra.c first = ra_data->cmds; first 780 daemons/controld/controld_remote_ra.c cmd = first->data; first 786 daemons/controld/controld_remote_ra.c ra_data->cmds = g_list_remove_link(ra_data->cmds, first); first 787 daemons/controld/controld_remote_ra.c g_list_free_1(first); first 1365 daemons/execd/execd_commands.c GList *first = rsc->pending_ops; first 1367 daemons/execd/execd_commands.c cmd = first->data; first 1374 daemons/execd/execd_commands.c rsc->pending_ops = g_list_remove_link(rsc->pending_ops, first); first 1375 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 1216 daemons/fenced/fenced_commands.c device_params_diff(GHashTable *first, GHashTable *second) { first 1221 daemons/fenced/fenced_commands.c g_hash_table_iter_init(&gIter, first); first 164 include/pcmki/pcmki_sched_allocate.h enum pe_graph_flags native_update_actions(pe_action_t *first, pe_action_t *then, first 170 include/pcmki/pcmki_sched_allocate.h enum pe_graph_flags group_update_actions(pe_action_t *first, pe_action_t *then, first 176 include/pcmki/pcmki_sched_allocate.h enum pe_graph_flags pcmk__multi_update_actions(pe_action_t *first, first 558 lib/cluster/cpg.c cmp_member_list_nodeid(const void *first, const void *second) first 560 lib/cluster/cpg.c const struct cpg_address *const a = *((const struct cpg_address **) first), first 24 lib/pacemaker/pcmk_graph_producer.c gboolean rsc_update_action(pe_action_t * first, pe_action_t * then, enum pe_ordering type); first 177 lib/pacemaker/pcmk_graph_producer.c graph_update_action(pe_action_t * first, pe_action_t * then, pe_node_t * node, first 201 lib/pacemaker/pcmk_graph_producer.c node = first->node; first 205 lib/pacemaker/pcmk_graph_producer.c first->uuid, then->uuid, node->details->uname); first 210 lib/pacemaker/pcmk_graph_producer.c changed |= then->rsc->cmds->update_actions(first, then, node, first 217 lib/pacemaker/pcmk_graph_producer.c pe__set_graph_flags(changed, first, pe_graph_updated_then); first 220 lib/pacemaker/pcmk_graph_producer.c first->uuid, then->uuid, first 227 lib/pacemaker/pcmk_graph_producer.c changed |= then->rsc->cmds->update_actions(first, then, node, first 231 lib/pacemaker/pcmk_graph_producer.c first->uuid, then->uuid, first 236 lib/pacemaker/pcmk_graph_producer.c if (first->rsc) { first 237 lib/pacemaker/pcmk_graph_producer.c changed |= first->rsc->cmds->update_actions(first, then, node, first 242 lib/pacemaker/pcmk_graph_producer.c && pcmk_is_set(first->flags, pe_action_runnable)) { first 243 lib/pacemaker/pcmk_graph_producer.c pe__clear_action_flags(first, pe_action_runnable); first 244 lib/pacemaker/pcmk_graph_producer.c pe__set_graph_flags(changed, first, pe_graph_updated_first); first 247 lib/pacemaker/pcmk_graph_producer.c first->uuid, then->uuid, first 253 lib/pacemaker/pcmk_graph_producer.c changed |= then->rsc->cmds->update_actions(first, then, node, first 259 lib/pacemaker/pcmk_graph_producer.c first->uuid, then->uuid, first 265 lib/pacemaker/pcmk_graph_producer.c changed |= then->rsc->cmds->update_actions(first, then, node, first 280 lib/pacemaker/pcmk_graph_producer.c pe__set_graph_flags(changed, first, pe_graph_updated_then); first 284 lib/pacemaker/pcmk_graph_producer.c first->uuid, then->uuid, first 290 lib/pacemaker/pcmk_graph_producer.c && (first->rsc->running_on != NULL)) { first 294 lib/pacemaker/pcmk_graph_producer.c first->uuid, then->uuid); first 299 lib/pacemaker/pcmk_graph_producer.c changed |= then->rsc->cmds->update_actions(first, then, node, first 304 lib/pacemaker/pcmk_graph_producer.c first->uuid, then->uuid, first 310 lib/pacemaker/pcmk_graph_producer.c changed |= then->rsc->cmds->update_actions(first, then, node, first 318 lib/pacemaker/pcmk_graph_producer.c pe__set_graph_flags(changed, first, pe_graph_updated_then); first 321 lib/pacemaker/pcmk_graph_producer.c first->uuid, then->uuid, first 327 lib/pacemaker/pcmk_graph_producer.c changed |= then->rsc->cmds->update_actions(first, then, node, first 333 lib/pacemaker/pcmk_graph_producer.c first->uuid, then->uuid, first 339 lib/pacemaker/pcmk_graph_producer.c changed |= then->rsc->cmds->update_actions(first, then, node, first 344 lib/pacemaker/pcmk_graph_producer.c first->uuid, then->uuid, first 350 lib/pacemaker/pcmk_graph_producer.c changed |= then->rsc->cmds->update_actions(first, then, node, first 354 lib/pacemaker/pcmk_graph_producer.c first->uuid, then->uuid, first 360 lib/pacemaker/pcmk_graph_producer.c changed |= then->rsc->cmds->update_actions(first, then, node, first 365 lib/pacemaker/pcmk_graph_producer.c first->uuid, then->uuid, first 369 lib/pacemaker/pcmk_graph_producer.c if ((first->flags & pe_action_runnable) && (type & pe_order_implies_then_printed) first 372 lib/pacemaker/pcmk_graph_producer.c then->uuid, first->uuid); first 381 lib/pacemaker/pcmk_graph_producer.c first->uuid, then->uuid); first 382 lib/pacemaker/pcmk_graph_producer.c pe__set_action_flags(first, pe_action_print_always); first 389 lib/pacemaker/pcmk_graph_producer.c && first->rsc first 390 lib/pacemaker/pcmk_graph_producer.c && pcmk__str_eq(first->task, RSC_STOP, pcmk__str_casei) first 391 lib/pacemaker/pcmk_graph_producer.c && !pcmk_is_set(first->rsc->flags, pe_rsc_managed) first 392 lib/pacemaker/pcmk_graph_producer.c && pcmk_is_set(first->rsc->flags, pe_rsc_block) first 393 lib/pacemaker/pcmk_graph_producer.c && !pcmk_is_set(first->flags, pe_action_runnable)) { first 397 lib/pacemaker/pcmk_graph_producer.c pe__set_graph_flags(changed, first, pe_graph_updated_then); first 401 lib/pacemaker/pcmk_graph_producer.c first->uuid, then->uuid, first 459 lib/pacemaker/pcmk_graph_producer.c pe_action_t *first = other->action; first 462 lib/pacemaker/pcmk_graph_producer.c pe_node_t *first_node = first->node; first 467 lib/pacemaker/pcmk_graph_producer.c if (first->rsc && first->rsc->variant == pe_group && pcmk__str_eq(first->task, RSC_START, pcmk__str_casei)) { first 468 lib/pacemaker/pcmk_graph_producer.c first_node = first->rsc->fns->location(first->rsc, NULL, FALSE); first 470 lib/pacemaker/pcmk_graph_producer.c pe_rsc_trace(first->rsc, "Found node %s for 'first' %s", first 471 lib/pacemaker/pcmk_graph_producer.c first_node->details->uname, first->uuid); first 497 lib/pacemaker/pcmk_graph_producer.c if (first->rsc && pcmk_is_set(other->type, pe_order_then_cancels_first) first 504 lib/pacemaker/pcmk_graph_producer.c if (!strcmp(first->task, CRMD_ACTION_RELOAD_AGENT)) { first 505 lib/pacemaker/pcmk_graph_producer.c pe__clear_resource_flags(first->rsc, pe_rsc_reload); first 509 lib/pacemaker/pcmk_graph_producer.c if (first->rsc && then->rsc && (first->rsc != then->rsc) first 510 lib/pacemaker/pcmk_graph_producer.c && (is_parent(then->rsc, first->rsc) == FALSE)) { first 511 lib/pacemaker/pcmk_graph_producer.c first = rsc_expand_action(first); first 513 lib/pacemaker/pcmk_graph_producer.c if (first != other->action) { first 515 lib/pacemaker/pcmk_graph_producer.c then->uuid, first->uuid, other->action->uuid); first 518 lib/pacemaker/pcmk_graph_producer.c first_flags = get_action_flags(first, then_node); first 524 lib/pacemaker/pcmk_graph_producer.c first->uuid, then->uuid, other->type, first_flags, first 527 lib/pacemaker/pcmk_graph_producer.c action_type_str(first_flags), action_node_str(first), first 528 lib/pacemaker/pcmk_graph_producer.c first->flags, then->flags); first 530 lib/pacemaker/pcmk_graph_producer.c if (first == other->action) { first 545 lib/pacemaker/pcmk_graph_producer.c changed |= graph_update_action(first, then, node, first_flags, first 551 lib/pacemaker/pcmk_graph_producer.c } else if (order_actions(first, then, other->type)) { first 562 lib/pacemaker/pcmk_graph_producer.c other->action->uuid, then->uuid, first->uuid, first 572 lib/pacemaker/pcmk_graph_producer.c first->uuid); first 573 lib/pacemaker/pcmk_graph_producer.c for (lpc2 = first->actions_after; lpc2 != NULL; lpc2 = lpc2->next) { first 578 lib/pacemaker/pcmk_graph_producer.c update_action(first, data_set); first 1916 lib/pacemaker/pcmk_sched_allocate.c pe_action_t *first = before->action; first 1917 lib/pacemaker/pcmk_sched_allocate.c pe_resource_t *first_rsc = first->rsc; first 1919 lib/pacemaker/pcmk_sched_allocate.c if(first->required_runnable_before) { first 1921 lib/pacemaker/pcmk_sched_allocate.c for (clone_actions = first->actions_before; clone_actions != NULL; clone_actions = clone_actions->next) { first 1924 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 1931 lib/pacemaker/pcmk_sched_allocate.c } else if(!pcmk__str_eq(first->task, RSC_START, pcmk__str_casei)) { first 1932 lib/pacemaker/pcmk_sched_allocate.c crm_trace("Not a start op %s for %s", first->uuid, start->uuid); first 1947 lib/pacemaker/pcmk_sched_allocate.c crm_err("Applying %s before %s %d", first->uuid, start->uuid, uber_parent(first_rsc)->variant); first 1952 lib/pacemaker/pcmk_sched_allocate.c crm_err("Ordering %s before %s", first->uuid, probe->uuid); first 1953 lib/pacemaker/pcmk_sched_allocate.c order_actions(first, probe, pe_order_optional); first 636 lib/pacemaker/pcmk_sched_bundle.c multi_update_interleave_actions(pe_action_t *first, pe_action_t *then, first 648 lib/pacemaker/pcmk_sched_bundle.c if (pcmk__ends_with(first->uuid, "_stopped_0") first 649 lib/pacemaker/pcmk_sched_bundle.c || pcmk__ends_with(first->uuid, "_demoted_0")) { first 657 lib/pacemaker/pcmk_sched_bundle.c first->rsc, first 664 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 675 lib/pacemaker/pcmk_sched_bundle.c pe__set_graph_flags(changed, first, pe_graph_updated_then); first 683 lib/pacemaker/pcmk_sched_bundle.c enum action_tasks task = clone_child_action(first); first 689 lib/pacemaker/pcmk_sched_bundle.c first_replica = replica_for_container(first->rsc, first_child, first 691 lib/pacemaker/pcmk_sched_bundle.c if (strstr(first->task, "stop") && first_replica && first_replica->child) { first 755 lib/pacemaker/pcmk_sched_bundle.c pe__set_graph_flags(changed, first, first 778 lib/pacemaker/pcmk_sched_bundle.c can_interleave_actions(pe_action_t *first, pe_action_t *then) first 784 lib/pacemaker/pcmk_sched_bundle.c if(first->rsc == NULL || then->rsc == NULL) { first 785 lib/pacemaker/pcmk_sched_bundle.c crm_trace("Not interleaving %s with %s (both must be resources)", first->uuid, then->uuid); first 787 lib/pacemaker/pcmk_sched_bundle.c } else if(first->rsc == then->rsc) { first 788 lib/pacemaker/pcmk_sched_bundle.c crm_trace("Not interleaving %s with %s (must belong to different resources)", first->uuid, then->uuid); first 790 lib/pacemaker/pcmk_sched_bundle.c } else if(first->rsc->variant < pe_clone || then->rsc->variant < pe_clone) { first 791 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 797 lib/pacemaker/pcmk_sched_bundle.c rsc = first->rsc; first 805 lib/pacemaker/pcmk_sched_bundle.c first->uuid, then->uuid, interleave ? "yes" : "no", rsc->id); first 811 lib/pacemaker/pcmk_sched_bundle.c pcmk__multi_update_actions(pe_action_t *first, pe_action_t *then, first 818 lib/pacemaker/pcmk_sched_bundle.c crm_trace("%s -> %s", first->uuid, then->uuid); first 820 lib/pacemaker/pcmk_sched_bundle.c if(can_interleave_actions(first, then)) { first 821 lib/pacemaker/pcmk_sched_bundle.c changed = multi_update_interleave_actions(first, then, node, flags, first 829 lib/pacemaker/pcmk_sched_bundle.c changed |= native_update_actions(first, then, node, flags, filter, first 843 lib/pacemaker/pcmk_sched_bundle.c then_child_changed |= then_child->cmds->update_actions(first, first 495 lib/pacemaker/pcmk_sched_group.c group_update_actions(pe_action_t *first, pe_action_t *then, pe_node_t *node, first 503 lib/pacemaker/pcmk_sched_group.c changed |= native_update_actions(first, then, node, flags, filter, type, first 511 lib/pacemaker/pcmk_sched_group.c changed |= child->cmds->update_actions(first, child_action, node, first 1792 lib/pacemaker/pcmk_sched_native.c handle_restart_ordering(pe_action_t *first, pe_action_t *then, first 1797 lib/pacemaker/pcmk_sched_native.c CRM_ASSERT(is_primitive_action(first)); first 1814 lib/pacemaker/pcmk_sched_native.c && (first->rsc == then->rsc)) { first 1822 lib/pacemaker/pcmk_sched_native.c pe_rsc_trace(first->rsc, "Handling %s -> %s for %s", first 1823 lib/pacemaker/pcmk_sched_native.c first->uuid, then->uuid, reason); first 1826 lib/pacemaker/pcmk_sched_native.c if (pcmk_is_set(first->flags, pe_action_runnable)) { first 1827 lib/pacemaker/pcmk_sched_native.c clear_action_flag_because(first, pe_action_optional, then); first 1832 lib/pacemaker/pcmk_sched_native.c clear_action_flag_because(first, pe_action_optional, then); first 1837 lib/pacemaker/pcmk_sched_native.c clear_action_flag_because(first, pe_action_migrate_runnable, then); first 1841 lib/pacemaker/pcmk_sched_native.c if (!pcmk_is_set(first->flags, pe_action_optional) first 1842 lib/pacemaker/pcmk_sched_native.c && !pcmk_is_set(first->flags, pe_action_runnable)) { first 1843 lib/pacemaker/pcmk_sched_native.c clear_action_flag_because(then, pe_action_runnable, first); first 1848 lib/pacemaker/pcmk_sched_native.c native_update_actions(pe_action_t *first, pe_action_t *then, pe_node_t *node, first 1855 lib/pacemaker/pcmk_sched_native.c enum pe_action_flags first_flags = first->flags; first 1877 lib/pacemaker/pcmk_sched_native.c } else if (!(first->flags & pe_action_runnable)) { first 1880 lib/pacemaker/pcmk_sched_native.c clear_action_flag_because(then, pe_action_optional, first); first 1881 lib/pacemaker/pcmk_sched_native.c clear_action_flag_because(then, pe_action_runnable, first); first 1894 lib/pacemaker/pcmk_sched_native.c clear_action_flag_because(first, pe_action_optional, then); first 1899 lib/pacemaker/pcmk_sched_native.c clear_action_flag_because(first, pe_action_migrate_runnable, then); first 1908 lib/pacemaker/pcmk_sched_native.c clear_action_flag_because(first, pe_action_optional, then); first 1910 lib/pacemaker/pcmk_sched_native.c if (pcmk_is_set(first->flags, pe_action_migrate_runnable) && first 1912 lib/pacemaker/pcmk_sched_native.c clear_action_flag_because(first, pe_action_migrate_runnable, first 1923 lib/pacemaker/pcmk_sched_native.c clear_action_flag_because(first, pe_action_runnable, then); first 1927 lib/pacemaker/pcmk_sched_native.c clear_action_flag_because(first, pe_action_optional, then); first 1934 lib/pacemaker/pcmk_sched_native.c if ((first->flags & pe_action_runnable) == FALSE) { first 1935 lib/pacemaker/pcmk_sched_native.c clear_action_flag_because(then, pe_action_migrate_runnable, first); first 1945 lib/pacemaker/pcmk_sched_native.c clear_action_flag_because(then, pe_action_runnable, first); first 1946 lib/pacemaker/pcmk_sched_native.c clear_action_flag_because(then, pe_action_migrate_runnable, first); first 1953 lib/pacemaker/pcmk_sched_native.c && !pcmk_is_set(first->flags, pe_action_migrate_runnable)) { first 1955 lib/pacemaker/pcmk_sched_native.c clear_action_flag_because(then, pe_action_optional, first); first 1959 lib/pacemaker/pcmk_sched_native.c handle_restart_ordering(first, then, filter); first 1963 lib/pacemaker/pcmk_sched_native.c pe__set_graph_flags(changed, first, pe_graph_updated_then); first 1969 lib/pacemaker/pcmk_sched_native.c then->flags, then_flags, first->uuid, first->flags); first 1977 lib/pacemaker/pcmk_sched_native.c if (first_flags != first->flags) { first 1978 lib/pacemaker/pcmk_sched_native.c pe__set_graph_flags(changed, first, pe_graph_updated_first); first 1979 lib/pacemaker/pcmk_sched_native.c pe_rsc_trace(first->rsc, first 1982 lib/pacemaker/pcmk_sched_native.c first->uuid, first 1983 lib/pacemaker/pcmk_sched_native.c first->node? first->node->details->uname : "no node", first 1984 lib/pacemaker/pcmk_sched_native.c first->flags, first_flags, then->uuid, then->flags); first 172 lib/pacemaker/pcmk_sched_ordering.c ordering_flags_for_kind(enum pe_order_kind kind, const char *first, first 195 lib/pacemaker/pcmk_sched_ordering.c if (pcmk__strcase_any_of(first, RSC_START, RSC_PROMOTE, first 2906 lib/pengine/unpack.c cmp_on_fail(enum action_fail_response first, enum action_fail_response second) first 2908 lib/pengine/unpack.c switch (first) { first 2952 lib/pengine/unpack.c return (first == action_fail_ignore)? -1 : 1; first 2955 lib/pengine/unpack.c switch (first) { first 2966 lib/pengine/unpack.c switch (first) { first 2980 lib/pengine/unpack.c return first - second; first 288 maint/gnulib/lib/argmatch.h bool first = true; \ first 298 maint/gnulib/lib/argmatch.h if (!first \ first 303 maint/gnulib/lib/argmatch.h first = true; \ first 305 maint/gnulib/lib/argmatch.h if (first) \ first 308 maint/gnulib/lib/argmatch.h first = false; \ first 1119 maint/gnulib/lib/argp-help.c int first; first 1192 maint/gnulib/lib/argp-help.c if (pest->first) first 1214 maint/gnulib/lib/argp-help.c pest->first = 0; first 1302 maint/gnulib/lib/argp-help.c if (pest.first) first 670 maint/gnulib/lib/gen-uni-tables.c unsigned int first = ch; first 676 maint/gnulib/lib/gen-uni-tables.c if (first < last) first 677 maint/gnulib/lib/gen-uni-tables.c fprintf (stream, "0x%04X..0x%04X\n", first, last); first 718 maint/gnulib/lib/gen-uni-tables.c unsigned int first = ch; first 726 maint/gnulib/lib/gen-uni-tables.c fprintf (stream, " { 0x%04X, 0x%04X }", first, last); first 102 maint/gnulib/lib/getprogname.c static int first = 1; first 103 maint/gnulib/lib/getprogname.c if (first) first 105 maint/gnulib/lib/getprogname.c first = 0; first 117 maint/gnulib/lib/getprogname.c static int first = 1; first 118 maint/gnulib/lib/getprogname.c if (first) first 120 maint/gnulib/lib/getprogname.c first = 0; first 197 maint/gnulib/lib/getprogname.c static int first = 1; first 198 maint/gnulib/lib/getprogname.c if (first) first 203 maint/gnulib/lib/getprogname.c first = 0; first 84 maint/gnulib/lib/gl_anytreehash_list1.h const void *first; first 86 maint/gnulib/lib/gl_anytreehash_list1.h if (!gl_oset_iterator_next (&iter, &first)) first 89 maint/gnulib/lib/gl_anytreehash_list1.h return (gl_list_node_t) first; first 183 maint/gnulib/lib/mgetgroups.c gid_t first = *g; first 189 maint/gnulib/lib/mgetgroups.c if (*next == first || *next == *g) first 999 maint/gnulib/lib/regcomp.c Idx first, i; first 1005 maint/gnulib/lib/regcomp.c first = dfa->str_tree->first->node_idx; first 1006 maint/gnulib/lib/regcomp.c dfa->init_node = first; first 1007 maint/gnulib/lib/regcomp.c err = re_node_set_init_copy (&init_nodes, dfa->eclosures + first); first 1387 maint/gnulib/lib/regcomp.c node->first = node->left->first; first 1392 maint/gnulib/lib/regcomp.c node->first = node; first 1412 maint/gnulib/lib/regcomp.c node->left->next = node->right->first; first 1448 maint/gnulib/lib/regcomp.c left = node->left->first->node_idx; first 1452 maint/gnulib/lib/regcomp.c right = node->right->first->node_idx; first 3825 maint/gnulib/lib/regcomp.c tree->first = NULL; first 473 maint/gnulib/lib/regex_internal.h struct bin_tree_t *first; first 29 maint/gnulib/lib/unistr/u-strstr.h UNIT first = needle[0]; first 32 maint/gnulib/lib/unistr/u-strstr.h if (first == 0) first 37 maint/gnulib/lib/unistr/u-strstr.h return U_STRCHR (haystack, first); first 164 maint/gnulib/tests/test-bitset.c bitset_bindex first = bitset_first (adst); first 165 maint/gnulib/tests/test-bitset.c ASSERT (first == bitset_first (bdst)); first 170 maint/gnulib/tests/test-bitset.c ASSERT (first <= last); first 178 maint/gnulib/tests/test-bitset.c bitset_bindex first = bitset_first (bdst); first 184 maint/gnulib/tests/test-bitset.c ASSERT (first <= j && j <= last); first 186 maint/gnulib/tests/test-bitset.c if (j == first) first 191 maint/gnulib/tests/test-bitset.c if (first == BITSET_BINDEX_MAX) first 207 maint/gnulib/tests/test-bitset.c bitset_bindex first = bitset_first (bdst); first 213 maint/gnulib/tests/test-bitset.c ASSERT (first <= j && j <= last); first 215 maint/gnulib/tests/test-bitset.c if (j == first) first 220 maint/gnulib/tests/test-bitset.c if (first == BITSET_BINDEX_MAX)