primary 26 include/pcmki/pcmki_scheduler.h pe_resource_t *primary; // The resource the dependent is colocated with primary 109 lib/pacemaker/libpacemaker_private.h const pe_resource_t *primary, primary 378 lib/pacemaker/libpacemaker_private.h const pe_resource_t *primary, primary 384 lib/pacemaker/libpacemaker_private.h const pe_resource_t *primary, primary 389 lib/pacemaker/libpacemaker_private.h const pe_resource_t *primary, primary 408 lib/pacemaker/libpacemaker_private.h pe_resource_t *dependent, pe_resource_t *primary, primary 433 lib/pacemaker/libpacemaker_private.h rsc = colocation->primary; primary 542 lib/pacemaker/libpacemaker_private.h void pcmk__update_dependent_with_promotable(const pe_resource_t *primary, primary 547 lib/pacemaker/libpacemaker_private.h void pcmk__update_promotable_dependent_priority(const pe_resource_t *primary, primary 590 lib/pacemaker/libpacemaker_private.h const pe_resource_t *primary, primary 623 lib/pacemaker/libpacemaker_private.h const pe_resource_t *primary, primary 660 lib/pacemaker/libpacemaker_private.h const pe_resource_t *primary, primary 668 lib/pacemaker/libpacemaker_private.h const pe_resource_t *primary, primary 48 lib/pacemaker/pcmk_output.c "with-rsc", cons->primary->id, primary 377 lib/pacemaker/pcmk_output.c if (pcmk_is_set(cons->primary->flags, pe_rsc_allocating)) { primary 379 lib/pacemaker/pcmk_output.c cons->primary->id, cons->id); primary 383 lib/pacemaker/pcmk_output.c hdr = colocations_header(cons->primary, cons, false); primary 390 lib/pacemaker/pcmk_output.c out->message(out, "locations-list", cons->primary); primary 393 lib/pacemaker/pcmk_output.c cons->primary, recursive); primary 419 lib/pacemaker/pcmk_output.c if (pcmk_is_set(cons->primary->flags, pe_rsc_allocating)) { primary 420 lib/pacemaker/pcmk_output.c colocations_xml_node(out, cons->primary, cons); primary 424 lib/pacemaker/pcmk_output.c colocations_xml_node(out, cons->primary, cons); primary 425 lib/pacemaker/pcmk_output.c do_locations_list_xml(out, cons->primary, false); primary 429 lib/pacemaker/pcmk_output.c cons->primary, recursive); primary 456 lib/pacemaker/pcmk_sched_bundle.c const pe_resource_t *primary, primary 469 lib/pacemaker/pcmk_sched_bundle.c CRM_CHECK((colocation != NULL) && (dependent != NULL) && (primary != NULL), primary 473 lib/pacemaker/pcmk_sched_bundle.c if (pcmk_is_set(primary->flags, pe_rsc_provisional)) { primary 474 lib/pacemaker/pcmk_sched_bundle.c pe_rsc_trace(primary, "%s is still provisional", primary->id); primary 478 lib/pacemaker/pcmk_sched_bundle.c pe_resource_t *primary_replica = compatible_replica(dependent, primary, primary 484 lib/pacemaker/pcmk_sched_bundle.c pe_rsc_debug(primary, "Pairing %s with %s", primary 491 lib/pacemaker/pcmk_sched_bundle.c dependent->id, primary->id); primary 495 lib/pacemaker/pcmk_sched_bundle.c pe_rsc_debug(primary, "Cannot pair %s with instance of %s", primary 496 lib/pacemaker/pcmk_sched_bundle.c dependent->id, primary->id); primary 502 lib/pacemaker/pcmk_sched_bundle.c get_bundle_variant_data(bundle_data, primary); primary 503 lib/pacemaker/pcmk_sched_bundle.c pe_rsc_trace(primary, "Processing constraint %s: %s -> %s %d", primary 504 lib/pacemaker/pcmk_sched_bundle.c colocation->id, dependent->id, primary->id, colocation->score); primary 532 lib/pacemaker/pcmk_sched_bundle.c pe_rsc_trace(primary, "Allowing %s: %s %d", primary 320 lib/pacemaker/pcmk_sched_clone.c rsc->id, constraint->primary->id); primary 321 lib/pacemaker/pcmk_sched_clone.c constraint->primary->cmds->assign(constraint->primary, prefer); primary 700 lib/pacemaker/pcmk_sched_clone.c const pe_resource_t *primary, primary 714 lib/pacemaker/pcmk_sched_clone.c CRM_CHECK((colocation != NULL) && (dependent != NULL) && (primary != NULL), primary 718 lib/pacemaker/pcmk_sched_clone.c pe_rsc_trace(primary, "Processing constraint %s: %s -> %s %d", primary 719 lib/pacemaker/pcmk_sched_clone.c colocation->id, dependent->id, primary->id, colocation->score); primary 721 lib/pacemaker/pcmk_sched_clone.c if (pcmk_is_set(primary->flags, pe_rsc_promotable)) { primary 722 lib/pacemaker/pcmk_sched_clone.c if (pcmk_is_set(primary->flags, pe_rsc_provisional)) { primary 724 lib/pacemaker/pcmk_sched_clone.c pe_rsc_trace(primary, "%s is still provisional", primary->id); primary 729 lib/pacemaker/pcmk_sched_clone.c pe_rsc_trace(primary, "Handling %s as a clone colocation", primary 734 lib/pacemaker/pcmk_sched_clone.c pcmk__update_dependent_with_promotable(primary, dependent, primary 740 lib/pacemaker/pcmk_sched_clone.c pcmk__update_promotable_dependent_priority(primary, dependent, primary 754 lib/pacemaker/pcmk_sched_clone.c if (copies_per_node(colocation->dependent) != copies_per_node(colocation->primary)) { primary 758 lib/pacemaker/pcmk_sched_clone.c colocation->primary->id); primary 765 lib/pacemaker/pcmk_sched_clone.c if (pcmk_is_set(primary->flags, pe_rsc_provisional)) { primary 766 lib/pacemaker/pcmk_sched_clone.c pe_rsc_trace(primary, "%s is still provisional", primary->id); primary 772 lib/pacemaker/pcmk_sched_clone.c primary_instance = find_compatible_child(dependent, primary, primary 775 lib/pacemaker/pcmk_sched_clone.c pe_rsc_debug(primary, "Pairing %s with %s", primary 782 lib/pacemaker/pcmk_sched_clone.c dependent->id, primary->id); primary 786 lib/pacemaker/pcmk_sched_clone.c pe_rsc_debug(primary, "Cannot pair %s with instance of %s", primary 787 lib/pacemaker/pcmk_sched_clone.c dependent->id, primary->id); primary 795 lib/pacemaker/pcmk_sched_clone.c gIter = primary->children; primary 801 lib/pacemaker/pcmk_sched_clone.c pe_rsc_trace(primary, "Allowing %s: %s %d", primary 813 lib/pacemaker/pcmk_sched_clone.c gIter = primary->children; primary 49 lib/pacemaker/pcmk_sched_colocation.c CRM_ASSERT(rsc_constraint1->primary != NULL); primary 99 lib/pacemaker/pcmk_sched_colocation.c CRM_ASSERT(rsc_constraint1->primary != NULL); primary 101 lib/pacemaker/pcmk_sched_colocation.c if (rsc_constraint1->primary->priority > rsc_constraint2->primary->priority) { primary 105 lib/pacemaker/pcmk_sched_colocation.c if (rsc_constraint1->primary->priority < rsc_constraint2->primary->priority) { primary 110 lib/pacemaker/pcmk_sched_colocation.c if (rsc_constraint1->primary->variant > rsc_constraint2->primary->variant) { primary 112 lib/pacemaker/pcmk_sched_colocation.c } else if (rsc_constraint1->primary->variant < rsc_constraint2->primary->variant) { primary 120 lib/pacemaker/pcmk_sched_colocation.c if (rsc_constraint1->primary->variant == pe_clone) { primary 121 lib/pacemaker/pcmk_sched_colocation.c if (pcmk_is_set(rsc_constraint1->primary->flags, pe_rsc_promotable) primary 122 lib/pacemaker/pcmk_sched_colocation.c && !pcmk_is_set(rsc_constraint2->primary->flags, pe_rsc_promotable)) { primary 124 lib/pacemaker/pcmk_sched_colocation.c } else if (!pcmk_is_set(rsc_constraint1->primary->flags, pe_rsc_promotable) primary 125 lib/pacemaker/pcmk_sched_colocation.c && pcmk_is_set(rsc_constraint2->primary->flags, pe_rsc_promotable)) { primary 130 lib/pacemaker/pcmk_sched_colocation.c return strcmp(rsc_constraint1->primary->id, rsc_constraint2->primary->id); primary 226 lib/pacemaker/pcmk_sched_colocation.c pe_resource_t *dependent, pe_resource_t *primary, primary 236 lib/pacemaker/pcmk_sched_colocation.c if ((dependent == NULL) || (primary == NULL)) { primary 259 lib/pacemaker/pcmk_sched_colocation.c new_con->primary = primary; primary 271 lib/pacemaker/pcmk_sched_colocation.c dependent->id, primary->id, node_attr, score); primary 274 lib/pacemaker/pcmk_sched_colocation.c pcmk__add_with_this(primary, new_con); primary 280 lib/pacemaker/pcmk_sched_colocation.c anti_colocation_order(dependent, new_con->dependent_role, primary, primary 282 lib/pacemaker/pcmk_sched_colocation.c anti_colocation_order(primary, new_con->primary_role, dependent, primary 533 lib/pacemaker/pcmk_sched_colocation.c pe_resource_t *primary = pcmk__find_constraint_resource(data_set->resources, primary 553 lib/pacemaker/pcmk_sched_colocation.c } else if (primary == NULL) { primary 564 lib/pacemaker/pcmk_sched_colocation.c } else if ((primary_instance != NULL) && !pe_rsc_is_clone(primary)) { primary 582 lib/pacemaker/pcmk_sched_colocation.c primary = find_clone_instance(primary, primary_instance, data_set); primary 583 lib/pacemaker/pcmk_sched_colocation.c if (primary == NULL) { primary 601 lib/pacemaker/pcmk_sched_colocation.c pcmk__new_colocation(id, attr, score_i, dependent, primary, primary 618 lib/pacemaker/pcmk_sched_colocation.c pe_resource_t *primary = NULL; primary 658 lib/pacemaker/pcmk_sched_colocation.c if (!pcmk__valid_resource_or_tag(data_set, primary_id, &primary, primary 665 lib/pacemaker/pcmk_sched_colocation.c if ((dependent != NULL) && (primary != NULL)) { primary 933 lib/pacemaker/pcmk_sched_colocation.c const pe_resource_t *primary, primary 936 lib/pacemaker/pcmk_sched_colocation.c if (!preview && pcmk_is_set(primary->flags, pe_rsc_provisional)) { primary 959 lib/pacemaker/pcmk_sched_colocation.c const pe_node_t *primary_node = primary->allocated_to; primary 971 lib/pacemaker/pcmk_sched_colocation.c dependent->id, primary->id, primary 983 lib/pacemaker/pcmk_sched_colocation.c dependent->id, primary->id, pe__node_name(primary_node)); primary 1002 lib/pacemaker/pcmk_sched_colocation.c && (colocation->primary_role != primary->next_role)) { primary 1007 lib/pacemaker/pcmk_sched_colocation.c primary->id, role2text(primary->next_role)); primary 1021 lib/pacemaker/pcmk_sched_colocation.c && (colocation->primary_role == primary->next_role)) { primary 1043 lib/pacemaker/pcmk_sched_colocation.c const pe_resource_t *primary, primary 1056 lib/pacemaker/pcmk_sched_colocation.c if (primary->allocated_to != NULL) { primary 1057 lib/pacemaker/pcmk_sched_colocation.c value = pe_node_attribute_raw(primary->allocated_to, attribute); primary 1068 lib/pacemaker/pcmk_sched_colocation.c if (primary->allocated_to == NULL) { primary 1071 lib/pacemaker/pcmk_sched_colocation.c colocation->score, primary->id); primary 1102 lib/pacemaker/pcmk_sched_colocation.c dependent->id, primary->id); primary 1123 lib/pacemaker/pcmk_sched_colocation.c const pe_resource_t *primary, primary 1131 lib/pacemaker/pcmk_sched_colocation.c if ((primary->allocated_to == NULL) || (dependent->allocated_to == NULL)) { primary 1140 lib/pacemaker/pcmk_sched_colocation.c primary_value = pe_node_attribute_raw(primary->allocated_to, attribute); primary 1151 lib/pacemaker/pcmk_sched_colocation.c && (colocation->primary_role != primary->next_role)) { primary 1473 lib/pacemaker/pcmk_sched_colocation.c other = constraint->primary; primary 1482 lib/pacemaker/pcmk_sched_colocation.c constraint->primary->id); primary 372 lib/pacemaker/pcmk_sched_group.c colocate_group_with(pe_resource_t *dependent, const pe_resource_t *primary, primary 381 lib/pacemaker/pcmk_sched_group.c pe_rsc_trace(primary, "Processing %s (group %s with %s) for dependent", primary 382 lib/pacemaker/pcmk_sched_group.c colocation->id, dependent->id, primary->id); primary 387 lib/pacemaker/pcmk_sched_group.c member->cmds->apply_coloc_score(member, primary, colocation, true); primary 394 lib/pacemaker/pcmk_sched_group.c dependent->id, primary->id); primary 401 lib/pacemaker/pcmk_sched_group.c member->cmds->apply_coloc_score(member, primary, colocation, true); primary 418 lib/pacemaker/pcmk_sched_group.c colocate_with_group(pe_resource_t *dependent, const pe_resource_t *primary, primary 423 lib/pacemaker/pcmk_sched_group.c pe_rsc_trace(primary, primary 425 lib/pacemaker/pcmk_sched_group.c colocation->id, dependent->id, primary->id); primary 427 lib/pacemaker/pcmk_sched_group.c if (pcmk_is_set(primary->flags, pe_rsc_provisional)) { primary 431 lib/pacemaker/pcmk_sched_group.c if (pe__group_flag_is_set(primary, pe__group_colocated)) { primary 438 lib/pacemaker/pcmk_sched_group.c member = pe__last_group_member(primary); primary 439 lib/pacemaker/pcmk_sched_group.c } else if (primary->children != NULL) { primary 444 lib/pacemaker/pcmk_sched_group.c member = (pe_resource_t *) primary->children->data; primary 457 lib/pacemaker/pcmk_sched_group.c dependent->id, primary->id); primary 462 lib/pacemaker/pcmk_sched_group.c for (GList *iter = primary->children; iter != NULL; iter = iter->next) { primary 483 lib/pacemaker/pcmk_sched_group.c const pe_resource_t *primary, primary 487 lib/pacemaker/pcmk_sched_group.c CRM_ASSERT((dependent != NULL) && (primary != NULL) primary 491 lib/pacemaker/pcmk_sched_group.c colocate_group_with(dependent, primary, colocation); primary 497 lib/pacemaker/pcmk_sched_group.c colocate_with_group(dependent, primary, colocation); primary 282 lib/pacemaker/pcmk_sched_primitive.c pe_resource_t *other = colocation->primary; primary 1016 lib/pacemaker/pcmk_sched_primitive.c const pe_resource_t *primary, primary 1022 lib/pacemaker/pcmk_sched_primitive.c CRM_CHECK((colocation != NULL) && (dependent != NULL) && (primary != NULL), primary 1027 lib/pacemaker/pcmk_sched_primitive.c primary->cmds->apply_coloc_score(dependent, primary, colocation, false); primary 1031 lib/pacemaker/pcmk_sched_primitive.c filter_results = pcmk__colocation_affects(dependent, primary, colocation, primary 1035 lib/pacemaker/pcmk_sched_primitive.c dependent->id, primary->id, colocation->id, colocation->score, primary 1040 lib/pacemaker/pcmk_sched_primitive.c pcmk__apply_coloc_to_priority(dependent, primary, colocation); primary 1043 lib/pacemaker/pcmk_sched_primitive.c pcmk__apply_coloc_to_weights(dependent, primary, colocation); primary 338 lib/pacemaker/pcmk_sched_promotable.c pe_resource_t *primary = constraint->primary; primary 350 lib/pacemaker/pcmk_sched_promotable.c constraint->primary->id, primary 352 lib/pacemaker/pcmk_sched_promotable.c pcmk__add_colocated_node_scores(primary, clone->id, &clone->allowed_nodes, primary 380 lib/pacemaker/pcmk_sched_promotable.c constraint->primary->id, primary 945 lib/pacemaker/pcmk_sched_promotable.c instance->cmds->apply_coloc_score(instance, cons->primary, cons, true); primary 1153 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(colocation->primary, primary 1156 lib/pacemaker/pcmk_sched_promotable.c colocation->primary->id, pe__node_name(primary_node), attr, primary 1164 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(colocation->primary, "%s: %d + %d", primary 1179 lib/pacemaker/pcmk_sched_promotable.c pcmk__update_dependent_with_promotable(const pe_resource_t *primary, primary 1189 lib/pacemaker/pcmk_sched_promotable.c for (GList *iter = primary->children; iter != NULL; iter = iter->next) { primary 1213 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(colocation->primary, primary 1216 lib/pacemaker/pcmk_sched_promotable.c colocation->primary->id, dependent->id); primary 1232 lib/pacemaker/pcmk_sched_promotable.c pcmk__update_promotable_dependent_priority(const pe_resource_t *primary, primary 1239 lib/pacemaker/pcmk_sched_promotable.c primary_instance = find_compatible_child(dependent, primary, primary 1247 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(colocation->primary, primary 1250 lib/pacemaker/pcmk_sched_promotable.c colocation->primary->id, dependent->id, primary 1258 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(colocation->primary, primary 1261 lib/pacemaker/pcmk_sched_promotable.c colocation->primary->id, dependent->id); primary 231 lib/pacemaker/pcmk_sched_resource.c pe_resource_t *primary = constraint->primary; primary 233 lib/pacemaker/pcmk_sched_resource.c if (primary == orig_rsc) { primary 238 lib/pacemaker/pcmk_sched_resource.c (pcmk__colocation_affects(rsc, primary, constraint, primary 241 lib/pacemaker/pcmk_sched_resource.c colocated_rscs = primary->cmds->colocated_resources(primary, primary 743 lib/pacemaker/pcmk_sched_resource.c pcmk__add_colocated_node_scores(colocation->primary, rsc->id, nodes, primary 34 maint/gnulib/lib/fd-hook.c execute_close_hooks (const struct fd_hook *remaining_list, gl_close_fn primary, primary 39 maint/gnulib/lib/fd-hook.c return primary (fd); primary 42 maint/gnulib/lib/fd-hook.c primary, fd); primary 46 maint/gnulib/lib/fd-hook.c execute_all_close_hooks (gl_close_fn primary, int fd) primary 48 maint/gnulib/lib/fd-hook.c return execute_close_hooks (anchor.private_next, primary, fd); primary 52 maint/gnulib/lib/fd-hook.c execute_ioctl_hooks (const struct fd_hook *remaining_list, gl_ioctl_fn primary, primary 57 maint/gnulib/lib/fd-hook.c return primary (fd, request, arg); primary 60 maint/gnulib/lib/fd-hook.c primary, fd, request, arg); primary 64 maint/gnulib/lib/fd-hook.c execute_all_ioctl_hooks (gl_ioctl_fn primary, primary 67 maint/gnulib/lib/fd-hook.c return execute_ioctl_hooks (anchor.private_next, primary, fd, request, arg); primary 50 maint/gnulib/lib/fd-hook.h gl_close_fn primary, primary 56 maint/gnulib/lib/fd-hook.h gl_ioctl_fn primary, primary 67 maint/gnulib/lib/fd-hook.h gl_close_fn primary, primary 73 maint/gnulib/lib/fd-hook.h gl_close_fn primary, primary 78 maint/gnulib/lib/fd-hook.h extern int execute_all_close_hooks (gl_close_fn primary, int fd); primary 87 maint/gnulib/lib/fd-hook.h gl_ioctl_fn primary, primary 93 maint/gnulib/lib/fd-hook.h gl_ioctl_fn primary, primary 98 maint/gnulib/lib/fd-hook.h extern int execute_all_ioctl_hooks (gl_ioctl_fn primary, primary 1518 maint/gnulib/lib/localename.c int primary, sub; primary 1521 maint/gnulib/lib/localename.c primary = PRIMARYLANGID (langid); primary 1527 maint/gnulib/lib/localename.c switch (primary) primary 42 maint/gnulib/lib/sockets.c gl_close_fn primary, primary 78 maint/gnulib/lib/sockets.c return execute_close_hooks (remaining_list, primary, fd); primary 83 maint/gnulib/lib/sockets.c gl_ioctl_fn primary, primary 106 maint/gnulib/lib/sockets.c return execute_ioctl_hooks (remaining_list, primary, fd, request, arg);