ticket_id 441 include/crm/pengine/internal.h extern pe_ticket_t *ticket_new(const char *ticket_id, pe_working_set_t * data_set); ticket_id 314 lib/pacemaker/pcmk_sched_transition.c find_ticket_state(cib_t * the_cib, const char *ticket_id, xmlNode ** ticket_state_xml) ticket_id 328 lib/pacemaker/pcmk_sched_transition.c if (ticket_id) { ticket_id 330 lib/pacemaker/pcmk_sched_transition.c XML_CIB_TAG_TICKET_STATE, ticket_id); ticket_id 342 lib/pacemaker/pcmk_sched_transition.c if (ticket_id) { ticket_id 343 lib/pacemaker/pcmk_sched_transition.c out->err(out, "Multiple ticket_states match ticket_id=%s", ticket_id); ticket_id 356 lib/pacemaker/pcmk_sched_transition.c set_ticket_state_attr(const char *ticket_id, const char *attr_name, ticket_id 363 lib/pacemaker/pcmk_sched_transition.c rc = find_ticket_state(cib, ticket_id, &ticket_state_xml); ticket_id 365 lib/pacemaker/pcmk_sched_transition.c crm_debug("Found a match state for ticket: id=%s", ticket_id); ticket_id 377 lib/pacemaker/pcmk_sched_transition.c crm_xml_add(ticket_state_xml, XML_ATTR_ID, ticket_id); ticket_id 483 lib/pacemaker/pcmk_sched_transition.c char *ticket_id = (char *)gIter->data; ticket_id 485 lib/pacemaker/pcmk_sched_transition.c out->message(out, "inject-modify-ticket", "Granting", ticket_id); ticket_id 487 lib/pacemaker/pcmk_sched_transition.c rc = set_ticket_state_attr(ticket_id, "granted", "true", ticket_id 494 lib/pacemaker/pcmk_sched_transition.c char *ticket_id = (char *)gIter->data; ticket_id 496 lib/pacemaker/pcmk_sched_transition.c out->message(out, "inject-modify-ticket", "Revoking", ticket_id); ticket_id 498 lib/pacemaker/pcmk_sched_transition.c rc = set_ticket_state_attr(ticket_id, "granted", "false", ticket_id 505 lib/pacemaker/pcmk_sched_transition.c char *ticket_id = (char *)gIter->data; ticket_id 507 lib/pacemaker/pcmk_sched_transition.c out->message(out, "inject-modify-ticket", "Standby", ticket_id); ticket_id 509 lib/pacemaker/pcmk_sched_transition.c rc = set_ticket_state_attr(ticket_id, "standby", "true", ticket_id 516 lib/pacemaker/pcmk_sched_transition.c char *ticket_id = (char *)gIter->data; ticket_id 518 lib/pacemaker/pcmk_sched_transition.c out->message(out, "inject-modify-ticket", "Activating", ticket_id); ticket_id 520 lib/pacemaker/pcmk_sched_transition.c rc = set_ticket_state_attr(ticket_id, "standby", "false", 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 1882 lib/pengine/utils.c ticket_new(const char *ticket_id, pe_working_set_t * data_set) ticket_id 1886 lib/pengine/utils.c if (pcmk__str_empty(ticket_id)) { ticket_id 1894 lib/pengine/utils.c ticket = g_hash_table_lookup(data_set->tickets, ticket_id); ticket_id 1899 lib/pengine/utils.c crm_err("Cannot allocate ticket '%s'", ticket_id); ticket_id 1903 lib/pengine/utils.c crm_trace("Creaing ticket entry for %s", ticket_id); ticket_id 1905 lib/pengine/utils.c ticket->id = strdup(ticket_id); ticket_id 37 tools/crm_ticket.c const char *ticket_id = NULL; ticket_id 49 tools/crm_ticket.c find_ticket(const char *ticket_id, pe_working_set_t * data_set) ticket_id 53 tools/crm_ticket.c ticket = g_hash_table_lookup(data_set->tickets, ticket_id); ticket_id 141 tools/crm_ticket.c find_ticket_state(cib_t * the_cib, const char *ticket_id, xmlNode ** ticket_state_xml) ticket_id 155 tools/crm_ticket.c if (ticket_id) { ticket_id 157 tools/crm_ticket.c XML_CIB_TAG_TICKET_STATE, ticket_id); ticket_id 170 tools/crm_ticket.c if (ticket_id) { ticket_id 171 tools/crm_ticket.c fprintf(stdout, "Multiple ticket_states match ticket_id=%s\n", ticket_id); ticket_id 184 tools/crm_ticket.c find_ticket_constraints(cib_t * the_cib, const char *ticket_id, xmlNode ** ticket_cons_xml) ticket_id 200 tools/crm_ticket.c if (ticket_id) { ticket_id 202 tools/crm_ticket.c ticket_id); ticket_id 222 tools/crm_ticket.c dump_ticket_xml(cib_t * the_cib, const char *ticket_id) ticket_id 227 tools/crm_ticket.c rc = find_ticket_state(the_cib, ticket_id, &state_xml); ticket_id 247 tools/crm_ticket.c dump_constraints(cib_t * the_cib, const char *ticket_id) ticket_id 253 tools/crm_ticket.c rc = find_ticket_constraints(the_cib, ticket_id, &cons_xml); ticket_id 268 tools/crm_ticket.c get_ticket_state_attr(const char *ticket_id, const char *attr_name, const char **attr_value, ticket_id 276 tools/crm_ticket.c ticket = g_hash_table_lookup(data_set->tickets, ticket_id); ticket_id 290 tools/crm_ticket.c ticket_warning(const char *ticket_id, const char *action) ticket_id 303 tools/crm_ticket.c ticket_id); ticket_id 309 tools/crm_ticket.c ticket_id, ticket_id); ticket_id 313 tools/crm_ticket.c ticket_id); ticket_id 317 tools/crm_ticket.c ticket_id, ticket_id, ticket_id); ticket_id 323 tools/crm_ticket.c action, ticket_id, word); ticket_id 336 tools/crm_ticket.c allow_modification(const char *ticket_id, GList *attr_delete, ticket_id 348 tools/crm_ticket.c ticket_warning(ticket_id, "grant"); ticket_id 352 tools/crm_ticket.c ticket_warning(ticket_id, "revoke"); ticket_id 361 tools/crm_ticket.c ticket_warning(ticket_id, "revoke"); ticket_id 370 tools/crm_ticket.c modify_ticket_state(const char * ticket_id, GList *attr_delete, GHashTable * attr_set, ticket_id 386 tools/crm_ticket.c rc = find_ticket_state(cib, ticket_id, &ticket_state_xml); ticket_id 388 tools/crm_ticket.c crm_debug("Found a match state for ticket: id=%s", ticket_id); ticket_id 404 tools/crm_ticket.c crm_xml_add(ticket_state_xml, XML_ATTR_ID, ticket_id); ticket_id 412 tools/crm_ticket.c ticket = find_ticket(ticket_id, data_set); ticket_id 443 tools/crm_ticket.c delete_ticket_state(const char *ticket_id, cib_t * cib) ticket_id 449 tools/crm_ticket.c rc = find_ticket_state(cib, ticket_id, &ticket_state_xml); ticket_id 463 tools/crm_ticket.c fprintf(stdout, "Cleaned up %s\n", ticket_id); ticket_id 756 tools/crm_ticket.c ticket_id = optarg; ticket_id 909 tools/crm_ticket.c if (ticket_id) { ticket_id 910 tools/crm_ticket.c pe_ticket_t *ticket = find_ticket(ticket_id, data_set); ticket_id 913 tools/crm_ticket.c CMD_ERR("No such ticket '%s'", ticket_id); ticket_id 928 tools/crm_ticket.c rc = dump_ticket_xml(cib_conn, ticket_id); ticket_id 935 tools/crm_ticket.c rc = dump_constraints(cib_conn, ticket_id); ticket_id 944 tools/crm_ticket.c if (ticket_id == NULL) { ticket_id 950 tools/crm_ticket.c rc = get_ticket_state_attr(ticket_id, get_attr_name, &value, data_set); ticket_id 960 tools/crm_ticket.c if (ticket_id == NULL) { ticket_id 969 tools/crm_ticket.c ticket = find_ticket(ticket_id, data_set); ticket_id 971 tools/crm_ticket.c CMD_ERR("No such ticket '%s'", ticket_id); ticket_id 977 tools/crm_ticket.c ticket_warning(ticket_id, "revoke"); ticket_id 983 tools/crm_ticket.c rc = delete_ticket_state(ticket_id, cib_conn); ticket_id 990 tools/crm_ticket.c if (ticket_id == NULL) { ticket_id 1010 tools/crm_ticket.c if (allow_modification(ticket_id, attr_delete, attr_set) == FALSE) { ticket_id 1016 tools/crm_ticket.c rc = modify_ticket_state(ticket_id, attr_delete, attr_set, cib_conn, data_set); ticket_id 1034 tools/crm_ticket.c if (ticket_id == NULL) {