primary 78 include/pcmki/pcmki_sched_allocate.h void native_rsc_colocation_lh(pe_resource_t *dependent, pe_resource_t *primary, primary 81 include/pcmki/pcmki_sched_allocate.h void native_rsc_colocation_rh(pe_resource_t *dependent, pe_resource_t *primary, primary 96 include/pcmki/pcmki_sched_allocate.h void group_rsc_colocation_lh(pe_resource_t *dependent, pe_resource_t *primary, primary 99 include/pcmki/pcmki_sched_allocate.h void group_rsc_colocation_rh(pe_resource_t *dependent, pe_resource_t *primary, primary 117 include/pcmki/pcmki_sched_allocate.h pe_resource_t *primary, primary 121 include/pcmki/pcmki_sched_allocate.h pe_resource_t *primary, primary 134 include/pcmki/pcmki_sched_allocate.h void clone_rsc_colocation_lh(pe_resource_t *dependent, pe_resource_t *primary, primary 137 include/pcmki/pcmki_sched_allocate.h void clone_rsc_colocation_rh(pe_resource_t *dependent, pe_resource_t *primary, primary 153 include/pcmki/pcmki_sched_allocate.h void promotable_colocation_rh(pe_resource_t *dependent, pe_resource_t *primary, primary 43 include/pcmki/pcmki_scheduler.h pe_resource_t *primary; // The resource the dependent is colocated with primary 102 include/pcmki/pcmki_scheduler.h rsc = colocation->primary; primary 88 lib/pacemaker/libpacemaker_private.h pe_resource_t *primary, primary 94 lib/pacemaker/libpacemaker_private.h pe_resource_t *primary, primary 99 lib/pacemaker/libpacemaker_private.h pe_resource_t *primary, primary 107 lib/pacemaker/libpacemaker_private.h pe_resource_t *dependent, pe_resource_t *primary, primary 50 lib/pacemaker/pcmk_output.c "with-rsc", cons->primary->id, primary 371 lib/pacemaker/pcmk_output.c if (pcmk_is_set(cons->primary->flags, pe_rsc_allocating)) { primary 373 lib/pacemaker/pcmk_output.c cons->primary->id, cons->id); primary 377 lib/pacemaker/pcmk_output.c hdr = colocations_header(cons->primary, cons, FALSE); primary 384 lib/pacemaker/pcmk_output.c out->message(out, "locations-list", cons->primary); primary 387 lib/pacemaker/pcmk_output.c cons->primary, recursive); primary 413 lib/pacemaker/pcmk_output.c if (pcmk_is_set(cons->primary->flags, pe_rsc_allocating)) { primary 414 lib/pacemaker/pcmk_output.c colocations_xml_node(out, cons->primary, cons); primary 418 lib/pacemaker/pcmk_output.c colocations_xml_node(out, cons->primary, cons); primary 419 lib/pacemaker/pcmk_output.c do_locations_list_xml(out, cons->primary, false); primary 423 lib/pacemaker/pcmk_output.c cons->primary, recursive); primary 412 lib/pacemaker/pcmk_sched_bundle.c pcmk__bundle_rsc_colocation_lh(pe_resource_t *dependent, pe_resource_t *primary, primary 465 lib/pacemaker/pcmk_sched_bundle.c pcmk__bundle_rsc_colocation_rh(pe_resource_t *dependent, pe_resource_t *primary, primary 475 lib/pacemaker/pcmk_sched_bundle.c CRM_CHECK(primary != NULL, primary 479 lib/pacemaker/pcmk_sched_bundle.c if (pcmk_is_set(primary->flags, pe_rsc_provisional)) { primary 480 lib/pacemaker/pcmk_sched_bundle.c pe_rsc_trace(primary, "%s is still provisional", primary->id); primary 484 lib/pacemaker/pcmk_sched_bundle.c pe_resource_t *primary_replica = compatible_replica(dependent, primary, primary 489 lib/pacemaker/pcmk_sched_bundle.c pe_rsc_debug(primary, "Pairing %s with %s", primary 496 lib/pacemaker/pcmk_sched_bundle.c dependent->id, primary->id); primary 500 lib/pacemaker/pcmk_sched_bundle.c pe_rsc_debug(primary, "Cannot pair %s with instance of %s", primary 501 lib/pacemaker/pcmk_sched_bundle.c dependent->id, primary->id); primary 507 lib/pacemaker/pcmk_sched_bundle.c get_bundle_variant_data(bundle_data, primary); primary 508 lib/pacemaker/pcmk_sched_bundle.c pe_rsc_trace(primary, "Processing constraint %s: %s -> %s %d", primary 509 lib/pacemaker/pcmk_sched_bundle.c constraint->id, dependent->id, primary->id, constraint->score); primary 537 lib/pacemaker/pcmk_sched_bundle.c pe_rsc_trace(primary, "Allowing %s: %s %d", primary 129 lib/pacemaker/pcmk_sched_clone.c hash1 = pcmk__native_merge_weights(constraint->primary, rsc1->id, hash1, primary 159 lib/pacemaker/pcmk_sched_clone.c hash2 = pcmk__native_merge_weights(constraint->primary, rsc2->id, hash2, primary 709 lib/pacemaker/pcmk_sched_clone.c rsc->id, constraint->primary->id); primary 710 lib/pacemaker/pcmk_sched_clone.c constraint->primary->cmds->allocate(constraint->primary, prefer, primary 1093 lib/pacemaker/pcmk_sched_clone.c clone_rsc_colocation_lh(pe_resource_t *dependent, pe_resource_t *primary, primary 1105 lib/pacemaker/pcmk_sched_clone.c clone_rsc_colocation_rh(pe_resource_t *dependent, pe_resource_t *primary, primary 1116 lib/pacemaker/pcmk_sched_clone.c CRM_CHECK(primary != NULL, primary 1120 lib/pacemaker/pcmk_sched_clone.c pe_rsc_trace(primary, "Processing constraint %s: %s -> %s %d", primary 1121 lib/pacemaker/pcmk_sched_clone.c constraint->id, dependent->id, primary->id, constraint->score); primary 1123 lib/pacemaker/pcmk_sched_clone.c if (pcmk_is_set(primary->flags, pe_rsc_promotable)) { primary 1124 lib/pacemaker/pcmk_sched_clone.c if (pcmk_is_set(primary->flags, pe_rsc_provisional)) { primary 1125 lib/pacemaker/pcmk_sched_clone.c pe_rsc_trace(primary, "%s is still provisional", primary->id); primary 1128 lib/pacemaker/pcmk_sched_clone.c pe_rsc_trace(primary, "Handling %s as a clone colocation", primary 1131 lib/pacemaker/pcmk_sched_clone.c promotable_colocation_rh(dependent, primary, constraint, data_set); primary 1144 lib/pacemaker/pcmk_sched_clone.c if (copies_per_node(constraint->dependent) != copies_per_node(constraint->primary)) { primary 1148 lib/pacemaker/pcmk_sched_clone.c constraint->primary->id); primary 1155 lib/pacemaker/pcmk_sched_clone.c if (pcmk_is_set(primary->flags, pe_rsc_provisional)) { primary 1156 lib/pacemaker/pcmk_sched_clone.c pe_rsc_trace(primary, "%s is still provisional", primary->id); primary 1162 lib/pacemaker/pcmk_sched_clone.c primary_instance = find_compatible_child(dependent, primary, primary 1166 lib/pacemaker/pcmk_sched_clone.c pe_rsc_debug(primary, "Pairing %s with %s", primary 1173 lib/pacemaker/pcmk_sched_clone.c dependent->id, primary->id); primary 1177 lib/pacemaker/pcmk_sched_clone.c pe_rsc_debug(primary, "Cannot pair %s with instance of %s", primary 1178 lib/pacemaker/pcmk_sched_clone.c dependent->id, primary->id); primary 1186 lib/pacemaker/pcmk_sched_clone.c gIter = primary->children; primary 1192 lib/pacemaker/pcmk_sched_clone.c pe_rsc_trace(primary, "Allowing %s: %s %d", primary 1204 lib/pacemaker/pcmk_sched_clone.c gIter = primary->children; primary 43 lib/pacemaker/pcmk_sched_colocation.c CRM_ASSERT(rsc_constraint1->primary != NULL); primary 93 lib/pacemaker/pcmk_sched_colocation.c CRM_ASSERT(rsc_constraint1->primary != NULL); primary 95 lib/pacemaker/pcmk_sched_colocation.c if (rsc_constraint1->primary->priority > rsc_constraint2->primary->priority) { primary 99 lib/pacemaker/pcmk_sched_colocation.c if (rsc_constraint1->primary->priority < rsc_constraint2->primary->priority) { primary 104 lib/pacemaker/pcmk_sched_colocation.c if (rsc_constraint1->primary->variant > rsc_constraint2->primary->variant) { primary 106 lib/pacemaker/pcmk_sched_colocation.c } else if (rsc_constraint1->primary->variant < rsc_constraint2->primary->variant) { primary 114 lib/pacemaker/pcmk_sched_colocation.c if (rsc_constraint1->primary->variant == pe_clone) { primary 115 lib/pacemaker/pcmk_sched_colocation.c if (pcmk_is_set(rsc_constraint1->primary->flags, pe_rsc_promotable) primary 116 lib/pacemaker/pcmk_sched_colocation.c && !pcmk_is_set(rsc_constraint2->primary->flags, pe_rsc_promotable)) { primary 118 lib/pacemaker/pcmk_sched_colocation.c } else if (!pcmk_is_set(rsc_constraint1->primary->flags, pe_rsc_promotable) primary 119 lib/pacemaker/pcmk_sched_colocation.c && pcmk_is_set(rsc_constraint2->primary->flags, pe_rsc_promotable)) { primary 124 lib/pacemaker/pcmk_sched_colocation.c return strcmp(rsc_constraint1->primary->id, rsc_constraint2->primary->id); primary 192 lib/pacemaker/pcmk_sched_colocation.c pe_resource_t *dependent, pe_resource_t *primary, primary 202 lib/pacemaker/pcmk_sched_colocation.c if ((dependent == NULL) || (primary == NULL)) { primary 225 lib/pacemaker/pcmk_sched_colocation.c new_con->primary = primary; primary 237 lib/pacemaker/pcmk_sched_colocation.c dependent->id, primary->id, node_attr, score); primary 242 lib/pacemaker/pcmk_sched_colocation.c primary->rsc_cons_lhs = g_list_insert_sorted(primary->rsc_cons_lhs, new_con, primary 249 lib/pacemaker/pcmk_sched_colocation.c anti_colocation_order(dependent, new_con->dependent_role, primary, primary 251 lib/pacemaker/pcmk_sched_colocation.c anti_colocation_order(primary, new_con->primary_role, dependent, primary 499 lib/pacemaker/pcmk_sched_colocation.c pe_resource_t *primary = pcmk__find_constraint_resource(data_set->resources, primary 507 lib/pacemaker/pcmk_sched_colocation.c } else if (primary == NULL) { primary 518 lib/pacemaker/pcmk_sched_colocation.c } else if ((primary_instance != NULL) && !pe_rsc_is_clone(primary)) { primary 536 lib/pacemaker/pcmk_sched_colocation.c primary = find_clone_instance(primary, primary_instance, data_set); primary 537 lib/pacemaker/pcmk_sched_colocation.c if (primary == NULL) { primary 555 lib/pacemaker/pcmk_sched_colocation.c pcmk__new_colocation(id, attr, score_i, dependent, primary, primary 572 lib/pacemaker/pcmk_sched_colocation.c pe_resource_t *primary = NULL; primary 612 lib/pacemaker/pcmk_sched_colocation.c if (!pcmk__valid_resource_or_tag(data_set, primary_id, &primary, primary 619 lib/pacemaker/pcmk_sched_colocation.c if ((dependent != NULL) && (primary != NULL)) { primary 834 lib/pacemaker/pcmk_sched_colocation.c pcmk__colocation_affects(pe_resource_t *dependent, pe_resource_t *primary, primary 837 lib/pacemaker/pcmk_sched_colocation.c if (!preview && pcmk_is_set(primary->flags, pe_rsc_provisional)) { primary 860 lib/pacemaker/pcmk_sched_colocation.c const pe_node_t *primary_node = primary->allocated_to; primary 872 lib/pacemaker/pcmk_sched_colocation.c dependent->id, primary->id, primary 884 lib/pacemaker/pcmk_sched_colocation.c dependent->id, primary->id, primary_node->details->uname); primary 903 lib/pacemaker/pcmk_sched_colocation.c && (constraint->primary_role != primary->next_role)) { primary 908 lib/pacemaker/pcmk_sched_colocation.c primary->id, role2text(primary->next_role)); primary 922 lib/pacemaker/pcmk_sched_colocation.c && (constraint->primary_role == primary->next_role)) { primary 943 lib/pacemaker/pcmk_sched_colocation.c pcmk__apply_coloc_to_weights(pe_resource_t *dependent, pe_resource_t *primary, primary 956 lib/pacemaker/pcmk_sched_colocation.c if (primary->allocated_to != NULL) { primary 957 lib/pacemaker/pcmk_sched_colocation.c value = pe_node_attribute_raw(primary->allocated_to, attribute); primary 968 lib/pacemaker/pcmk_sched_colocation.c if (primary->allocated_to == NULL) { primary 971 lib/pacemaker/pcmk_sched_colocation.c constraint->score, primary->id); primary 1001 lib/pacemaker/pcmk_sched_colocation.c dependent->id, primary->id); primary 1021 lib/pacemaker/pcmk_sched_colocation.c pcmk__apply_coloc_to_priority(pe_resource_t *dependent, pe_resource_t *primary, primary 1029 lib/pacemaker/pcmk_sched_colocation.c if ((primary->allocated_to == NULL) || (dependent->allocated_to == NULL)) { primary 1038 lib/pacemaker/pcmk_sched_colocation.c primary_value = pe_node_attribute_raw(primary->allocated_to, attribute); primary 1049 lib/pacemaker/pcmk_sched_colocation.c && (constraint->primary_role != primary->next_role)) { primary 359 lib/pacemaker/pcmk_sched_group.c group_rsc_colocation_lh(pe_resource_t *dependent, pe_resource_t *primary, primary 370 lib/pacemaker/pcmk_sched_group.c } else if (primary == NULL) { primary 382 lib/pacemaker/pcmk_sched_group.c primary, constraint, primary 389 lib/pacemaker/pcmk_sched_group.c dependent->id, primary->id); primary 396 lib/pacemaker/pcmk_sched_group.c child_rsc->cmds->rsc_colocation_lh(child_rsc, primary, constraint, primary 402 lib/pacemaker/pcmk_sched_group.c group_rsc_colocation_rh(pe_resource_t *dependent, pe_resource_t *primary, primary 406 lib/pacemaker/pcmk_sched_group.c GList *gIter = primary->children; primary 409 lib/pacemaker/pcmk_sched_group.c get_group_variant_data(group_data, primary); primary 412 lib/pacemaker/pcmk_sched_group.c pe_rsc_trace(primary, "Processing RH %s of constraint %s (LH is %s)", primary 413 lib/pacemaker/pcmk_sched_group.c primary->id, constraint->id, dependent->id); primary 415 lib/pacemaker/pcmk_sched_group.c if (pcmk_is_set(primary->flags, pe_rsc_provisional)) { primary 437 lib/pacemaker/pcmk_sched_group.c " non-colocated group %s", dependent->id, primary->id); primary 447 lib/pacemaker/pcmk_sched_native.c other = constraint->primary; primary 456 lib/pacemaker/pcmk_sched_native.c constraint->primary->id); primary 522 lib/pacemaker/pcmk_sched_native.c pe_resource_t *primary = constraint->primary; primary 531 lib/pacemaker/pcmk_sched_native.c rsc->id, primary->id, constraint->id, primary 533 lib/pacemaker/pcmk_sched_native.c primary->cmds->allocate(primary, NULL, data_set); primary 534 lib/pacemaker/pcmk_sched_native.c rsc->cmds->rsc_colocation_lh(rsc, primary, constraint, data_set); primary 537 lib/pacemaker/pcmk_sched_native.c rsc->id, primary->id); primary 557 lib/pacemaker/pcmk_sched_native.c constraint->primary->id); primary 1700 lib/pacemaker/pcmk_sched_native.c native_rsc_colocation_lh(pe_resource_t *dependent, pe_resource_t *primary, primary 1708 lib/pacemaker/pcmk_sched_native.c } else if (constraint->primary == NULL) { primary 1715 lib/pacemaker/pcmk_sched_native.c dependent->id, primary->id); primary 1717 lib/pacemaker/pcmk_sched_native.c primary->cmds->rsc_colocation_rh(dependent, primary, constraint, data_set); primary 1721 lib/pacemaker/pcmk_sched_native.c native_rsc_colocation_rh(pe_resource_t *dependent, pe_resource_t *primary, primary 1727 lib/pacemaker/pcmk_sched_native.c CRM_ASSERT((dependent != NULL) && (primary != NULL)); primary 1728 lib/pacemaker/pcmk_sched_native.c filter_results = pcmk__colocation_affects(dependent, primary, constraint, primary 1732 lib/pacemaker/pcmk_sched_native.c dependent->id, primary->id, constraint->id, constraint->score, primary 1737 lib/pacemaker/pcmk_sched_native.c pcmk__apply_coloc_to_priority(dependent, primary, constraint); primary 1740 lib/pacemaker/pcmk_sched_native.c pcmk__apply_coloc_to_weights(dependent, primary, constraint); primary 348 lib/pacemaker/pcmk_sched_promotable.c constraint->dependent->id, constraint->primary->id, primary 350 lib/pacemaker/pcmk_sched_promotable.c rsc->allowed_nodes = constraint->primary->cmds->merge_weights( primary 351 lib/pacemaker/pcmk_sched_promotable.c constraint->primary, rsc->id, rsc->allowed_nodes, primary 370 lib/pacemaker/pcmk_sched_promotable.c constraint->dependent->id, constraint->primary->id, primary 743 lib/pacemaker/pcmk_sched_promotable.c child_rsc->cmds->rsc_colocation_lh(child_rsc, cons->primary, cons, primary 986 lib/pacemaker/pcmk_sched_promotable.c promotable_colocation_rh(pe_resource_t *dependent, pe_resource_t *primary, primary 995 lib/pacemaker/pcmk_sched_promotable.c for (gIter = primary->children; gIter != NULL; gIter = gIter->next) { primary 1000 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(primary, "Processing: %s", child_rsc->id); primary 1002 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(primary, "Applying: %s %s %s %d", child_rsc->id, primary 1029 lib/pacemaker/pcmk_sched_promotable.c primary_instance = find_compatible_child(dependent, primary, primary 38 lib/pacemaker/pcmk_sched_resource.c pe_resource_t *primary = constraint->primary; primary 40 lib/pacemaker/pcmk_sched_resource.c if (primary == orig_rsc) { primary 45 lib/pacemaker/pcmk_sched_resource.c (pcmk__colocation_affects(rsc, primary, constraint, primary 48 lib/pacemaker/pcmk_sched_resource.c colocated_rscs = primary->cmds->colocated_resources(primary, 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);