ticket_id 262 include/crm/pengine/internal.h pcmk_ticket_t *ticket_new(const char *ticket_id, pcmk_scheduler_t *scheduler); ticket_id 456 include/pacemaker.h int pcmk_ticket_constraints(xmlNodePtr *xml, const char *ticket_id); ticket_id 469 include/pacemaker.h int pcmk_ticket_delete(xmlNodePtr *xml, const char *ticket_id, bool force); ticket_id 482 include/pacemaker.h int pcmk_ticket_get_attr(xmlNodePtr *xml, const char *ticket_id, ticket_id 494 include/pacemaker.h int pcmk_ticket_info(xmlNodePtr *xml, const char *ticket_id); ticket_id 508 include/pacemaker.h int pcmk_ticket_remove_attr(xmlNodePtr *xml, const char *ticket_id, GList *attr_delete, ticket_id 528 include/pacemaker.h int pcmk_ticket_set_attr(xmlNodePtr *xml, const char *ticket_id, GHashTable *attr_set, ticket_id 543 include/pacemaker.h int pcmk_ticket_state(xmlNodePtr *xml, const char *ticket_id); ticket_id 30 include/pcmki/pcmki_ticket.h int pcmk__get_ticket_state(cib_t *cib, const char *ticket_id, xmlNode **state); ticket_id 43 include/pcmki/pcmki_ticket.h int pcmk__ticket_constraints(pcmk__output_t *out, cib_t *cib, const char *ticket_id); ticket_id 59 include/pcmki/pcmki_ticket.h const char *ticket_id, bool force); ticket_id 75 include/pcmki/pcmki_ticket.h const char *ticket_id, const char *attr_name, ticket_id 97 include/pcmki/pcmki_ticket.h const char *ticket_id, bool details, bool raw); ticket_id 114 include/pcmki/pcmki_ticket.h const char *ticket_id, GList *attr_delete, bool force); ticket_id 136 include/pcmki/pcmki_ticket.h const char *ticket_id, GHashTable *attr_set, bool force); ticket_id 152 include/pcmki/pcmki_ticket.h int pcmk__ticket_state(pcmk__output_t *out, cib_t *cib, const char *ticket_id); ticket_id 494 lib/pacemaker/pcmk_injections.c set_ticket_state_attr(pcmk__output_t *out, const char *ticket_id, ticket_id 502 lib/pacemaker/pcmk_injections.c rc = pcmk__get_ticket_state(cib, ticket_id, &ticket_state_xml); ticket_id 506 lib/pacemaker/pcmk_injections.c ticket_id); ticket_id 512 lib/pacemaker/pcmk_injections.c ticket_id); ticket_id 521 lib/pacemaker/pcmk_injections.c crm_xml_add(ticket_state_xml, PCMK_XA_ID, ticket_id); ticket_id 721 lib/pacemaker/pcmk_injections.c const char *ticket_id = (const char *) iter->data; ticket_id 723 lib/pacemaker/pcmk_injections.c out->message(out, "inject-modify-ticket", "Granting", ticket_id); ticket_id 725 lib/pacemaker/pcmk_injections.c rc = set_ticket_state_attr(out, ticket_id, PCMK__XA_GRANTED, true, cib); ticket_id 730 lib/pacemaker/pcmk_injections.c const char *ticket_id = (const char *) iter->data; ticket_id 732 lib/pacemaker/pcmk_injections.c out->message(out, "inject-modify-ticket", "Revoking", ticket_id); ticket_id 734 lib/pacemaker/pcmk_injections.c rc = set_ticket_state_attr(out, ticket_id, PCMK__XA_GRANTED, false, ticket_id 740 lib/pacemaker/pcmk_injections.c const char *ticket_id = (const char *) iter->data; ticket_id 742 lib/pacemaker/pcmk_injections.c out->message(out, "inject-modify-ticket", "Standby", ticket_id); ticket_id 744 lib/pacemaker/pcmk_injections.c rc = set_ticket_state_attr(out, ticket_id, PCMK_XA_STANDBY, true, cib); ticket_id 749 lib/pacemaker/pcmk_injections.c const char *ticket_id = (const char *) iter->data; ticket_id 751 lib/pacemaker/pcmk_injections.c out->message(out, "inject-modify-ticket", "Activating", ticket_id); ticket_id 753 lib/pacemaker/pcmk_injections.c rc = set_ticket_state_attr(out, ticket_id, PCMK_XA_STANDBY, false, cib); ticket_id 2385 lib/pacemaker/pcmk_output.c const char *ticket_id G_GNUC_UNUSED = va_arg(args, const char *); ticket_id 2397 lib/pacemaker/pcmk_output.c const char *ticket_id = va_arg(args, const char *); ticket_id 2410 lib/pacemaker/pcmk_output.c PCMK_XA_ID, ticket_id, NULL); ticket_id 2474 lib/pacemaker/pcmk_output.c const char *ticket_id = crm_element_value(node, PCMK_XA_TICKET); ticket_id 2477 lib/pacemaker/pcmk_output.c PCMK_XA_ID, ticket_id, NULL); ticket_id 21 lib/pacemaker/pcmk_ticket.c build_ticket_modify_xml(cib_t *cib, const char *ticket_id, xmlNode **ticket_state_xml, ticket_id 24 lib/pacemaker/pcmk_ticket.c int rc = pcmk__get_ticket_state(cib, ticket_id, ticket_state_xml); ticket_id 37 lib/pacemaker/pcmk_ticket.c crm_xml_add(*ticket_state_xml, PCMK_XA_ID, ticket_id); ticket_id 50 lib/pacemaker/pcmk_ticket.c add_attribute_xml(pcmk_scheduler_t *scheduler, const char *ticket_id, ticket_id 57 lib/pacemaker/pcmk_ticket.c pcmk_ticket_t *ticket = g_hash_table_lookup(scheduler->tickets, ticket_id); ticket_id 76 lib/pacemaker/pcmk_ticket.c pcmk__get_ticket_state(cib_t *cib, const char *ticket_id, xmlNode **state) ticket_id 85 lib/pacemaker/pcmk_ticket.c if (ticket_id != NULL) { ticket_id 88 lib/pacemaker/pcmk_ticket.c ticket_id); ticket_id 100 lib/pacemaker/pcmk_ticket.c if (xml_search->children != NULL && ticket_id != NULL) { ticket_id 112 lib/pacemaker/pcmk_ticket.c pcmk__ticket_constraints(pcmk__output_t *out, cib_t *cib, const char *ticket_id) ticket_id 124 lib/pacemaker/pcmk_ticket.c if (ticket_id != NULL) { ticket_id 126 lib/pacemaker/pcmk_ticket.c xpath_base, ticket_id); ticket_id 145 lib/pacemaker/pcmk_ticket.c pcmk_ticket_constraints(xmlNodePtr *xml, const char *ticket_id) ticket_id 156 lib/pacemaker/pcmk_ticket.c rc = pcmk__ticket_constraints(out, cib, ticket_id); ticket_id 181 lib/pacemaker/pcmk_ticket.c const char *ticket_id, bool force) ticket_id 188 lib/pacemaker/pcmk_ticket.c if (ticket_id == NULL) { ticket_id 193 lib/pacemaker/pcmk_ticket.c pcmk_ticket_t *ticket = g_hash_table_lookup(scheduler->tickets, ticket_id); ticket_id 204 lib/pacemaker/pcmk_ticket.c rc = pcmk__get_ticket_state(cib, ticket_id, &state); ticket_id 208 lib/pacemaker/pcmk_ticket.c ticket_id); ticket_id 226 lib/pacemaker/pcmk_ticket.c out->info(out, "Cleaned up %s", ticket_id); ticket_id 234 lib/pacemaker/pcmk_ticket.c pcmk_ticket_delete(xmlNodePtr *xml, const char *ticket_id, bool force) ticket_id 246 lib/pacemaker/pcmk_ticket.c rc = pcmk__ticket_delete(out, cib, scheduler, ticket_id, force); ticket_id 260 lib/pacemaker/pcmk_ticket.c const char *ticket_id, const char *attr_name, ticket_id 269 lib/pacemaker/pcmk_ticket.c if (ticket_id == NULL || attr_name == NULL) { ticket_id 273 lib/pacemaker/pcmk_ticket.c ticket = g_hash_table_lookup(scheduler->tickets, ticket_id); ticket_id 280 lib/pacemaker/pcmk_ticket.c out->message(out, "ticket-attribute", ticket_id, attr_name, attr_value); ticket_id 282 lib/pacemaker/pcmk_ticket.c out->message(out, "ticket-attribute", ticket_id, attr_name, attr_default); ticket_id 291 lib/pacemaker/pcmk_ticket.c pcmk_ticket_get_attr(xmlNodePtr *xml, const char *ticket_id, ticket_id 303 lib/pacemaker/pcmk_ticket.c rc = pcmk__ticket_get_attr(out, scheduler, ticket_id, attr_name, attr_default); ticket_id 313 lib/pacemaker/pcmk_ticket.c const char *ticket_id, bool details, bool raw) ticket_id 319 lib/pacemaker/pcmk_ticket.c if (ticket_id != NULL) { ticket_id 321 lib/pacemaker/pcmk_ticket.c pcmk_ticket_t *ticket = g_hash_table_lookup(scheduler->tickets, ticket_id); ticket_id 343 lib/pacemaker/pcmk_ticket.c pcmk_ticket_info(xmlNodePtr *xml, const char *ticket_id) ticket_id 360 lib/pacemaker/pcmk_ticket.c rc = pcmk__ticket_info(out, scheduler, ticket_id, false, false); ticket_id 370 lib/pacemaker/pcmk_ticket.c const char *ticket_id, GList *attr_delete, bool force) ticket_id 378 lib/pacemaker/pcmk_ticket.c if (ticket_id == NULL) { ticket_id 387 lib/pacemaker/pcmk_ticket.c rc = build_ticket_modify_xml(cib, ticket_id, &ticket_state_xml, &xml_top); ticket_id 390 lib/pacemaker/pcmk_ticket.c out->info(out, "Multiple " PCMK__XE_TICKET_STATE "s match ticket=%s", ticket_id); ticket_id 416 lib/pacemaker/pcmk_ticket.c pcmk_ticket_remove_attr(xmlNodePtr *xml, const char *ticket_id, GList *attr_delete, bool force) ticket_id 428 lib/pacemaker/pcmk_ticket.c rc = pcmk__ticket_remove_attr(out, cib, scheduler, ticket_id, attr_delete, force); ticket_id 442 lib/pacemaker/pcmk_ticket.c const char *ticket_id, GHashTable *attr_set, bool force) ticket_id 450 lib/pacemaker/pcmk_ticket.c if (ticket_id == NULL) { ticket_id 459 lib/pacemaker/pcmk_ticket.c rc = build_ticket_modify_xml(cib, ticket_id, &ticket_state_xml, &xml_top); ticket_id 462 lib/pacemaker/pcmk_ticket.c out->info(out, "Multiple " PCMK__XE_TICKET_STATE "s match ticket=%s", ticket_id); ticket_id 473 lib/pacemaker/pcmk_ticket.c add_attribute_xml(scheduler, ticket_id, attr_set, &ticket_state_xml); ticket_id 484 lib/pacemaker/pcmk_ticket.c pcmk_ticket_set_attr(xmlNodePtr *xml, const char *ticket_id, GHashTable *attr_set, ticket_id 497 lib/pacemaker/pcmk_ticket.c rc = pcmk__ticket_set_attr(out, cib, scheduler, ticket_id, attr_set, force); ticket_id 510 lib/pacemaker/pcmk_ticket.c pcmk__ticket_state(pcmk__output_t *out, cib_t *cib, const char *ticket_id) ticket_id 517 lib/pacemaker/pcmk_ticket.c rc = pcmk__get_ticket_state(cib, ticket_id, &state_xml); ticket_id 521 lib/pacemaker/pcmk_ticket.c ticket_id); ticket_id 533 lib/pacemaker/pcmk_ticket.c pcmk_ticket_state(xmlNodePtr *xml, const char *ticket_id) ticket_id 544 lib/pacemaker/pcmk_ticket.c rc = pcmk__ticket_state(out, cib, ticket_id); ticket_id 76 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_get_attr_test.c verify_results(xmlNode *xml, const char *ticket_id, const char *attr_name, ticket_id 89 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_get_attr_test.c assert_string_equal(crm_element_value(node, PCMK_XA_ID), ticket_id); ticket_id 1000 lib/pengine/unpack.c const char *ticket_id = NULL; ticket_id 1008 lib/pengine/unpack.c ticket_id = pcmk__xe_id(xml_ticket); ticket_id 1009 lib/pengine/unpack.c if (pcmk__str_empty(ticket_id)) { ticket_id 1013 lib/pengine/unpack.c crm_trace("Processing ticket state for %s", ticket_id); ticket_id 1015 lib/pengine/unpack.c ticket = g_hash_table_lookup(scheduler->tickets, ticket_id); ticket_id 1017 lib/pengine/unpack.c ticket = ticket_new(ticket_id, scheduler); ticket_id 1060 lib/pengine/unpack.c crm_trace("Done with ticket state for %s", ticket_id); ticket_id 517 lib/pengine/utils.c ticket_new(const char *ticket_id, pcmk_scheduler_t *scheduler) ticket_id 521 lib/pengine/utils.c if (pcmk__str_empty(ticket_id)) { ticket_id 529 lib/pengine/utils.c ticket = g_hash_table_lookup(scheduler->tickets, ticket_id); ticket_id 534 lib/pengine/utils.c pcmk__sched_err("Cannot allocate ticket '%s'", ticket_id); ticket_id 538 lib/pengine/utils.c crm_trace("Creating ticket entry for %s", ticket_id); ticket_id 540 lib/pengine/utils.c ticket->id = strdup(ticket_id); ticket_id 52 tools/crm_ticket.c gchar *ticket_id; ticket_id 237 tools/crm_ticket.c { "ticket", 't', 0, G_OPTION_ARG_STRING, &options.ticket_id, ticket_id 265 tools/crm_ticket.c ticket_grant_warning(gchar *ticket_id) ticket_id 272 tools/crm_ticket.c ticket_id, ticket_id); ticket_id 276 tools/crm_ticket.c ticket_revoke_warning(gchar *ticket_id) ticket_id 288 tools/crm_ticket.c ticket_id, ticket_id, ticket_id, ticket_id, ticket_id, ticket_id 289 tools/crm_ticket.c ticket_id, ticket_id); ticket_id 461 tools/crm_ticket.c rc = pcmk__ticket_info(out, scheduler, options.ticket_id, details, raw); ticket_id 466 tools/crm_ticket.c "No such ticket '%s'", options.ticket_id); ticket_id 473 tools/crm_ticket.c rc = pcmk__ticket_state(out, cib_conn, options.ticket_id); ticket_id 484 tools/crm_ticket.c rc = pcmk__ticket_constraints(out, cib_conn, options.ticket_id); ticket_id 493 tools/crm_ticket.c if (options.ticket_id == NULL) { ticket_id 500 tools/crm_ticket.c rc = pcmk__ticket_get_attr(out, scheduler, options.ticket_id, ticket_id 505 tools/crm_ticket.c if (options.ticket_id == NULL) { ticket_id 512 tools/crm_ticket.c rc = pcmk__ticket_delete(out, cib_conn, scheduler, options.ticket_id, ticket_id 519 tools/crm_ticket.c "No such ticket '%s'", options.ticket_id); ticket_id 523 tools/crm_ticket.c ticket_revoke_warning(options.ticket_id); ticket_id 537 tools/crm_ticket.c if (options.ticket_id == NULL) { ticket_id 561 tools/crm_ticket.c rc = pcmk__ticket_remove_attr(out, cib_conn, scheduler, options.ticket_id, ticket_id 565 tools/crm_ticket.c ticket_revoke_warning(options.ticket_id); ticket_id 571 tools/crm_ticket.c rc = pcmk__ticket_set_attr(out, cib_conn, scheduler, options.ticket_id, ticket_id 579 tools/crm_ticket.c ticket_grant_warning(options.ticket_id); ticket_id 581 tools/crm_ticket.c ticket_revoke_warning(options.ticket_id); ticket_id 609 tools/crm_ticket.c if (options.ticket_id == NULL) { ticket_id 653 tools/crm_ticket.c g_free(options.ticket_id);