cons               24 lib/pacemaker/pcmk_output.c colocations_header(pcmk_resource_t *rsc, pcmk__colocation_t *cons,
cons               28 lib/pacemaker/pcmk_output.c     if (cons->primary_role > pcmk_role_started) {
cons               30 lib/pacemaker/pcmk_output.c                                    rsc->id, pcmk_readable_score(cons->score),
cons               32 lib/pacemaker/pcmk_output.c                                    pcmk_role_text(cons->primary_role),
cons               33 lib/pacemaker/pcmk_output.c                                    cons->id);
cons               36 lib/pacemaker/pcmk_output.c                                    rsc->id, pcmk_readable_score(cons->score),
cons               37 lib/pacemaker/pcmk_output.c                                    cons->id);
cons               44 lib/pacemaker/pcmk_output.c                      pcmk__colocation_t *cons) {
cons               45 lib/pacemaker/pcmk_output.c     const char *score = pcmk_readable_score(cons->score);
cons               49 lib/pacemaker/pcmk_output.c     if (cons->dependent_role != pcmk_role_unknown) {
cons               50 lib/pacemaker/pcmk_output.c         dependent_role = pcmk_role_text(cons->dependent_role);
cons               52 lib/pacemaker/pcmk_output.c     if (cons->primary_role != pcmk_role_unknown) {
cons               53 lib/pacemaker/pcmk_output.c         primary_role = pcmk_role_text(cons->primary_role);
cons               57 lib/pacemaker/pcmk_output.c                                  PCMK_XA_ID, cons->id,
cons               58 lib/pacemaker/pcmk_output.c                                  PCMK_XA_RSC, cons->dependent->id,
cons               59 lib/pacemaker/pcmk_output.c                                  PCMK_XA_WITH_RSC, cons->primary->id,
cons               61 lib/pacemaker/pcmk_output.c                                  PCMK_XA_NODE_ATTRIBUTE, cons->node_attribute,
cons               76 lib/pacemaker/pcmk_output.c         pcmk__location_t *cons = lpc->data;
cons               80 lib/pacemaker/pcmk_output.c         for (lpc2 = cons->nodes; lpc2 != NULL; lpc2 = lpc2->next) {
cons               90 lib/pacemaker/pcmk_output.c                                          PCMK_XA_ID, cons->id,
cons              381 lib/pacemaker/pcmk_output.c         pcmk__colocation_t *cons = (pcmk__colocation_t *) lpc->data;
cons              387 lib/pacemaker/pcmk_output.c         if (pcmk_is_set(cons->primary->flags, pcmk_rsc_detect_loop)) {
cons              389 lib/pacemaker/pcmk_output.c                            cons->primary->id, cons->id);
cons              393 lib/pacemaker/pcmk_output.c         hdr = colocations_header(cons->primary, cons, false);
cons              400 lib/pacemaker/pcmk_output.c         out->message(out, "locations-list", cons->primary);
cons              403 lib/pacemaker/pcmk_output.c                          cons->primary, recursive);
cons              430 lib/pacemaker/pcmk_output.c         pcmk__colocation_t *cons = (pcmk__colocation_t *) lpc->data;
cons              432 lib/pacemaker/pcmk_output.c         if (pcmk_is_set(cons->primary->flags, pcmk_rsc_detect_loop)) {
cons              433 lib/pacemaker/pcmk_output.c             colocations_xml_node(out, cons->primary, cons);
cons              437 lib/pacemaker/pcmk_output.c         colocations_xml_node(out, cons->primary, cons);
cons              438 lib/pacemaker/pcmk_output.c         do_locations_list_xml(out, cons->primary, false);
cons              442 lib/pacemaker/pcmk_output.c                          cons->primary, recursive);
cons              467 lib/pacemaker/pcmk_output.c         pcmk__colocation_t *cons = (pcmk__colocation_t *) lpc->data;
cons              473 lib/pacemaker/pcmk_output.c         if (pcmk_is_set(cons->dependent->flags, pcmk_rsc_detect_loop)) {
cons              475 lib/pacemaker/pcmk_output.c                            cons->dependent->id, cons->id);
cons              479 lib/pacemaker/pcmk_output.c         hdr = colocations_header(cons->dependent, cons, true);
cons              486 lib/pacemaker/pcmk_output.c         out->message(out, "locations-list", cons->dependent);
cons              489 lib/pacemaker/pcmk_output.c                          cons->dependent, recursive);
cons              517 lib/pacemaker/pcmk_output.c         pcmk__colocation_t *cons = (pcmk__colocation_t *) lpc->data;
cons              519 lib/pacemaker/pcmk_output.c         if (pcmk_is_set(cons->dependent->flags, pcmk_rsc_detect_loop)) {
cons              520 lib/pacemaker/pcmk_output.c             colocations_xml_node(out, cons->dependent, cons);
cons              524 lib/pacemaker/pcmk_output.c         colocations_xml_node(out, cons->dependent, cons);
cons              525 lib/pacemaker/pcmk_output.c         do_locations_list_xml(out, cons->dependent, false);
cons              529 lib/pacemaker/pcmk_output.c                          cons->dependent, recursive);
cons              546 lib/pacemaker/pcmk_output.c         pcmk__location_t *cons = lpc->data;
cons              550 lib/pacemaker/pcmk_output.c         for (lpc2 = cons->nodes; lpc2 != NULL; lpc2 = lpc2->next) {
cons              556 lib/pacemaker/pcmk_output.c                            pcmk_readable_score(node->weight), cons->id,
cons              973 lib/pacemaker/pcmk_sched_promotable.c         pcmk__colocation_t *cons = (pcmk__colocation_t *) iter->data;
cons              975 lib/pacemaker/pcmk_sched_promotable.c         instance->cmds->apply_coloc_score(instance, cons->primary, cons, true);
cons              296 lib/pengine/status.c         pcmk__location_t *cons = iterator->data;
cons              300 lib/pengine/status.c         g_list_free_full(cons->nodes, free);
cons              301 lib/pengine/status.c         free(cons->id);
cons              302 lib/pengine/status.c         free(cons);
cons              475 tools/crm_resource_runtime.c                 pcmk__colocation_t *cons = (pcmk__colocation_t *) lpc->data;
cons              477 tools/crm_resource_runtime.c                 crm_debug("Checking %s %d", cons->id, cons->score);
cons              479 tools/crm_resource_runtime.c                 if (pcmk_is_set(cons->dependent->flags, pcmk_rsc_detect_loop)
cons              480 tools/crm_resource_runtime.c                     || (cons->score <= 0)) {
cons              485 tools/crm_resource_runtime.c                           attr_name, attr_value, cons->dependent->id);
cons              486 tools/crm_resource_runtime.c                 update_attribute(cons->dependent, cons->dependent->id, NULL,