ticket_id 443 include/crm/pengine/internal.h extern pe_ticket_t *ticket_new(const char *ticket_id, pe_working_set_t * data_set); ticket_id 422 lib/pacemaker/pcmk_injections.c find_ticket_state(pcmk__output_t *out, cib_t *the_cib, const char *ticket_id, ticket_id 437 lib/pacemaker/pcmk_injections.c if (ticket_id) { ticket_id 439 lib/pacemaker/pcmk_injections.c XML_CIB_TAG_TICKET_STATE, ticket_id); ticket_id 451 lib/pacemaker/pcmk_injections.c if (ticket_id) { ticket_id 452 lib/pacemaker/pcmk_injections.c out->err(out, "Multiple ticket_states match ticket_id=%s", ticket_id); ticket_id 477 lib/pacemaker/pcmk_injections.c set_ticket_state_attr(pcmk__output_t *out, const char *ticket_id, ticket_id 485 lib/pacemaker/pcmk_injections.c rc = find_ticket_state(out, cib, ticket_id, &ticket_state_xml); ticket_id 490 lib/pacemaker/pcmk_injections.c ticket_id); ticket_id 499 lib/pacemaker/pcmk_injections.c crm_xml_add(ticket_state_xml, XML_ATTR_ID, ticket_id); ticket_id 694 lib/pacemaker/pcmk_injections.c char *ticket_id = (char *) iter->data; ticket_id 696 lib/pacemaker/pcmk_injections.c out->message(out, "inject-modify-ticket", "Granting", ticket_id); ticket_id 698 lib/pacemaker/pcmk_injections.c rc = set_ticket_state_attr(out, ticket_id, "granted", true, cib); ticket_id 703 lib/pacemaker/pcmk_injections.c char *ticket_id = (char *) iter->data; ticket_id 705 lib/pacemaker/pcmk_injections.c out->message(out, "inject-modify-ticket", "Revoking", ticket_id); ticket_id 707 lib/pacemaker/pcmk_injections.c rc = set_ticket_state_attr(out, ticket_id, "granted", false, cib); ticket_id 712 lib/pacemaker/pcmk_injections.c char *ticket_id = (char *) iter->data; ticket_id 714 lib/pacemaker/pcmk_injections.c out->message(out, "inject-modify-ticket", "Standby", ticket_id); ticket_id 716 lib/pacemaker/pcmk_injections.c rc = set_ticket_state_attr(out, ticket_id, "standby", true, cib); ticket_id 721 lib/pacemaker/pcmk_injections.c char *ticket_id = (char *) iter->data; ticket_id 723 lib/pacemaker/pcmk_injections.c out->message(out, "inject-modify-ticket", "Activating", ticket_id); ticket_id 725 lib/pacemaker/pcmk_injections.c rc = set_ticket_state_attr(out, ticket_id, "standby", false, cib); ticket_id 878 lib/pengine/unpack.c const char *ticket_id = NULL; ticket_id 886 lib/pengine/unpack.c ticket_id = ID(xml_ticket); ticket_id 887 lib/pengine/unpack.c if (pcmk__str_empty(ticket_id)) { ticket_id 891 lib/pengine/unpack.c crm_trace("Processing ticket state for %s", ticket_id); ticket_id 893 lib/pengine/unpack.c ticket = g_hash_table_lookup(data_set->tickets, ticket_id); ticket_id 895 lib/pengine/unpack.c ticket = ticket_new(ticket_id, data_set); ticket_id 938 lib/pengine/unpack.c crm_trace("Done with ticket state for %s", ticket_id); ticket_id 1977 lib/pengine/utils.c ticket_new(const char *ticket_id, pe_working_set_t * data_set) ticket_id 1981 lib/pengine/utils.c if (pcmk__str_empty(ticket_id)) { ticket_id 1989 lib/pengine/utils.c ticket = g_hash_table_lookup(data_set->tickets, ticket_id); ticket_id 1994 lib/pengine/utils.c crm_err("Cannot allocate ticket '%s'", ticket_id); ticket_id 1998 lib/pengine/utils.c crm_trace("Creaing ticket entry for %s", ticket_id); ticket_id 2000 lib/pengine/utils.c ticket->id = strdup(ticket_id); ticket_id 52 tools/crm_ticket.c gchar *ticket_id; ticket_id 229 tools/crm_ticket.c { "ticket", 't', 0, G_OPTION_ARG_STRING, &options.ticket_id, ticket_id 257 tools/crm_ticket.c find_ticket(gchar *ticket_id, pe_working_set_t * data_set) ticket_id 259 tools/crm_ticket.c return g_hash_table_lookup(data_set->tickets, ticket_id); ticket_id 343 tools/crm_ticket.c find_ticket_state(cib_t * the_cib, gchar *ticket_id, xmlNode ** ticket_state_xml) ticket_id 357 tools/crm_ticket.c if (ticket_id) { ticket_id 359 tools/crm_ticket.c XML_CIB_TAG_TICKET_STATE, ticket_id); ticket_id 373 tools/crm_ticket.c if (ticket_id) { ticket_id 374 tools/crm_ticket.c fprintf(stdout, "Multiple ticket_states match ticket_id=%s\n", ticket_id); ticket_id 387 tools/crm_ticket.c find_ticket_constraints(cib_t * the_cib, gchar *ticket_id, xmlNode ** ticket_cons_xml) ticket_id 409 tools/crm_ticket.c if (ticket_id) { ticket_id 411 tools/crm_ticket.c ticket_id); ticket_id 432 tools/crm_ticket.c dump_ticket_xml(cib_t * the_cib, gchar *ticket_id) ticket_id 437 tools/crm_ticket.c rc = find_ticket_state(the_cib, ticket_id, &state_xml); ticket_id 457 tools/crm_ticket.c dump_constraints(cib_t * the_cib, gchar *ticket_id) ticket_id 463 tools/crm_ticket.c rc = find_ticket_constraints(the_cib, ticket_id, &cons_xml); ticket_id 478 tools/crm_ticket.c get_ticket_state_attr(gchar *ticket_id, const char *attr_name, const char **attr_value, ticket_id 486 tools/crm_ticket.c ticket = g_hash_table_lookup(data_set->tickets, ticket_id); ticket_id 500 tools/crm_ticket.c ticket_warning(gchar *ticket_id, const char *action) ticket_id 512 tools/crm_ticket.c ticket_id); ticket_id 518 tools/crm_ticket.c ticket_id, ticket_id); ticket_id 522 tools/crm_ticket.c ticket_id); ticket_id 526 tools/crm_ticket.c ticket_id, ticket_id, ticket_id); ticket_id 532 tools/crm_ticket.c action, ticket_id, word); ticket_id 544 tools/crm_ticket.c allow_modification(gchar *ticket_id) ticket_id 555 tools/crm_ticket.c ticket_warning(ticket_id, "grant"); ticket_id 559 tools/crm_ticket.c ticket_warning(ticket_id, "revoke"); ticket_id 568 tools/crm_ticket.c ticket_warning(ticket_id, "revoke"); ticket_id 577 tools/crm_ticket.c modify_ticket_state(gchar * ticket_id, cib_t * cib, pe_working_set_t * data_set) ticket_id 592 tools/crm_ticket.c rc = find_ticket_state(cib, ticket_id, &ticket_state_xml); ticket_id 594 tools/crm_ticket.c crm_debug("Found a match state for ticket: id=%s", ticket_id); ticket_id 610 tools/crm_ticket.c crm_xml_add(ticket_state_xml, XML_ATTR_ID, ticket_id); ticket_id 618 tools/crm_ticket.c ticket = find_ticket(ticket_id, data_set); ticket_id 651 tools/crm_ticket.c delete_ticket_state(gchar *ticket_id, cib_t * cib) ticket_id 657 tools/crm_ticket.c rc = find_ticket_state(cib, ticket_id, &ticket_state_xml); ticket_id 672 tools/crm_ticket.c fprintf(stdout, "Cleaned up %s\n", ticket_id); ticket_id 830 tools/crm_ticket.c if (options.ticket_id) { ticket_id 831 tools/crm_ticket.c pe_ticket_t *ticket = find_ticket(options.ticket_id, data_set); ticket_id 836 tools/crm_ticket.c "No such ticket '%s'", options.ticket_id); ticket_id 846 tools/crm_ticket.c rc = dump_ticket_xml(cib_conn, options.ticket_id); ticket_id 855 tools/crm_ticket.c rc = dump_constraints(cib_conn, options.ticket_id); ticket_id 866 tools/crm_ticket.c if (options.ticket_id == NULL) { ticket_id 873 tools/crm_ticket.c rc = get_ticket_state_attr(options.ticket_id, options.get_attr_name, &value, data_set); ticket_id 883 tools/crm_ticket.c if (options.ticket_id == NULL) { ticket_id 893 tools/crm_ticket.c ticket = find_ticket(options.ticket_id, data_set); ticket_id 897 tools/crm_ticket.c "No such ticket '%s'", options.ticket_id); ticket_id 902 tools/crm_ticket.c ticket_warning(options.ticket_id, "revoke"); ticket_id 908 tools/crm_ticket.c rc = delete_ticket_state(options.ticket_id, cib_conn); ticket_id 917 tools/crm_ticket.c if (options.ticket_id == NULL) { ticket_id 940 tools/crm_ticket.c if (!allow_modification(options.ticket_id)) { ticket_id 947 tools/crm_ticket.c rc = modify_ticket_state(options.ticket_id, cib_conn, data_set); ticket_id 967 tools/crm_ticket.c if (options.ticket_id == NULL) { ticket_id 1015 tools/crm_ticket.c g_free(options.ticket_id);