primary 107 include/pcmki/pcmki_sched_allocate.h void native_rsc_colocation_lh(pe_resource_t *dependent, pe_resource_t *primary, primary 110 include/pcmki/pcmki_sched_allocate.h void native_rsc_colocation_rh(pe_resource_t *dependent, pe_resource_t *primary, primary 129 include/pcmki/pcmki_sched_allocate.h void group_rsc_colocation_lh(pe_resource_t *dependent, pe_resource_t *primary, primary 132 include/pcmki/pcmki_sched_allocate.h void group_rsc_colocation_rh(pe_resource_t *dependent, pe_resource_t *primary, primary 153 include/pcmki/pcmki_sched_allocate.h pe_resource_t *primary, primary 157 include/pcmki/pcmki_sched_allocate.h pe_resource_t *primary, primary 173 include/pcmki/pcmki_sched_allocate.h void clone_rsc_colocation_lh(pe_resource_t *dependent, pe_resource_t *primary, primary 176 include/pcmki/pcmki_sched_allocate.h void clone_rsc_colocation_rh(pe_resource_t *dependent, pe_resource_t *primary, primary 195 include/pcmki/pcmki_sched_allocate.h void promotable_colocation_rh(pe_resource_t *dependent, pe_resource_t *primary, primary 36 include/pcmki/pcmki_scheduler.h pe_resource_t *primary; // The resource the dependent is colocated with primary 86 include/pcmki/pcmki_scheduler.h rsc = colocation->primary; primary 145 lib/pacemaker/libpacemaker_private.h pe_resource_t *primary, primary 151 lib/pacemaker/libpacemaker_private.h pe_resource_t *primary, primary 156 lib/pacemaker/libpacemaker_private.h pe_resource_t *primary, primary 164 lib/pacemaker/libpacemaker_private.h pe_resource_t *dependent, pe_resource_t *primary, primary 52 lib/pacemaker/pcmk_output.c "with-rsc", cons->primary->id, primary 373 lib/pacemaker/pcmk_output.c if (pcmk_is_set(cons->primary->flags, pe_rsc_allocating)) { primary 375 lib/pacemaker/pcmk_output.c cons->primary->id, cons->id); primary 379 lib/pacemaker/pcmk_output.c hdr = colocations_header(cons->primary, cons, FALSE); primary 386 lib/pacemaker/pcmk_output.c out->message(out, "locations-list", cons->primary); primary 389 lib/pacemaker/pcmk_output.c cons->primary, recursive); primary 415 lib/pacemaker/pcmk_output.c if (pcmk_is_set(cons->primary->flags, pe_rsc_allocating)) { primary 416 lib/pacemaker/pcmk_output.c colocations_xml_node(out, cons->primary, cons); primary 420 lib/pacemaker/pcmk_output.c colocations_xml_node(out, cons->primary, cons); primary 421 lib/pacemaker/pcmk_output.c do_locations_list_xml(out, cons->primary, false); primary 425 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 1073 lib/pacemaker/pcmk_sched_clone.c clone_rsc_colocation_lh(pe_resource_t *dependent, pe_resource_t *primary, primary 1085 lib/pacemaker/pcmk_sched_clone.c clone_rsc_colocation_rh(pe_resource_t *dependent, pe_resource_t *primary, primary 1096 lib/pacemaker/pcmk_sched_clone.c CRM_CHECK(primary != NULL, primary 1100 lib/pacemaker/pcmk_sched_clone.c pe_rsc_trace(primary, "Processing constraint %s: %s -> %s %d", primary 1101 lib/pacemaker/pcmk_sched_clone.c constraint->id, dependent->id, primary->id, constraint->score); primary 1103 lib/pacemaker/pcmk_sched_clone.c if (pcmk_is_set(primary->flags, pe_rsc_promotable)) { primary 1104 lib/pacemaker/pcmk_sched_clone.c if (pcmk_is_set(primary->flags, pe_rsc_provisional)) { primary 1105 lib/pacemaker/pcmk_sched_clone.c pe_rsc_trace(primary, "%s is still provisional", primary->id); primary 1108 lib/pacemaker/pcmk_sched_clone.c pe_rsc_trace(primary, "Handling %s as a clone colocation", primary 1111 lib/pacemaker/pcmk_sched_clone.c promotable_colocation_rh(dependent, primary, constraint, data_set); primary 1124 lib/pacemaker/pcmk_sched_clone.c if (copies_per_node(constraint->dependent) != copies_per_node(constraint->primary)) { primary 1128 lib/pacemaker/pcmk_sched_clone.c constraint->primary->id); primary 1135 lib/pacemaker/pcmk_sched_clone.c if (pcmk_is_set(primary->flags, pe_rsc_provisional)) { primary 1136 lib/pacemaker/pcmk_sched_clone.c pe_rsc_trace(primary, "%s is still provisional", primary->id); primary 1142 lib/pacemaker/pcmk_sched_clone.c primary_instance = find_compatible_child(dependent, primary, primary 1146 lib/pacemaker/pcmk_sched_clone.c pe_rsc_debug(primary, "Pairing %s with %s", primary 1153 lib/pacemaker/pcmk_sched_clone.c dependent->id, primary->id); primary 1157 lib/pacemaker/pcmk_sched_clone.c pe_rsc_debug(primary, "Cannot pair %s with instance of %s", primary 1158 lib/pacemaker/pcmk_sched_clone.c dependent->id, primary->id); primary 1166 lib/pacemaker/pcmk_sched_clone.c gIter = primary->children; primary 1172 lib/pacemaker/pcmk_sched_clone.c pe_rsc_trace(primary, "Allowing %s: %s %d", primary 1184 lib/pacemaker/pcmk_sched_clone.c gIter = primary->children; primary 46 lib/pacemaker/pcmk_sched_colocation.c CRM_ASSERT(rsc_constraint1->primary != NULL); primary 96 lib/pacemaker/pcmk_sched_colocation.c CRM_ASSERT(rsc_constraint1->primary != NULL); primary 98 lib/pacemaker/pcmk_sched_colocation.c if (rsc_constraint1->primary->priority > rsc_constraint2->primary->priority) { primary 102 lib/pacemaker/pcmk_sched_colocation.c if (rsc_constraint1->primary->priority < rsc_constraint2->primary->priority) { primary 107 lib/pacemaker/pcmk_sched_colocation.c if (rsc_constraint1->primary->variant > rsc_constraint2->primary->variant) { primary 109 lib/pacemaker/pcmk_sched_colocation.c } else if (rsc_constraint1->primary->variant < rsc_constraint2->primary->variant) { primary 117 lib/pacemaker/pcmk_sched_colocation.c if (rsc_constraint1->primary->variant == pe_clone) { primary 118 lib/pacemaker/pcmk_sched_colocation.c 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 121 lib/pacemaker/pcmk_sched_colocation.c } else 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 127 lib/pacemaker/pcmk_sched_colocation.c return strcmp(rsc_constraint1->primary->id, rsc_constraint2->primary->id); primary 195 lib/pacemaker/pcmk_sched_colocation.c pe_resource_t *dependent, pe_resource_t *primary, primary 205 lib/pacemaker/pcmk_sched_colocation.c if ((dependent == NULL) || (primary == NULL)) { primary 228 lib/pacemaker/pcmk_sched_colocation.c new_con->primary = primary; primary 240 lib/pacemaker/pcmk_sched_colocation.c dependent->id, primary->id, node_attr, score); primary 245 lib/pacemaker/pcmk_sched_colocation.c primary->rsc_cons_lhs = g_list_insert_sorted(primary->rsc_cons_lhs, new_con, primary 252 lib/pacemaker/pcmk_sched_colocation.c anti_colocation_order(dependent, new_con->dependent_role, primary, primary 254 lib/pacemaker/pcmk_sched_colocation.c anti_colocation_order(primary, new_con->primary_role, dependent, primary 504 lib/pacemaker/pcmk_sched_colocation.c pe_resource_t *primary = pcmk__find_constraint_resource(data_set->resources, primary 512 lib/pacemaker/pcmk_sched_colocation.c } else if (primary == NULL) { primary 523 lib/pacemaker/pcmk_sched_colocation.c } else if ((primary_instance != NULL) && !pe_rsc_is_clone(primary)) { primary 541 lib/pacemaker/pcmk_sched_colocation.c primary = find_clone_instance(primary, primary_instance, data_set); primary 542 lib/pacemaker/pcmk_sched_colocation.c if (primary == NULL) { primary 560 lib/pacemaker/pcmk_sched_colocation.c pcmk__new_colocation(id, attr, score_i, dependent, primary, primary 577 lib/pacemaker/pcmk_sched_colocation.c pe_resource_t *primary = NULL; primary 617 lib/pacemaker/pcmk_sched_colocation.c if (!pcmk__valid_resource_or_tag(data_set, primary_id, &primary, primary 624 lib/pacemaker/pcmk_sched_colocation.c if ((dependent != NULL) && (primary != NULL)) { primary 839 lib/pacemaker/pcmk_sched_colocation.c pcmk__colocation_affects(pe_resource_t *dependent, pe_resource_t *primary, primary 842 lib/pacemaker/pcmk_sched_colocation.c if (!preview && pcmk_is_set(primary->flags, pe_rsc_provisional)) { primary 865 lib/pacemaker/pcmk_sched_colocation.c const pe_node_t *primary_node = primary->allocated_to; primary 877 lib/pacemaker/pcmk_sched_colocation.c dependent->id, primary->id, primary 889 lib/pacemaker/pcmk_sched_colocation.c dependent->id, primary->id, primary_node->details->uname); primary 908 lib/pacemaker/pcmk_sched_colocation.c && (constraint->primary_role != primary->next_role)) { primary 913 lib/pacemaker/pcmk_sched_colocation.c primary->id, role2text(primary->next_role)); primary 927 lib/pacemaker/pcmk_sched_colocation.c && (constraint->primary_role == primary->next_role)) { primary 948 lib/pacemaker/pcmk_sched_colocation.c pcmk__apply_coloc_to_weights(pe_resource_t *dependent, pe_resource_t *primary, primary 961 lib/pacemaker/pcmk_sched_colocation.c if (primary->allocated_to != NULL) { primary 962 lib/pacemaker/pcmk_sched_colocation.c value = pe_node_attribute_raw(primary->allocated_to, attribute); primary 973 lib/pacemaker/pcmk_sched_colocation.c if (primary->allocated_to == NULL) { primary 976 lib/pacemaker/pcmk_sched_colocation.c constraint->score, primary->id); primary 1007 lib/pacemaker/pcmk_sched_colocation.c dependent->id, primary->id); primary 1027 lib/pacemaker/pcmk_sched_colocation.c pcmk__apply_coloc_to_priority(pe_resource_t *dependent, pe_resource_t *primary, primary 1035 lib/pacemaker/pcmk_sched_colocation.c if ((primary->allocated_to == NULL) || (dependent->allocated_to == NULL)) { primary 1044 lib/pacemaker/pcmk_sched_colocation.c primary_value = pe_node_attribute_raw(primary->allocated_to, attribute); primary 1055 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 446 lib/pacemaker/pcmk_sched_native.c other = constraint->primary; primary 455 lib/pacemaker/pcmk_sched_native.c constraint->primary->id); primary 521 lib/pacemaker/pcmk_sched_native.c pe_resource_t *primary = constraint->primary; primary 530 lib/pacemaker/pcmk_sched_native.c rsc->id, primary->id, constraint->id, primary 532 lib/pacemaker/pcmk_sched_native.c primary->cmds->allocate(primary, NULL, data_set); primary 533 lib/pacemaker/pcmk_sched_native.c rsc->cmds->rsc_colocation_lh(rsc, primary, constraint, data_set); primary 536 lib/pacemaker/pcmk_sched_native.c rsc->id, primary->id); primary 556 lib/pacemaker/pcmk_sched_native.c constraint->primary->id); primary 1694 lib/pacemaker/pcmk_sched_native.c native_rsc_colocation_lh(pe_resource_t *dependent, pe_resource_t *primary, primary 1702 lib/pacemaker/pcmk_sched_native.c } else if (constraint->primary == NULL) { primary 1709 lib/pacemaker/pcmk_sched_native.c dependent->id, primary->id); primary 1711 lib/pacemaker/pcmk_sched_native.c primary->cmds->rsc_colocation_rh(dependent, primary, constraint, data_set); primary 1715 lib/pacemaker/pcmk_sched_native.c native_rsc_colocation_rh(pe_resource_t *dependent, pe_resource_t *primary, primary 1721 lib/pacemaker/pcmk_sched_native.c CRM_ASSERT((dependent != NULL) && (primary != NULL)); primary 1722 lib/pacemaker/pcmk_sched_native.c filter_results = pcmk__colocation_affects(dependent, primary, constraint, primary 1726 lib/pacemaker/pcmk_sched_native.c dependent->id, primary->id, constraint->id, constraint->score, primary 1731 lib/pacemaker/pcmk_sched_native.c pcmk__apply_coloc_to_priority(dependent, primary, constraint); primary 1734 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 993 lib/pacemaker/pcmk_sched_promotable.c promotable_colocation_rh(pe_resource_t *dependent, pe_resource_t *primary, primary 1002 lib/pacemaker/pcmk_sched_promotable.c for (gIter = primary->children; gIter != NULL; gIter = gIter->next) { primary 1007 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(primary, "Processing: %s", child_rsc->id); primary 1009 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(primary, "Applying: %s %s %s %d", child_rsc->id, primary 1036 lib/pacemaker/pcmk_sched_promotable.c primary_instance = find_compatible_child(dependent, primary, primary 236 lib/pacemaker/pcmk_sched_resource.c pe_resource_t *primary = constraint->primary; primary 238 lib/pacemaker/pcmk_sched_resource.c if (primary == orig_rsc) { primary 243 lib/pacemaker/pcmk_sched_resource.c (pcmk__colocation_affects(rsc, primary, constraint, primary 246 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);