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 role2text(cons->primary_role), cons->id); cons 35 lib/pacemaker/pcmk_output.c rsc->id, pcmk_readable_score(cons->score), cons 36 lib/pacemaker/pcmk_output.c cons->id); cons 43 lib/pacemaker/pcmk_output.c pcmk__colocation_t *cons) { cons 47 lib/pacemaker/pcmk_output.c "id", cons->id, cons 48 lib/pacemaker/pcmk_output.c "rsc", cons->dependent->id, cons 49 lib/pacemaker/pcmk_output.c "with-rsc", cons->primary->id, cons 51 lib/pacemaker/pcmk_output.c pcmk_readable_score(cons->score), cons 54 lib/pacemaker/pcmk_output.c if (cons->node_attribute) { cons 56 lib/pacemaker/pcmk_output.c (pcmkXmlStr) cons->node_attribute); cons 59 lib/pacemaker/pcmk_output.c if (cons->dependent_role != pcmk_role_unknown) { cons 61 lib/pacemaker/pcmk_output.c (pcmkXmlStr) role2text(cons->dependent_role)); cons 64 lib/pacemaker/pcmk_output.c if (cons->primary_role != pcmk_role_unknown) { cons 66 lib/pacemaker/pcmk_output.c (pcmkXmlStr) role2text(cons->primary_role)); cons 79 lib/pacemaker/pcmk_output.c pe__location_t *cons = lpc->data; cons 83 lib/pacemaker/pcmk_output.c for (lpc2 = cons->node_list_rh; lpc2 != NULL; lpc2 = lpc2->next) { cons 93 lib/pacemaker/pcmk_output.c "id", cons->id, cons 383 lib/pacemaker/pcmk_output.c pcmk__colocation_t *cons = (pcmk__colocation_t *) lpc->data; cons 389 lib/pacemaker/pcmk_output.c if (pcmk_is_set(cons->primary->flags, pcmk_rsc_detect_loop)) { cons 391 lib/pacemaker/pcmk_output.c cons->primary->id, cons->id); cons 395 lib/pacemaker/pcmk_output.c hdr = colocations_header(cons->primary, cons, false); cons 402 lib/pacemaker/pcmk_output.c out->message(out, "locations-list", cons->primary); cons 405 lib/pacemaker/pcmk_output.c cons->primary, recursive); cons 432 lib/pacemaker/pcmk_output.c pcmk__colocation_t *cons = (pcmk__colocation_t *) lpc->data; cons 434 lib/pacemaker/pcmk_output.c if (pcmk_is_set(cons->primary->flags, pcmk_rsc_detect_loop)) { cons 435 lib/pacemaker/pcmk_output.c colocations_xml_node(out, cons->primary, cons); cons 439 lib/pacemaker/pcmk_output.c colocations_xml_node(out, cons->primary, cons); cons 440 lib/pacemaker/pcmk_output.c do_locations_list_xml(out, cons->primary, false); cons 444 lib/pacemaker/pcmk_output.c cons->primary, recursive); cons 469 lib/pacemaker/pcmk_output.c pcmk__colocation_t *cons = (pcmk__colocation_t *) lpc->data; cons 475 lib/pacemaker/pcmk_output.c if (pcmk_is_set(cons->dependent->flags, pcmk_rsc_detect_loop)) { cons 477 lib/pacemaker/pcmk_output.c cons->dependent->id, cons->id); cons 481 lib/pacemaker/pcmk_output.c hdr = colocations_header(cons->dependent, cons, true); cons 488 lib/pacemaker/pcmk_output.c out->message(out, "locations-list", cons->dependent); cons 491 lib/pacemaker/pcmk_output.c cons->dependent, recursive); cons 519 lib/pacemaker/pcmk_output.c pcmk__colocation_t *cons = (pcmk__colocation_t *) lpc->data; cons 521 lib/pacemaker/pcmk_output.c if (pcmk_is_set(cons->dependent->flags, pcmk_rsc_detect_loop)) { cons 522 lib/pacemaker/pcmk_output.c colocations_xml_node(out, cons->dependent, cons); cons 526 lib/pacemaker/pcmk_output.c colocations_xml_node(out, cons->dependent, cons); cons 527 lib/pacemaker/pcmk_output.c do_locations_list_xml(out, cons->dependent, false); cons 531 lib/pacemaker/pcmk_output.c cons->dependent, recursive); cons 548 lib/pacemaker/pcmk_output.c pe__location_t *cons = lpc->data; cons 552 lib/pacemaker/pcmk_output.c for (lpc2 = cons->node_list_rh; lpc2 != NULL; lpc2 = lpc2->next) { cons 558 lib/pacemaker/pcmk_output.c pcmk_readable_score(node->weight), cons->id, cons 976 lib/pacemaker/pcmk_sched_promotable.c pcmk__colocation_t *cons = (pcmk__colocation_t *) iter->data; cons 978 lib/pacemaker/pcmk_sched_promotable.c instance->cmds->apply_coloc_score(instance, cons->primary, cons, true); cons 257 lib/pengine/status.c pe__location_t *cons = iterator->data; cons 261 lib/pengine/status.c g_list_free_full(cons->node_list_rh, free); cons 262 lib/pengine/status.c free(cons->id); cons 263 lib/pengine/status.c free(cons); cons 425 tools/crm_resource_runtime.c pcmk__colocation_t *cons = (pcmk__colocation_t *) lpc->data; cons 427 tools/crm_resource_runtime.c crm_debug("Checking %s %d", cons->id, cons->score); cons 428 tools/crm_resource_runtime.c if (!pcmk_is_set(cons->dependent->flags, pcmk_rsc_detect_loop) cons 429 tools/crm_resource_runtime.c && (cons->score > 0)) { cons 431 tools/crm_resource_runtime.c attr_name, attr_value, cons->dependent->id); cons 432 tools/crm_resource_runtime.c cli_resource_update_attribute(cons->dependent, cons 433 tools/crm_resource_runtime.c cons->dependent->id, NULL,