cons 24 lib/pacemaker/pcmk_output.c colocations_header(pe_resource_t *rsc, pcmk__colocation_t *cons, cons 28 lib/pacemaker/pcmk_output.c if (cons->primary_role > RSC_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 50 lib/pacemaker/pcmk_output.c "score", pcmk_readable_score(cons->score), cons 53 lib/pacemaker/pcmk_output.c if (cons->node_attribute) { cons 54 lib/pacemaker/pcmk_output.c xmlSetProp(node, (pcmkXmlStr) "node-attribute", (pcmkXmlStr) cons->node_attribute); cons 57 lib/pacemaker/pcmk_output.c if (cons->dependent_role != RSC_ROLE_UNKNOWN) { cons 59 lib/pacemaker/pcmk_output.c (pcmkXmlStr) role2text(cons->dependent_role)); cons 62 lib/pacemaker/pcmk_output.c if (cons->primary_role != RSC_ROLE_UNKNOWN) { cons 64 lib/pacemaker/pcmk_output.c (pcmkXmlStr) role2text(cons->primary_role)); cons 76 lib/pacemaker/pcmk_output.c pe__location_t *cons = lpc->data; cons 80 lib/pacemaker/pcmk_output.c for (lpc2 = cons->node_list_rh; lpc2 != NULL; lpc2 = lpc2->next) { cons 90 lib/pacemaker/pcmk_output.c "id", cons->id, cons 376 lib/pacemaker/pcmk_output.c pcmk__colocation_t *cons = (pcmk__colocation_t *) lpc->data; cons 381 lib/pacemaker/pcmk_output.c if (pcmk_is_set(cons->primary->flags, pe_rsc_detect_loop)) { cons 383 lib/pacemaker/pcmk_output.c cons->primary->id, cons->id); cons 387 lib/pacemaker/pcmk_output.c hdr = colocations_header(cons->primary, cons, false); cons 394 lib/pacemaker/pcmk_output.c out->message(out, "locations-list", cons->primary); cons 397 lib/pacemaker/pcmk_output.c cons->primary, recursive); cons 424 lib/pacemaker/pcmk_output.c pcmk__colocation_t *cons = (pcmk__colocation_t *) lpc->data; cons 426 lib/pacemaker/pcmk_output.c if (pcmk_is_set(cons->primary->flags, pe_rsc_detect_loop)) { cons 427 lib/pacemaker/pcmk_output.c colocations_xml_node(out, cons->primary, cons); cons 431 lib/pacemaker/pcmk_output.c colocations_xml_node(out, cons->primary, cons); cons 432 lib/pacemaker/pcmk_output.c do_locations_list_xml(out, cons->primary, false); cons 436 lib/pacemaker/pcmk_output.c cons->primary, recursive); cons 461 lib/pacemaker/pcmk_output.c pcmk__colocation_t *cons = (pcmk__colocation_t *) lpc->data; cons 466 lib/pacemaker/pcmk_output.c if (pcmk_is_set(cons->dependent->flags, pe_rsc_detect_loop)) { cons 468 lib/pacemaker/pcmk_output.c cons->dependent->id, cons->id); cons 472 lib/pacemaker/pcmk_output.c hdr = colocations_header(cons->dependent, cons, true); cons 479 lib/pacemaker/pcmk_output.c out->message(out, "locations-list", cons->dependent); cons 482 lib/pacemaker/pcmk_output.c cons->dependent, recursive); cons 510 lib/pacemaker/pcmk_output.c pcmk__colocation_t *cons = (pcmk__colocation_t *) lpc->data; cons 512 lib/pacemaker/pcmk_output.c if (pcmk_is_set(cons->dependent->flags, pe_rsc_detect_loop)) { cons 513 lib/pacemaker/pcmk_output.c colocations_xml_node(out, cons->dependent, cons); cons 517 lib/pacemaker/pcmk_output.c colocations_xml_node(out, cons->dependent, cons); cons 518 lib/pacemaker/pcmk_output.c do_locations_list_xml(out, cons->dependent, false); cons 522 lib/pacemaker/pcmk_output.c cons->dependent, recursive); cons 539 lib/pacemaker/pcmk_output.c pe__location_t *cons = lpc->data; cons 543 lib/pacemaker/pcmk_output.c for (lpc2 = cons->node_list_rh; lpc2 != NULL; lpc2 = lpc2->next) { cons 549 lib/pacemaker/pcmk_output.c pcmk_readable_score(node->weight), cons->id, cons 960 lib/pacemaker/pcmk_sched_promotable.c pcmk__colocation_t *cons = (pcmk__colocation_t *) iter->data; cons 962 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 420 tools/crm_resource_runtime.c pcmk__colocation_t *cons = (pcmk__colocation_t *) lpc->data; cons 422 tools/crm_resource_runtime.c crm_debug("Checking %s %d", cons->id, cons->score); cons 423 tools/crm_resource_runtime.c if (!pcmk_is_set(cons->dependent->flags, pe_rsc_detect_loop) cons 424 tools/crm_resource_runtime.c && (cons->score > 0)) { cons 426 tools/crm_resource_runtime.c attr_name, attr_value, cons->dependent->id); cons 427 tools/crm_resource_runtime.c cli_resource_update_attribute(cons->dependent, cons 428 tools/crm_resource_runtime.c cons->dependent->id, NULL,