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               48 lib/pacemaker/pcmk_output.c                                         PCMK_XA_ID, cons->id,
cons               49 lib/pacemaker/pcmk_output.c                                         PCMK_XA_RSC, cons->dependent->id,
cons               50 lib/pacemaker/pcmk_output.c                                         PCMK_XA_WITH_RSC, cons->primary->id,
cons               52 lib/pacemaker/pcmk_output.c                                         pcmk_readable_score(cons->score),
cons               55 lib/pacemaker/pcmk_output.c     if (cons->node_attribute) {
cons               57 lib/pacemaker/pcmk_output.c                    (pcmkXmlStr) cons->node_attribute);
cons               60 lib/pacemaker/pcmk_output.c     if (cons->dependent_role != pcmk_role_unknown) {
cons               62 lib/pacemaker/pcmk_output.c                    (pcmkXmlStr) pcmk_role_text(cons->dependent_role));
cons               65 lib/pacemaker/pcmk_output.c     if (cons->primary_role != pcmk_role_unknown) {
cons               67 lib/pacemaker/pcmk_output.c                    (pcmkXmlStr) pcmk_role_text(cons->primary_role));
cons               80 lib/pacemaker/pcmk_output.c         pcmk__location_t *cons = lpc->data;
cons               84 lib/pacemaker/pcmk_output.c         for (lpc2 = cons->nodes; lpc2 != NULL; lpc2 = lpc2->next) {
cons               94 lib/pacemaker/pcmk_output.c                                          PCMK_XA_ID, cons->id,
cons              385 lib/pacemaker/pcmk_output.c         pcmk__colocation_t *cons = (pcmk__colocation_t *) lpc->data;
cons              391 lib/pacemaker/pcmk_output.c         if (pcmk_is_set(cons->primary->flags, pcmk_rsc_detect_loop)) {
cons              393 lib/pacemaker/pcmk_output.c                            cons->primary->id, cons->id);
cons              397 lib/pacemaker/pcmk_output.c         hdr = colocations_header(cons->primary, cons, false);
cons              404 lib/pacemaker/pcmk_output.c         out->message(out, "locations-list", cons->primary);
cons              407 lib/pacemaker/pcmk_output.c                          cons->primary, recursive);
cons              434 lib/pacemaker/pcmk_output.c         pcmk__colocation_t *cons = (pcmk__colocation_t *) lpc->data;
cons              436 lib/pacemaker/pcmk_output.c         if (pcmk_is_set(cons->primary->flags, pcmk_rsc_detect_loop)) {
cons              437 lib/pacemaker/pcmk_output.c             colocations_xml_node(out, cons->primary, cons);
cons              441 lib/pacemaker/pcmk_output.c         colocations_xml_node(out, cons->primary, cons);
cons              442 lib/pacemaker/pcmk_output.c         do_locations_list_xml(out, cons->primary, false);
cons              446 lib/pacemaker/pcmk_output.c                          cons->primary, recursive);
cons              471 lib/pacemaker/pcmk_output.c         pcmk__colocation_t *cons = (pcmk__colocation_t *) lpc->data;
cons              477 lib/pacemaker/pcmk_output.c         if (pcmk_is_set(cons->dependent->flags, pcmk_rsc_detect_loop)) {
cons              479 lib/pacemaker/pcmk_output.c                            cons->dependent->id, cons->id);
cons              483 lib/pacemaker/pcmk_output.c         hdr = colocations_header(cons->dependent, cons, true);
cons              490 lib/pacemaker/pcmk_output.c         out->message(out, "locations-list", cons->dependent);
cons              493 lib/pacemaker/pcmk_output.c                          cons->dependent, recursive);
cons              521 lib/pacemaker/pcmk_output.c         pcmk__colocation_t *cons = (pcmk__colocation_t *) lpc->data;
cons              523 lib/pacemaker/pcmk_output.c         if (pcmk_is_set(cons->dependent->flags, pcmk_rsc_detect_loop)) {
cons              524 lib/pacemaker/pcmk_output.c             colocations_xml_node(out, cons->dependent, cons);
cons              528 lib/pacemaker/pcmk_output.c         colocations_xml_node(out, cons->dependent, cons);
cons              529 lib/pacemaker/pcmk_output.c         do_locations_list_xml(out, cons->dependent, false);
cons              533 lib/pacemaker/pcmk_output.c                          cons->dependent, recursive);
cons              550 lib/pacemaker/pcmk_output.c         pcmk__location_t *cons = lpc->data;
cons              554 lib/pacemaker/pcmk_output.c         for (lpc2 = cons->nodes; lpc2 != NULL; lpc2 = lpc2->next) {
cons              560 lib/pacemaker/pcmk_output.c                            pcmk_readable_score(node->weight), cons->id,
cons              964 lib/pacemaker/pcmk_sched_promotable.c         pcmk__colocation_t *cons = (pcmk__colocation_t *) iter->data;
cons              966 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,