primary            24 include/pcmki/pcmki_scheduler.h     pcmk_resource_t *primary;   // The resource the dependent is colocated with
primary           136 lib/pacemaker/libpacemaker_private.h                              const pcmk_resource_t *primary,
primary           532 lib/pacemaker/libpacemaker_private.h                                                     *primary,
primary           539 lib/pacemaker/libpacemaker_private.h                                  const pcmk_resource_t *primary,
primary           544 lib/pacemaker/libpacemaker_private.h                                   const pcmk_resource_t *primary,
primary           559 lib/pacemaker/libpacemaker_private.h                                       const pcmk_resource_t *primary,
primary           591 lib/pacemaker/libpacemaker_private.h                           pcmk_resource_t *dependent, pcmk_resource_t *primary,
primary           615 lib/pacemaker/libpacemaker_private.h         rsc = colocation->primary;
primary           725 lib/pacemaker/libpacemaker_private.h void pcmk__update_dependent_with_promotable(const pcmk_resource_t *primary,
primary           731 lib/pacemaker/libpacemaker_private.h int pcmk__update_promotable_dependent_priority(const pcmk_resource_t *primary,
primary           779 lib/pacemaker/libpacemaker_private.h                                       const pcmk_resource_t *primary,
primary           823 lib/pacemaker/libpacemaker_private.h                                   const pcmk_resource_t *primary,
primary           892 lib/pacemaker/libpacemaker_private.h                                   const pcmk_resource_t *primary,
primary           945 lib/pacemaker/libpacemaker_private.h                                    const pcmk_resource_t *primary,
primary            50 lib/pacemaker/pcmk_output.c                                         PCMK_XA_WITH_RSC, cons->primary->id,
primary           391 lib/pacemaker/pcmk_output.c         if (pcmk_is_set(cons->primary->flags, pcmk_rsc_detect_loop)) {
primary           393 lib/pacemaker/pcmk_output.c                            cons->primary->id, cons->id);
primary           397 lib/pacemaker/pcmk_output.c         hdr = colocations_header(cons->primary, cons, false);
primary           404 lib/pacemaker/pcmk_output.c         out->message(out, "locations-list", cons->primary);
primary           407 lib/pacemaker/pcmk_output.c                          cons->primary, recursive);
primary           436 lib/pacemaker/pcmk_output.c         if (pcmk_is_set(cons->primary->flags, pcmk_rsc_detect_loop)) {
primary           437 lib/pacemaker/pcmk_output.c             colocations_xml_node(out, cons->primary, cons);
primary           441 lib/pacemaker/pcmk_output.c         colocations_xml_node(out, cons->primary, cons);
primary           442 lib/pacemaker/pcmk_output.c         do_locations_list_xml(out, cons->primary, false);
primary           446 lib/pacemaker/pcmk_output.c                          cons->primary, recursive);
primary           526 lib/pacemaker/pcmk_sched_bundle.c                                const pcmk_resource_t *primary,
primary           536 lib/pacemaker/pcmk_sched_bundle.c     CRM_ASSERT(pcmk__is_bundle(primary) && pcmk__is_primitive(dependent)
primary           539 lib/pacemaker/pcmk_sched_bundle.c     if (pcmk_is_set(primary->flags, pcmk_rsc_unassigned)) {
primary           540 lib/pacemaker/pcmk_sched_bundle.c         pcmk__rsc_trace(primary,
primary           543 lib/pacemaker/pcmk_sched_bundle.c                         colocation->id, primary->id);
primary           546 lib/pacemaker/pcmk_sched_bundle.c     pcmk__rsc_trace(primary, "Applying colocation %s (%s with %s at %s)",
primary           547 lib/pacemaker/pcmk_sched_bundle.c                     colocation->id, dependent->id, primary->id,
primary           556 lib/pacemaker/pcmk_sched_bundle.c         primary_container = compatible_container(dependent, primary);
primary           558 lib/pacemaker/pcmk_sched_bundle.c             pcmk__rsc_debug(primary, "Pairing %s with %s",
primary           570 lib/pacemaker/pcmk_sched_bundle.c                        dependent->id, primary->id);
primary           574 lib/pacemaker/pcmk_sched_bundle.c             pcmk__rsc_debug(primary,
primary           576 lib/pacemaker/pcmk_sched_bundle.c                             dependent->id, primary->id);
primary           581 lib/pacemaker/pcmk_sched_bundle.c     pe__foreach_const_bundle_replica(primary, replica_apply_coloc_score,
primary           585 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           248 lib/pacemaker/pcmk_sched_clone.c                               const pcmk_resource_t *primary,
primary           261 lib/pacemaker/pcmk_sched_clone.c     CRM_ASSERT((colocation != NULL) && pcmk__is_clone(primary)
primary           264 lib/pacemaker/pcmk_sched_clone.c     if (pcmk_is_set(primary->flags, pcmk_rsc_unassigned)) {
primary           265 lib/pacemaker/pcmk_sched_clone.c         pcmk__rsc_trace(primary,
primary           268 lib/pacemaker/pcmk_sched_clone.c                         colocation->id, primary->id);
primary           272 lib/pacemaker/pcmk_sched_clone.c     pcmk__rsc_trace(primary, "Processing colocation %s (%s with clone %s @%s)",
primary           273 lib/pacemaker/pcmk_sched_clone.c                     colocation->id, dependent->id, primary->id,
primary           277 lib/pacemaker/pcmk_sched_clone.c     if (pcmk_is_set(primary->flags, pcmk_rsc_promotable)
primary           282 lib/pacemaker/pcmk_sched_clone.c             pcmk__update_dependent_with_promotable(primary, dependent,
primary           289 lib/pacemaker/pcmk_sched_clone.c             return pcmk__update_promotable_dependent_priority(primary,
primary           299 lib/pacemaker/pcmk_sched_clone.c         primary_instance = pcmk__find_compatible_instance(dependent, primary,
primary           303 lib/pacemaker/pcmk_sched_clone.c             pcmk__rsc_debug(primary, "Interleaving %s with %s",
primary           313 lib/pacemaker/pcmk_sched_clone.c                        "any instance of %s", dependent->id, primary->id);
primary           317 lib/pacemaker/pcmk_sched_clone.c             pcmk__rsc_debug(primary,
primary           320 lib/pacemaker/pcmk_sched_clone.c                             dependent->id, primary->id);
primary           331 lib/pacemaker/pcmk_sched_clone.c         for (iter = primary->children; iter != NULL; iter = iter->next) {
primary           337 lib/pacemaker/pcmk_sched_clone.c                 pcmk__rsc_trace(primary, "Allowing %s: %s %d",
primary           343 lib/pacemaker/pcmk_sched_clone.c         pcmk__colocation_intersect_nodes(dependent, primary, colocation,
primary           350 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           384 lib/pacemaker/pcmk_sched_colocation.c     new_con->primary = primary;
primary           392 lib/pacemaker/pcmk_sched_colocation.c     pcmk__add_with_this(&(primary->rsc_cons_lhs), new_con, primary);
primary           398 lib/pacemaker/pcmk_sched_colocation.c         anti_colocation_order(dependent, new_con->dependent_role, primary,
primary           400 lib/pacemaker/pcmk_sched_colocation.c         anti_colocation_order(primary, new_con->primary_role, dependent,
primary           744 lib/pacemaker/pcmk_sched_colocation.c     pcmk_resource_t *primary = NULL;
primary           747 lib/pacemaker/pcmk_sched_colocation.c     primary = pcmk__find_constraint_resource(scheduler->resources, primary_id);
primary           770 lib/pacemaker/pcmk_sched_colocation.c     } else if (primary == NULL) {
primary           781 lib/pacemaker/pcmk_sched_colocation.c     } else if ((primary_instance != NULL) && !pcmk__is_clone(primary)) {
primary           799 lib/pacemaker/pcmk_sched_colocation.c         primary = find_clone_instance(primary, primary_instance);
primary           800 lib/pacemaker/pcmk_sched_colocation.c         if (primary == NULL) {
primary           819 lib/pacemaker/pcmk_sched_colocation.c     pcmk__new_colocation(id, attr, score_i, dependent, primary,
primary           835 lib/pacemaker/pcmk_sched_colocation.c     pcmk_resource_t *primary = NULL;
primary           875 lib/pacemaker/pcmk_sched_colocation.c     if (!pcmk__valid_resource_or_tag(scheduler, primary_id, &primary,
primary           882 lib/pacemaker/pcmk_sched_colocation.c     if ((dependent != NULL) && (primary != NULL)) {
primary          1201 lib/pacemaker/pcmk_sched_colocation.c                          const pcmk_resource_t *primary,
primary          1207 lib/pacemaker/pcmk_sched_colocation.c     CRM_ASSERT((dependent != NULL) && (primary != NULL)
primary          1210 lib/pacemaker/pcmk_sched_colocation.c     if (!preview && pcmk_is_set(primary->flags, pcmk_rsc_unassigned)) {
primary          1216 lib/pacemaker/pcmk_sched_colocation.c     primary_role_rsc = get_resource_for_role(primary);
primary          1236 lib/pacemaker/pcmk_sched_colocation.c         const pcmk_node_t *primary_node = primary->allocated_to;
primary          1248 lib/pacemaker/pcmk_sched_colocation.c                                 dependent->id, primary->id,
primary          1259 lib/pacemaker/pcmk_sched_colocation.c                                 dependent->id, primary->id,
primary          1305 lib/pacemaker/pcmk_sched_colocation.c                             const pcmk_resource_t *primary,
primary          1314 lib/pacemaker/pcmk_sched_colocation.c     if (primary->allocated_to != NULL) {
primary          1315 lib/pacemaker/pcmk_sched_colocation.c         value = pcmk__colocation_node_attr(primary->allocated_to, attr,
primary          1316 lib/pacemaker/pcmk_sched_colocation.c                                            primary);
primary          1327 lib/pacemaker/pcmk_sched_colocation.c         if (primary->allocated_to == NULL) {
primary          1335 lib/pacemaker/pcmk_sched_colocation.c                             pcmk_readable_score(colocation->score), primary->id);
primary          1388 lib/pacemaker/pcmk_sched_colocation.c                        dependent->id, primary->id);
primary          1411 lib/pacemaker/pcmk_sched_colocation.c                               const pcmk_resource_t *primary,
primary          1420 lib/pacemaker/pcmk_sched_colocation.c     CRM_ASSERT((dependent != NULL) && (primary != NULL)
primary          1427 lib/pacemaker/pcmk_sched_colocation.c     if ((primary->allocated_to != NULL)
primary          1437 lib/pacemaker/pcmk_sched_colocation.c         const pcmk_resource_t *role_rsc = get_resource_for_role(primary);
primary          1446 lib/pacemaker/pcmk_sched_colocation.c     primary_value = pcmk__colocation_node_attr(primary->allocated_to, attr,
primary          1447 lib/pacemaker/pcmk_sched_colocation.c                                                primary);
primary          1664 lib/pacemaker/pcmk_sched_colocation.c             if ((colocation->primary->stickiness >= -score)
primary          1821 lib/pacemaker/pcmk_sched_colocation.c                 other = constraint->primary;
primary          1832 lib/pacemaker/pcmk_sched_colocation.c                             constraint->primary->id);
primary          1921 lib/pacemaker/pcmk_sched_colocation.c                                  const pcmk_resource_t *primary,
primary          1928 lib/pacemaker/pcmk_sched_colocation.c     CRM_ASSERT((dependent != NULL) && (primary != NULL)
primary          1950 lib/pacemaker/pcmk_sched_colocation.c                             primary->id, pcmk_readable_score(primary_node->weight),
primary           353 lib/pacemaker/pcmk_sched_group.c colocate_group_with(pcmk_resource_t *dependent, const pcmk_resource_t *primary,
primary           362 lib/pacemaker/pcmk_sched_group.c     pcmk__rsc_trace(primary, "Processing %s (group %s with %s) for dependent",
primary           363 lib/pacemaker/pcmk_sched_group.c                     colocation->id, dependent->id, primary->id);
primary           369 lib/pacemaker/pcmk_sched_group.c         priority_delta = member->cmds->apply_coloc_score(member, primary,
primary           376 lib/pacemaker/pcmk_sched_group.c                              dependent->id, primary->id);
primary           386 lib/pacemaker/pcmk_sched_group.c                                                                  primary,
primary           430 lib/pacemaker/pcmk_sched_group.c colocate_with_group(pcmk_resource_t *dependent, const pcmk_resource_t *primary,
primary           436 lib/pacemaker/pcmk_sched_group.c     pcmk__rsc_trace(primary,
primary           438 lib/pacemaker/pcmk_sched_group.c                     colocation->id, dependent->id, primary->id);
primary           440 lib/pacemaker/pcmk_sched_group.c     if (pcmk_is_set(primary->flags, pcmk_rsc_unassigned)) {
primary           444 lib/pacemaker/pcmk_sched_group.c     if (pe__group_flag_is_set(primary, pcmk__group_colocated)) {
primary           451 lib/pacemaker/pcmk_sched_group.c             member = pe__last_group_member(primary);
primary           452 lib/pacemaker/pcmk_sched_group.c         } else if (primary->children != NULL) {
primary           457 lib/pacemaker/pcmk_sched_group.c             member = (pcmk_resource_t *) primary->children->data;
primary           470 lib/pacemaker/pcmk_sched_group.c                          dependent->id, primary->id);
primary           475 lib/pacemaker/pcmk_sched_group.c     for (const GList *iter = primary->children; iter != NULL;
primary           505 lib/pacemaker/pcmk_sched_group.c                               const pcmk_resource_t *primary,
primary           509 lib/pacemaker/pcmk_sched_group.c     CRM_ASSERT((dependent != NULL) && (primary != NULL)
primary           513 lib/pacemaker/pcmk_sched_group.c         return colocate_group_with(dependent, primary, colocation);
primary           519 lib/pacemaker/pcmk_sched_group.c         return colocate_with_group(dependent, primary, colocation);
primary           151 lib/pacemaker/pcmk_sched_instances.c         pcmk_resource_t *other = colocation->primary;
primary           303 lib/pacemaker/pcmk_sched_primitive.c     pcmk_resource_t *other = colocation->primary;
primary          1099 lib/pacemaker/pcmk_sched_primitive.c                                   const pcmk_resource_t *primary,
primary          1105 lib/pacemaker/pcmk_sched_primitive.c     CRM_ASSERT((dependent != NULL) && (primary != NULL)
primary          1110 lib/pacemaker/pcmk_sched_primitive.c         return primary->cmds->apply_coloc_score(dependent, primary, colocation,
primary          1114 lib/pacemaker/pcmk_sched_primitive.c     filter_results = pcmk__colocation_affects(dependent, primary, colocation,
primary          1118 lib/pacemaker/pcmk_sched_primitive.c                     dependent->id, primary->id, colocation->id,
primary          1124 lib/pacemaker/pcmk_sched_primitive.c             return pcmk__apply_coloc_to_priority(dependent, primary,
primary          1128 lib/pacemaker/pcmk_sched_primitive.c             pcmk__apply_coloc_to_scores(dependent, primary, colocation);
primary           367 lib/pacemaker/pcmk_sched_promotable.c                     colocation->primary->id,
primary           966 lib/pacemaker/pcmk_sched_promotable.c         instance->cmds->apply_coloc_score(instance, cons->primary, cons, true);
primary          1157 lib/pacemaker/pcmk_sched_promotable.c                                const pcmk_resource_t *primary,
primary          1170 lib/pacemaker/pcmk_sched_promotable.c     primary_value = pcmk__colocation_node_attr(primary_node, attr, primary);
primary          1172 lib/pacemaker/pcmk_sched_promotable.c     pcmk__rsc_trace(colocation->primary,
primary          1175 lib/pacemaker/pcmk_sched_promotable.c                     colocation->primary->id, pcmk__node_name(primary_node),
primary          1185 lib/pacemaker/pcmk_sched_promotable.c             pcmk__rsc_trace(colocation->primary,
primary          1203 lib/pacemaker/pcmk_sched_promotable.c pcmk__update_dependent_with_promotable(const pcmk_resource_t *primary,
primary          1213 lib/pacemaker/pcmk_sched_promotable.c     for (GList *iter = primary->children; iter != NULL; iter = iter->next) {
primary          1221 lib/pacemaker/pcmk_sched_promotable.c             update_dependent_allowed_nodes(dependent, primary, node,
primary          1238 lib/pacemaker/pcmk_sched_promotable.c         pcmk__rsc_trace(colocation->primary,
primary          1241 lib/pacemaker/pcmk_sched_promotable.c                         colocation->primary->id, dependent->id);
primary          1242 lib/pacemaker/pcmk_sched_promotable.c         pcmk__colocation_intersect_nodes(dependent, primary, colocation,
primary          1259 lib/pacemaker/pcmk_sched_promotable.c pcmk__update_promotable_dependent_priority(const pcmk_resource_t *primary,
primary          1266 lib/pacemaker/pcmk_sched_promotable.c     primary_instance = pcmk__find_compatible_instance(dependent, primary,
primary          1275 lib/pacemaker/pcmk_sched_promotable.c         pcmk__rsc_trace(colocation->primary,
primary          1279 lib/pacemaker/pcmk_sched_promotable.c                         colocation->primary->id, dependent->id,
primary          1289 lib/pacemaker/pcmk_sched_promotable.c         pcmk__rsc_trace(colocation->primary,
primary          1292 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);