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 445 lib/pacemaker/libpacemaker_private.h const pe_resource_t *primary, primary 451 lib/pacemaker/libpacemaker_private.h const pe_resource_t *primary, primary 456 lib/pacemaker/libpacemaker_private.h const pe_resource_t *primary, primary 484 lib/pacemaker/libpacemaker_private.h pe_resource_t *dependent, pe_resource_t *primary, primary 509 lib/pacemaker/libpacemaker_private.h rsc = colocation->primary; primary 617 lib/pacemaker/libpacemaker_private.h void pcmk__update_dependent_with_promotable(const pe_resource_t *primary, primary 622 lib/pacemaker/libpacemaker_private.h void pcmk__update_promotable_dependent_priority(const pe_resource_t *primary, primary 666 lib/pacemaker/libpacemaker_private.h const pe_resource_t *primary, primary 709 lib/pacemaker/libpacemaker_private.h const pe_resource_t *primary, primary 763 lib/pacemaker/libpacemaker_private.h const pe_resource_t *primary, primary 782 lib/pacemaker/libpacemaker_private.h const pe_resource_t *primary, primary 49 lib/pacemaker/pcmk_output.c "with-rsc", cons->primary->id, primary 381 lib/pacemaker/pcmk_output.c if (pcmk_is_set(cons->primary->flags, pe_rsc_detect_loop)) { primary 383 lib/pacemaker/pcmk_output.c cons->primary->id, cons->id); primary 387 lib/pacemaker/pcmk_output.c hdr = colocations_header(cons->primary, cons, false); primary 394 lib/pacemaker/pcmk_output.c out->message(out, "locations-list", cons->primary); primary 397 lib/pacemaker/pcmk_output.c cons->primary, recursive); primary 426 lib/pacemaker/pcmk_output.c if (pcmk_is_set(cons->primary->flags, pe_rsc_detect_loop)) { primary 427 lib/pacemaker/pcmk_output.c colocations_xml_node(out, cons->primary, cons); primary 431 lib/pacemaker/pcmk_output.c colocations_xml_node(out, cons->primary, cons); primary 432 lib/pacemaker/pcmk_output.c do_locations_list_xml(out, cons->primary, false); primary 436 lib/pacemaker/pcmk_output.c cons->primary, recursive); primary 424 lib/pacemaker/pcmk_sched_bundle.c const pe_resource_t *primary, primary 437 lib/pacemaker/pcmk_sched_bundle.c CRM_CHECK((colocation != NULL) && (dependent != NULL) && (primary != NULL), primary 441 lib/pacemaker/pcmk_sched_bundle.c if (pcmk_is_set(primary->flags, pe_rsc_provisional)) { primary 442 lib/pacemaker/pcmk_sched_bundle.c pe_rsc_trace(primary, "%s is still provisional", primary->id); primary 446 lib/pacemaker/pcmk_sched_bundle.c pe_resource_t *primary_replica = compatible_replica(dependent, primary, primary 452 lib/pacemaker/pcmk_sched_bundle.c pe_rsc_debug(primary, "Pairing %s with %s", primary 459 lib/pacemaker/pcmk_sched_bundle.c dependent->id, primary->id); primary 463 lib/pacemaker/pcmk_sched_bundle.c pe_rsc_debug(primary, "Cannot pair %s with instance of %s", primary 464 lib/pacemaker/pcmk_sched_bundle.c dependent->id, primary->id); primary 470 lib/pacemaker/pcmk_sched_bundle.c get_bundle_variant_data(bundle_data, primary); primary 471 lib/pacemaker/pcmk_sched_bundle.c pe_rsc_trace(primary, "Processing constraint %s: %s -> %s %d", primary 472 lib/pacemaker/pcmk_sched_bundle.c colocation->id, dependent->id, primary->id, colocation->score); primary 500 lib/pacemaker/pcmk_sched_bundle.c pe_rsc_trace(primary, "Allowing %s: %s %d", primary 55 lib/pacemaker/pcmk_sched_clone.c rsc->id, constraint->id, constraint->primary->id); primary 56 lib/pacemaker/pcmk_sched_clone.c constraint->primary->cmds->assign(constraint->primary, prefer); primary 224 lib/pacemaker/pcmk_sched_clone.c const pe_resource_t *primary, primary 238 lib/pacemaker/pcmk_sched_clone.c CRM_CHECK((colocation != NULL) && (dependent != NULL) && (primary != NULL), primary 242 lib/pacemaker/pcmk_sched_clone.c pe_rsc_trace(primary, "Processing constraint %s: %s -> %s %d", primary 243 lib/pacemaker/pcmk_sched_clone.c colocation->id, dependent->id, primary->id, colocation->score); primary 245 lib/pacemaker/pcmk_sched_clone.c if (pcmk_is_set(primary->flags, pe_rsc_promotable)) { primary 246 lib/pacemaker/pcmk_sched_clone.c if (pcmk_is_set(primary->flags, pe_rsc_provisional)) { primary 248 lib/pacemaker/pcmk_sched_clone.c pe_rsc_trace(primary, "%s is still provisional", primary->id); primary 253 lib/pacemaker/pcmk_sched_clone.c pe_rsc_trace(primary, "Handling %s as a clone colocation", primary 258 lib/pacemaker/pcmk_sched_clone.c pcmk__update_dependent_with_promotable(primary, dependent, primary 264 lib/pacemaker/pcmk_sched_clone.c pcmk__update_promotable_dependent_priority(primary, dependent, primary 278 lib/pacemaker/pcmk_sched_clone.c if (copies_per_node(colocation->dependent) != copies_per_node(colocation->primary)) { primary 282 lib/pacemaker/pcmk_sched_clone.c colocation->primary->id); primary 289 lib/pacemaker/pcmk_sched_clone.c if (pcmk_is_set(primary->flags, pe_rsc_provisional)) { primary 290 lib/pacemaker/pcmk_sched_clone.c pe_rsc_trace(primary, "%s is still provisional", primary->id); primary 296 lib/pacemaker/pcmk_sched_clone.c primary_instance = pcmk__find_compatible_instance(dependent, primary, primary 300 lib/pacemaker/pcmk_sched_clone.c pe_rsc_debug(primary, "Pairing %s with %s", primary 307 lib/pacemaker/pcmk_sched_clone.c dependent->id, primary->id); primary 311 lib/pacemaker/pcmk_sched_clone.c pe_rsc_debug(primary, "Cannot pair %s with instance of %s", primary 312 lib/pacemaker/pcmk_sched_clone.c dependent->id, primary->id); primary 320 lib/pacemaker/pcmk_sched_clone.c gIter = primary->children; primary 326 lib/pacemaker/pcmk_sched_clone.c pe_rsc_trace(primary, "Allowing %s: %s %d", primary 338 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 150 lib/pacemaker/pcmk_sched_colocation.c colocation->primary->id, primary 201 lib/pacemaker/pcmk_sched_colocation.c colocation->primary->id, primary 304 lib/pacemaker/pcmk_sched_colocation.c pe_resource_t *dependent, pe_resource_t *primary, primary 314 lib/pacemaker/pcmk_sched_colocation.c if ((dependent == NULL) || (primary == NULL)) { primary 337 lib/pacemaker/pcmk_sched_colocation.c new_con->primary = primary; primary 349 lib/pacemaker/pcmk_sched_colocation.c dependent->id, primary->id, node_attr, score); primary 352 lib/pacemaker/pcmk_sched_colocation.c pcmk__add_with_this(&(primary->rsc_cons_lhs), new_con); primary 358 lib/pacemaker/pcmk_sched_colocation.c anti_colocation_order(dependent, new_con->dependent_role, primary, primary 360 lib/pacemaker/pcmk_sched_colocation.c anti_colocation_order(primary, new_con->primary_role, dependent, primary 611 lib/pacemaker/pcmk_sched_colocation.c pe_resource_t *primary = pcmk__find_constraint_resource(data_set->resources, primary 631 lib/pacemaker/pcmk_sched_colocation.c } else if (primary == NULL) { primary 642 lib/pacemaker/pcmk_sched_colocation.c } else if ((primary_instance != NULL) && !pe_rsc_is_clone(primary)) { primary 660 lib/pacemaker/pcmk_sched_colocation.c primary = find_clone_instance(primary, primary_instance); primary 661 lib/pacemaker/pcmk_sched_colocation.c if (primary == NULL) { primary 679 lib/pacemaker/pcmk_sched_colocation.c pcmk__new_colocation(id, attr, score_i, dependent, primary, primary 696 lib/pacemaker/pcmk_sched_colocation.c pe_resource_t *primary = NULL; primary 736 lib/pacemaker/pcmk_sched_colocation.c if (!pcmk__valid_resource_or_tag(data_set, primary_id, &primary, primary 743 lib/pacemaker/pcmk_sched_colocation.c if ((dependent != NULL) && (primary != NULL)) { primary 1010 lib/pacemaker/pcmk_sched_colocation.c const pe_resource_t *primary, primary 1013 lib/pacemaker/pcmk_sched_colocation.c if (!preview && pcmk_is_set(primary->flags, pe_rsc_provisional)) { primary 1036 lib/pacemaker/pcmk_sched_colocation.c const pe_node_t *primary_node = primary->allocated_to; primary 1048 lib/pacemaker/pcmk_sched_colocation.c dependent->id, primary->id, primary 1060 lib/pacemaker/pcmk_sched_colocation.c dependent->id, primary->id, pe__node_name(primary_node)); primary 1079 lib/pacemaker/pcmk_sched_colocation.c && (colocation->primary_role != primary->next_role)) { primary 1084 lib/pacemaker/pcmk_sched_colocation.c primary->id, role2text(primary->next_role)); primary 1098 lib/pacemaker/pcmk_sched_colocation.c && (colocation->primary_role == primary->next_role)) { primary 1120 lib/pacemaker/pcmk_sched_colocation.c const pe_resource_t *primary, primary 1133 lib/pacemaker/pcmk_sched_colocation.c if (primary->allocated_to != NULL) { primary 1134 lib/pacemaker/pcmk_sched_colocation.c value = pe_node_attribute_raw(primary->allocated_to, attribute); primary 1145 lib/pacemaker/pcmk_sched_colocation.c if (primary->allocated_to == NULL) { primary 1152 lib/pacemaker/pcmk_sched_colocation.c pcmk_readable_score(colocation->score), primary->id); primary 1198 lib/pacemaker/pcmk_sched_colocation.c dependent->id, primary->id); primary 1219 lib/pacemaker/pcmk_sched_colocation.c const pe_resource_t *primary, primary 1227 lib/pacemaker/pcmk_sched_colocation.c if ((primary->allocated_to == NULL) || (dependent->allocated_to == NULL)) { primary 1236 lib/pacemaker/pcmk_sched_colocation.c primary_value = pe_node_attribute_raw(primary->allocated_to, attribute); primary 1247 lib/pacemaker/pcmk_sched_colocation.c && (colocation->primary_role != primary->next_role)) { primary 1482 lib/pacemaker/pcmk_sched_colocation.c other = constraint->primary; primary 1491 lib/pacemaker/pcmk_sched_colocation.c constraint->primary->id); primary 319 lib/pacemaker/pcmk_sched_group.c colocate_group_with(pe_resource_t *dependent, const pe_resource_t *primary, primary 328 lib/pacemaker/pcmk_sched_group.c pe_rsc_trace(primary, "Processing %s (group %s with %s) for dependent", primary 329 lib/pacemaker/pcmk_sched_group.c colocation->id, dependent->id, primary->id); primary 334 lib/pacemaker/pcmk_sched_group.c member->cmds->apply_coloc_score(member, primary, colocation, true); primary 341 lib/pacemaker/pcmk_sched_group.c dependent->id, primary->id); primary 348 lib/pacemaker/pcmk_sched_group.c member->cmds->apply_coloc_score(member, primary, colocation, true); primary 365 lib/pacemaker/pcmk_sched_group.c colocate_with_group(pe_resource_t *dependent, const pe_resource_t *primary, primary 370 lib/pacemaker/pcmk_sched_group.c pe_rsc_trace(primary, primary 372 lib/pacemaker/pcmk_sched_group.c colocation->id, dependent->id, primary->id); primary 374 lib/pacemaker/pcmk_sched_group.c if (pcmk_is_set(primary->flags, pe_rsc_provisional)) { primary 378 lib/pacemaker/pcmk_sched_group.c if (pe__group_flag_is_set(primary, pe__group_colocated)) { primary 385 lib/pacemaker/pcmk_sched_group.c member = pe__last_group_member(primary); primary 386 lib/pacemaker/pcmk_sched_group.c } else if (primary->children != NULL) { primary 391 lib/pacemaker/pcmk_sched_group.c member = (pe_resource_t *) primary->children->data; primary 404 lib/pacemaker/pcmk_sched_group.c dependent->id, primary->id); primary 409 lib/pacemaker/pcmk_sched_group.c for (GList *iter = primary->children; iter != NULL; iter = iter->next) { primary 430 lib/pacemaker/pcmk_sched_group.c const pe_resource_t *primary, primary 434 lib/pacemaker/pcmk_sched_group.c CRM_ASSERT((dependent != NULL) && (primary != NULL) primary 438 lib/pacemaker/pcmk_sched_group.c colocate_group_with(dependent, primary, colocation); primary 444 lib/pacemaker/pcmk_sched_group.c colocate_with_group(dependent, primary, colocation); primary 195 lib/pacemaker/pcmk_sched_instances.c other = colocation->primary; primary 282 lib/pacemaker/pcmk_sched_primitive.c pe_resource_t *other = colocation->primary; primary 1031 lib/pacemaker/pcmk_sched_primitive.c const pe_resource_t *primary, primary 1037 lib/pacemaker/pcmk_sched_primitive.c CRM_CHECK((colocation != NULL) && (dependent != NULL) && (primary != NULL), primary 1042 lib/pacemaker/pcmk_sched_primitive.c primary->cmds->apply_coloc_score(dependent, primary, colocation, false); primary 1046 lib/pacemaker/pcmk_sched_primitive.c filter_results = pcmk__colocation_affects(dependent, primary, colocation, primary 1050 lib/pacemaker/pcmk_sched_primitive.c dependent->id, primary->id, colocation->id, colocation->score, primary 1055 lib/pacemaker/pcmk_sched_primitive.c pcmk__apply_coloc_to_priority(dependent, primary, colocation); primary 1058 lib/pacemaker/pcmk_sched_primitive.c pcmk__apply_coloc_to_weights(dependent, primary, colocation); primary 343 lib/pacemaker/pcmk_sched_promotable.c pe_resource_t *primary = constraint->primary; primary 355 lib/pacemaker/pcmk_sched_promotable.c constraint->primary->id, primary 357 lib/pacemaker/pcmk_sched_promotable.c primary->cmds->add_colocated_node_scores(primary, clone->id, primary 387 lib/pacemaker/pcmk_sched_promotable.c constraint->primary->id, primary 962 lib/pacemaker/pcmk_sched_promotable.c instance->cmds->apply_coloc_score(instance, cons->primary, cons, true); primary 1171 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(colocation->primary, primary 1174 lib/pacemaker/pcmk_sched_promotable.c colocation->primary->id, pe__node_name(primary_node), attr, primary 1183 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(colocation->primary, primary 1200 lib/pacemaker/pcmk_sched_promotable.c pcmk__update_dependent_with_promotable(const pe_resource_t *primary, primary 1210 lib/pacemaker/pcmk_sched_promotable.c for (GList *iter = primary->children; iter != NULL; iter = iter->next) { primary 1234 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(colocation->primary, primary 1237 lib/pacemaker/pcmk_sched_promotable.c colocation->primary->id, dependent->id); primary 1253 lib/pacemaker/pcmk_sched_promotable.c pcmk__update_promotable_dependent_priority(const pe_resource_t *primary, primary 1260 lib/pacemaker/pcmk_sched_promotable.c primary_instance = pcmk__find_compatible_instance(dependent, primary, primary 1269 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(colocation->primary, primary 1272 lib/pacemaker/pcmk_sched_promotable.c colocation->primary->id, dependent->id, primary 1280 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(colocation->primary, primary 1283 lib/pacemaker/pcmk_sched_promotable.c colocation->primary->id, dependent->id); primary 245 lib/pacemaker/pcmk_sched_resource.c const pe_resource_t *primary = constraint->primary; primary 247 lib/pacemaker/pcmk_sched_resource.c if (primary == orig_rsc) { primary 252 lib/pacemaker/pcmk_sched_resource.c (pcmk__colocation_affects(rsc, primary, constraint, primary 255 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);