primary 24 include/pcmki/pcmki_scheduler.h pcmk_resource_t *primary; // The resource the dependent is colocated with primary 134 lib/pacemaker/libpacemaker_private.h const pcmk_resource_t *primary, primary 526 lib/pacemaker/libpacemaker_private.h *primary, primary 533 lib/pacemaker/libpacemaker_private.h const pcmk_resource_t *primary, primary 538 lib/pacemaker/libpacemaker_private.h const pcmk_resource_t *primary, primary 553 lib/pacemaker/libpacemaker_private.h const pcmk_resource_t *primary, primary 585 lib/pacemaker/libpacemaker_private.h pcmk_resource_t *dependent, pcmk_resource_t *primary, primary 609 lib/pacemaker/libpacemaker_private.h rsc = colocation->primary; primary 719 lib/pacemaker/libpacemaker_private.h void pcmk__update_dependent_with_promotable(const pcmk_resource_t *primary, primary 725 lib/pacemaker/libpacemaker_private.h void pcmk__update_promotable_dependent_priority(const pcmk_resource_t *primary, primary 773 lib/pacemaker/libpacemaker_private.h const pcmk_resource_t *primary, primary 817 lib/pacemaker/libpacemaker_private.h const pcmk_resource_t *primary, primary 885 lib/pacemaker/libpacemaker_private.h const pcmk_resource_t *primary, primary 938 lib/pacemaker/libpacemaker_private.h const pcmk_resource_t *primary, primary 49 lib/pacemaker/pcmk_output.c "with-rsc", cons->primary->id, primary 389 lib/pacemaker/pcmk_output.c if (pcmk_is_set(cons->primary->flags, pcmk_rsc_detect_loop)) { primary 391 lib/pacemaker/pcmk_output.c cons->primary->id, cons->id); primary 395 lib/pacemaker/pcmk_output.c hdr = colocations_header(cons->primary, cons, false); primary 402 lib/pacemaker/pcmk_output.c out->message(out, "locations-list", cons->primary); primary 405 lib/pacemaker/pcmk_output.c cons->primary, recursive); primary 434 lib/pacemaker/pcmk_output.c if (pcmk_is_set(cons->primary->flags, pcmk_rsc_detect_loop)) { primary 435 lib/pacemaker/pcmk_output.c colocations_xml_node(out, cons->primary, cons); primary 439 lib/pacemaker/pcmk_output.c colocations_xml_node(out, cons->primary, cons); primary 440 lib/pacemaker/pcmk_output.c do_locations_list_xml(out, cons->primary, false); primary 444 lib/pacemaker/pcmk_output.c cons->primary, recursive); primary 518 lib/pacemaker/pcmk_sched_bundle.c const pcmk_resource_t *primary, primary 528 lib/pacemaker/pcmk_sched_bundle.c CRM_ASSERT((primary != NULL) primary 529 lib/pacemaker/pcmk_sched_bundle.c && (primary->variant == pcmk_rsc_variant_bundle) primary 534 lib/pacemaker/pcmk_sched_bundle.c if (pcmk_is_set(primary->flags, pcmk_rsc_unassigned)) { primary 535 lib/pacemaker/pcmk_sched_bundle.c pe_rsc_trace(primary, primary 538 lib/pacemaker/pcmk_sched_bundle.c colocation->id, primary->id); primary 541 lib/pacemaker/pcmk_sched_bundle.c pe_rsc_trace(primary, "Applying colocation %s (%s with %s at %s)", primary 542 lib/pacemaker/pcmk_sched_bundle.c colocation->id, dependent->id, primary->id, primary 551 lib/pacemaker/pcmk_sched_bundle.c primary_container = compatible_container(dependent, primary); primary 553 lib/pacemaker/pcmk_sched_bundle.c pe_rsc_debug(primary, "Pairing %s with %s", primary 561 lib/pacemaker/pcmk_sched_bundle.c dependent->id, primary->id); primary 565 lib/pacemaker/pcmk_sched_bundle.c pe_rsc_debug(primary, primary 567 lib/pacemaker/pcmk_sched_bundle.c dependent->id, primary->id); primary 572 lib/pacemaker/pcmk_sched_bundle.c pe__foreach_const_bundle_replica(primary, replica_apply_coloc_score, primary 576 lib/pacemaker/pcmk_sched_bundle.c pcmk__colocation_intersect_nodes(dependent, primary, colocation, primary 66 lib/pacemaker/pcmk_sched_clone.c rsc->id, constraint->id, constraint->primary->id); primary 67 lib/pacemaker/pcmk_sched_clone.c constraint->primary->cmds->assign(constraint->primary, prefer, primary 221 lib/pacemaker/pcmk_sched_clone.c != colocation->primary->fns->max_per_node(colocation->primary)) { primary 224 lib/pacemaker/pcmk_sched_clone.c dependent->id, colocation->primary->id); primary 246 lib/pacemaker/pcmk_sched_clone.c const pcmk_resource_t *primary, primary 258 lib/pacemaker/pcmk_sched_clone.c CRM_ASSERT((colocation != NULL) && pe_rsc_is_clone(primary) primary 262 lib/pacemaker/pcmk_sched_clone.c if (pcmk_is_set(primary->flags, pcmk_rsc_unassigned)) { primary 263 lib/pacemaker/pcmk_sched_clone.c pe_rsc_trace(primary, primary 266 lib/pacemaker/pcmk_sched_clone.c colocation->id, primary->id); primary 270 lib/pacemaker/pcmk_sched_clone.c pe_rsc_trace(primary, "Processing colocation %s (%s with clone %s @%s)", primary 271 lib/pacemaker/pcmk_sched_clone.c colocation->id, dependent->id, primary->id, primary 275 lib/pacemaker/pcmk_sched_clone.c if (pcmk_is_set(primary->flags, pcmk_rsc_promotable) primary 280 lib/pacemaker/pcmk_sched_clone.c pcmk__update_dependent_with_promotable(primary, dependent, primary 287 lib/pacemaker/pcmk_sched_clone.c pcmk__update_promotable_dependent_priority(primary, dependent, primary 297 lib/pacemaker/pcmk_sched_clone.c primary_instance = pcmk__find_compatible_instance(dependent, primary, primary 301 lib/pacemaker/pcmk_sched_clone.c pe_rsc_debug(primary, "Interleaving %s with %s", primary 308 lib/pacemaker/pcmk_sched_clone.c "any instance of %s", dependent->id, primary->id); primary 312 lib/pacemaker/pcmk_sched_clone.c pe_rsc_debug(primary, primary 315 lib/pacemaker/pcmk_sched_clone.c dependent->id, primary->id); primary 326 lib/pacemaker/pcmk_sched_clone.c for (iter = primary->children; iter != NULL; iter = iter->next) { primary 332 lib/pacemaker/pcmk_sched_clone.c pe_rsc_trace(primary, "Allowing %s: %s %d", primary 338 lib/pacemaker/pcmk_sched_clone.c pcmk__colocation_intersect_nodes(dependent, primary, colocation, primary 345 lib/pacemaker/pcmk_sched_clone.c for (iter = primary->children; iter != NULL; iter = iter->next) { primary 68 lib/pacemaker/pcmk_sched_colocation.c CRM_ASSERT(colocation1->primary != NULL); primary 70 lib/pacemaker/pcmk_sched_colocation.c rsc1 = colocation1->primary; primary 71 lib/pacemaker/pcmk_sched_colocation.c rsc2 = colocation2->primary; primary 182 lib/pacemaker/pcmk_sched_colocation.c colocation->primary->id, colocation->node_attribute, primary 242 lib/pacemaker/pcmk_sched_colocation.c colocation->primary->id, colocation->node_attribute, primary 349 lib/pacemaker/pcmk_sched_colocation.c pcmk_resource_t *dependent, pcmk_resource_t *primary, primary 357 lib/pacemaker/pcmk_sched_colocation.c if ((dependent == NULL) || (primary == NULL)) { primary 366 lib/pacemaker/pcmk_sched_colocation.c id, dependent->id, primary->id); primary 385 lib/pacemaker/pcmk_sched_colocation.c new_con->primary = primary; primary 393 lib/pacemaker/pcmk_sched_colocation.c pcmk__add_with_this(&(primary->rsc_cons_lhs), new_con, primary); primary 399 lib/pacemaker/pcmk_sched_colocation.c anti_colocation_order(dependent, new_con->dependent_role, primary, primary 401 lib/pacemaker/pcmk_sched_colocation.c anti_colocation_order(primary, new_con->primary_role, dependent, primary 728 lib/pacemaker/pcmk_sched_colocation.c pcmk_resource_t *primary = NULL; primary 731 lib/pacemaker/pcmk_sched_colocation.c primary = pcmk__find_constraint_resource(scheduler->resources, primary_id); primary 756 lib/pacemaker/pcmk_sched_colocation.c } else if (primary == NULL) { primary 767 lib/pacemaker/pcmk_sched_colocation.c } else if ((primary_instance != NULL) && !pe_rsc_is_clone(primary)) { primary 785 lib/pacemaker/pcmk_sched_colocation.c primary = find_clone_instance(primary, primary_instance); primary 786 lib/pacemaker/pcmk_sched_colocation.c if (primary == NULL) { primary 805 lib/pacemaker/pcmk_sched_colocation.c pcmk__new_colocation(id, attr, score_i, dependent, primary, primary 821 lib/pacemaker/pcmk_sched_colocation.c pcmk_resource_t *primary = NULL; primary 861 lib/pacemaker/pcmk_sched_colocation.c if (!pcmk__valid_resource_or_tag(scheduler, primary_id, &primary, primary 868 lib/pacemaker/pcmk_sched_colocation.c if ((dependent != NULL) && (primary != NULL)) { primary 1179 lib/pacemaker/pcmk_sched_colocation.c const pcmk_resource_t *primary, primary 1185 lib/pacemaker/pcmk_sched_colocation.c CRM_ASSERT((dependent != NULL) && (primary != NULL) primary 1188 lib/pacemaker/pcmk_sched_colocation.c if (!preview && pcmk_is_set(primary->flags, pcmk_rsc_unassigned)) { primary 1194 lib/pacemaker/pcmk_sched_colocation.c primary_role_rsc = get_resource_for_role(primary); primary 1214 lib/pacemaker/pcmk_sched_colocation.c const pcmk_node_t *primary_node = primary->allocated_to; primary 1225 lib/pacemaker/pcmk_sched_colocation.c dependent->id, primary->id, primary 1236 lib/pacemaker/pcmk_sched_colocation.c dependent->id, primary->id, primary 1281 lib/pacemaker/pcmk_sched_colocation.c const pcmk_resource_t *primary, primary 1290 lib/pacemaker/pcmk_sched_colocation.c if (primary->allocated_to != NULL) { primary 1291 lib/pacemaker/pcmk_sched_colocation.c value = pcmk__colocation_node_attr(primary->allocated_to, attr, primary 1292 lib/pacemaker/pcmk_sched_colocation.c primary); primary 1303 lib/pacemaker/pcmk_sched_colocation.c if (primary->allocated_to == NULL) { primary 1310 lib/pacemaker/pcmk_sched_colocation.c pcmk_readable_score(colocation->score), primary->id); primary 1361 lib/pacemaker/pcmk_sched_colocation.c dependent->id, primary->id); primary 1382 lib/pacemaker/pcmk_sched_colocation.c const pcmk_resource_t *primary, primary 1392 lib/pacemaker/pcmk_sched_colocation.c CRM_ASSERT((dependent != NULL) && (primary != NULL) && primary 1395 lib/pacemaker/pcmk_sched_colocation.c if ((primary->allocated_to == NULL) || (dependent->allocated_to == NULL)) { primary 1401 lib/pacemaker/pcmk_sched_colocation.c primary_value = pcmk__colocation_node_attr(primary->allocated_to, attr, primary 1402 lib/pacemaker/pcmk_sched_colocation.c primary); primary 1404 lib/pacemaker/pcmk_sched_colocation.c primary_role_rsc = get_resource_for_role(primary); primary 1578 lib/pacemaker/pcmk_sched_colocation.c if ((colocation->primary->stickiness >= -score) primary 1734 lib/pacemaker/pcmk_sched_colocation.c other = constraint->primary; primary 1745 lib/pacemaker/pcmk_sched_colocation.c constraint->primary->id); primary 1834 lib/pacemaker/pcmk_sched_colocation.c const pcmk_resource_t *primary, primary 1841 lib/pacemaker/pcmk_sched_colocation.c CRM_ASSERT((dependent != NULL) && (primary != NULL) primary 1863 lib/pacemaker/pcmk_sched_colocation.c primary->id, pcmk_readable_score(primary_node->weight), primary 347 lib/pacemaker/pcmk_sched_group.c colocate_group_with(pcmk_resource_t *dependent, const pcmk_resource_t *primary, primary 356 lib/pacemaker/pcmk_sched_group.c pe_rsc_trace(primary, "Processing %s (group %s with %s) for dependent", primary 357 lib/pacemaker/pcmk_sched_group.c colocation->id, dependent->id, primary->id); primary 362 lib/pacemaker/pcmk_sched_group.c member->cmds->apply_coloc_score(member, primary, colocation, true); primary 369 lib/pacemaker/pcmk_sched_group.c dependent->id, primary->id); primary 376 lib/pacemaker/pcmk_sched_group.c member->cmds->apply_coloc_score(member, primary, colocation, true); primary 393 lib/pacemaker/pcmk_sched_group.c colocate_with_group(pcmk_resource_t *dependent, const pcmk_resource_t *primary, primary 398 lib/pacemaker/pcmk_sched_group.c pe_rsc_trace(primary, primary 400 lib/pacemaker/pcmk_sched_group.c colocation->id, dependent->id, primary->id); primary 402 lib/pacemaker/pcmk_sched_group.c if (pcmk_is_set(primary->flags, pcmk_rsc_unassigned)) { primary 406 lib/pacemaker/pcmk_sched_group.c if (pe__group_flag_is_set(primary, pcmk__group_colocated)) { primary 413 lib/pacemaker/pcmk_sched_group.c member = pe__last_group_member(primary); primary 414 lib/pacemaker/pcmk_sched_group.c } else if (primary->children != NULL) { primary 419 lib/pacemaker/pcmk_sched_group.c member = (pcmk_resource_t *) primary->children->data; primary 432 lib/pacemaker/pcmk_sched_group.c dependent->id, primary->id); primary 437 lib/pacemaker/pcmk_sched_group.c for (const GList *iter = primary->children; iter != NULL; primary 459 lib/pacemaker/pcmk_sched_group.c const pcmk_resource_t *primary, primary 463 lib/pacemaker/pcmk_sched_group.c CRM_ASSERT((dependent != NULL) && (primary != NULL) primary 467 lib/pacemaker/pcmk_sched_group.c colocate_group_with(dependent, primary, colocation); primary 473 lib/pacemaker/pcmk_sched_group.c colocate_with_group(dependent, primary, colocation); primary 150 lib/pacemaker/pcmk_sched_instances.c pcmk_resource_t *other = colocation->primary; primary 302 lib/pacemaker/pcmk_sched_primitive.c pcmk_resource_t *other = colocation->primary; primary 1085 lib/pacemaker/pcmk_sched_primitive.c const pcmk_resource_t *primary, primary 1091 lib/pacemaker/pcmk_sched_primitive.c CRM_ASSERT((dependent != NULL) && (primary != NULL) primary 1096 lib/pacemaker/pcmk_sched_primitive.c primary->cmds->apply_coloc_score(dependent, primary, colocation, false); primary 1100 lib/pacemaker/pcmk_sched_primitive.c filter_results = pcmk__colocation_affects(dependent, primary, colocation, primary 1104 lib/pacemaker/pcmk_sched_primitive.c dependent->id, primary->id, colocation->id, colocation->score, primary 1109 lib/pacemaker/pcmk_sched_primitive.c pcmk__apply_coloc_to_priority(dependent, primary, colocation); primary 1112 lib/pacemaker/pcmk_sched_primitive.c pcmk__apply_coloc_to_scores(dependent, primary, colocation); primary 351 lib/pacemaker/pcmk_sched_promotable.c pcmk_resource_t *primary = colocation->primary; primary 363 lib/pacemaker/pcmk_sched_promotable.c colocation->primary->id, primary 365 lib/pacemaker/pcmk_sched_promotable.c primary->cmds->add_colocated_node_scores(primary, clone, clone->id, primary 394 lib/pacemaker/pcmk_sched_promotable.c colocation->primary->id, primary 978 lib/pacemaker/pcmk_sched_promotable.c instance->cmds->apply_coloc_score(instance, cons->primary, cons, true); primary 1169 lib/pacemaker/pcmk_sched_promotable.c const pcmk_resource_t *primary, primary 1182 lib/pacemaker/pcmk_sched_promotable.c primary_value = pcmk__colocation_node_attr(primary_node, attr, primary); primary 1184 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(colocation->primary, primary 1187 lib/pacemaker/pcmk_sched_promotable.c colocation->primary->id, pe__node_name(primary_node), attr, primary 1197 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(colocation->primary, primary 1214 lib/pacemaker/pcmk_sched_promotable.c pcmk__update_dependent_with_promotable(const pcmk_resource_t *primary, primary 1224 lib/pacemaker/pcmk_sched_promotable.c for (GList *iter = primary->children; iter != NULL; iter = iter->next) { primary 1232 lib/pacemaker/pcmk_sched_promotable.c update_dependent_allowed_nodes(dependent, primary, node, primary 1249 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(colocation->primary, primary 1252 lib/pacemaker/pcmk_sched_promotable.c colocation->primary->id, dependent->id); primary 1253 lib/pacemaker/pcmk_sched_promotable.c pcmk__colocation_intersect_nodes(dependent, primary, colocation, primary 1268 lib/pacemaker/pcmk_sched_promotable.c pcmk__update_promotable_dependent_priority(const pcmk_resource_t *primary, primary 1275 lib/pacemaker/pcmk_sched_promotable.c primary_instance = pcmk__find_compatible_instance(dependent, primary, primary 1284 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(colocation->primary, primary 1287 lib/pacemaker/pcmk_sched_promotable.c colocation->primary->id, dependent->id, primary 1295 lib/pacemaker/pcmk_sched_promotable.c pe_rsc_trace(colocation->primary, primary 1298 lib/pacemaker/pcmk_sched_promotable.c colocation->primary->id, dependent->id); primary 265 lib/pacemaker/pcmk_sched_resource.c const pcmk_resource_t *primary = constraint->primary; primary 267 lib/pacemaker/pcmk_sched_resource.c if (primary == orig_rsc) { primary 272 lib/pacemaker/pcmk_sched_resource.c (pcmk__colocation_affects(rsc, primary, constraint, primary 274 lib/pacemaker/pcmk_sched_resource.c add_colocated_resources(primary, orig_rsc, &colocated_rscs); 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);