ticket_id 479 include/crm/pengine/internal.h extern pe_ticket_t *ticket_new(const char *ticket_id, pe_working_set_t * data_set); ticket_id 326 lib/pacemaker/pcmk_sched_transition.c find_ticket_state(cib_t * the_cib, const char *ticket_id, xmlNode ** ticket_state_xml) ticket_id 340 lib/pacemaker/pcmk_sched_transition.c if (ticket_id) { ticket_id 342 lib/pacemaker/pcmk_sched_transition.c XML_CIB_TAG_TICKET_STATE, ticket_id); ticket_id 354 lib/pacemaker/pcmk_sched_transition.c if (ticket_id) { ticket_id 355 lib/pacemaker/pcmk_sched_transition.c fprintf(stdout, "Multiple ticket_states match ticket_id=%s\n", ticket_id); ticket_id 368 lib/pacemaker/pcmk_sched_transition.c set_ticket_state_attr(const char *ticket_id, const char *attr_name, ticket_id 375 lib/pacemaker/pcmk_sched_transition.c rc = find_ticket_state(cib, ticket_id, &ticket_state_xml); ticket_id 377 lib/pacemaker/pcmk_sched_transition.c crm_debug("Found a match state for ticket: id=%s", ticket_id); ticket_id 389 lib/pacemaker/pcmk_sched_transition.c crm_xml_add(ticket_state_xml, XML_ATTR_ID, ticket_id); ticket_id 491 lib/pacemaker/pcmk_sched_transition.c char *ticket_id = (char *)gIter->data; ticket_id 493 lib/pacemaker/pcmk_sched_transition.c quiet_log(" + Granting ticket %s\n", ticket_id); ticket_id 494 lib/pacemaker/pcmk_sched_transition.c rc = set_ticket_state_attr(ticket_id, "granted", "true", ticket_id 501 lib/pacemaker/pcmk_sched_transition.c char *ticket_id = (char *)gIter->data; ticket_id 503 lib/pacemaker/pcmk_sched_transition.c quiet_log(" + Revoking ticket %s\n", ticket_id); ticket_id 504 lib/pacemaker/pcmk_sched_transition.c rc = set_ticket_state_attr(ticket_id, "granted", "false", ticket_id 511 lib/pacemaker/pcmk_sched_transition.c char *ticket_id = (char *)gIter->data; ticket_id 513 lib/pacemaker/pcmk_sched_transition.c quiet_log(" + Making ticket %s standby\n", ticket_id); ticket_id 514 lib/pacemaker/pcmk_sched_transition.c rc = set_ticket_state_attr(ticket_id, "standby", "true", ticket_id 521 lib/pacemaker/pcmk_sched_transition.c char *ticket_id = (char *)gIter->data; ticket_id 523 lib/pacemaker/pcmk_sched_transition.c quiet_log(" + Activating ticket %s\n", ticket_id); ticket_id 524 lib/pacemaker/pcmk_sched_transition.c rc = set_ticket_state_attr(ticket_id, "standby", "false", ticket_id 889 lib/pengine/unpack.c const char *ticket_id = NULL; ticket_id 897 lib/pengine/unpack.c ticket_id = ID(xml_ticket); ticket_id 898 lib/pengine/unpack.c if (pcmk__str_empty(ticket_id)) { ticket_id 902 lib/pengine/unpack.c crm_trace("Processing ticket state for %s", ticket_id); ticket_id 904 lib/pengine/unpack.c ticket = g_hash_table_lookup(data_set->tickets, ticket_id); ticket_id 906 lib/pengine/unpack.c ticket = ticket_new(ticket_id, data_set); ticket_id 946 lib/pengine/unpack.c crm_trace("Done with ticket state for %s", ticket_id); ticket_id 1957 lib/pengine/utils.c ticket_new(const char *ticket_id, pe_working_set_t * data_set) ticket_id 1961 lib/pengine/utils.c if (pcmk__str_empty(ticket_id)) { ticket_id 1971 lib/pengine/utils.c ticket = g_hash_table_lookup(data_set->tickets, ticket_id); ticket_id 1976 lib/pengine/utils.c crm_err("Cannot allocate ticket '%s'", ticket_id); ticket_id 1980 lib/pengine/utils.c crm_trace("Creaing ticket entry for %s", ticket_id); ticket_id 1982 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 138 tools/crm_ticket.c find_ticket_state(cib_t * the_cib, const char *ticket_id, xmlNode ** ticket_state_xml) ticket_id 152 tools/crm_ticket.c if (ticket_id) { ticket_id 154 tools/crm_ticket.c XML_CIB_TAG_TICKET_STATE, ticket_id); ticket_id 167 tools/crm_ticket.c if (ticket_id) { ticket_id 168 tools/crm_ticket.c fprintf(stdout, "Multiple ticket_states match ticket_id=%s\n", ticket_id); ticket_id 181 tools/crm_ticket.c find_ticket_constraints(cib_t * the_cib, const char *ticket_id, xmlNode ** ticket_cons_xml) ticket_id 197 tools/crm_ticket.c if (ticket_id) { ticket_id 199 tools/crm_ticket.c ticket_id); ticket_id 219 tools/crm_ticket.c dump_ticket_xml(cib_t * the_cib, const char *ticket_id) ticket_id 224 tools/crm_ticket.c rc = find_ticket_state(the_cib, ticket_id, &state_xml); ticket_id 244 tools/crm_ticket.c dump_constraints(cib_t * the_cib, const char *ticket_id) ticket_id 250 tools/crm_ticket.c rc = find_ticket_constraints(the_cib, ticket_id, &cons_xml); ticket_id 265 tools/crm_ticket.c get_ticket_state_attr(const char *ticket_id, const char *attr_name, const char **attr_value, ticket_id 273 tools/crm_ticket.c ticket = g_hash_table_lookup(data_set->tickets, ticket_id); ticket_id 287 tools/crm_ticket.c ticket_warning(const char *ticket_id, const char *action) ticket_id 300 tools/crm_ticket.c ticket_id); ticket_id 306 tools/crm_ticket.c ticket_id, ticket_id); ticket_id 310 tools/crm_ticket.c ticket_id); ticket_id 314 tools/crm_ticket.c ticket_id, ticket_id, ticket_id); ticket_id 320 tools/crm_ticket.c action, ticket_id, word); ticket_id 333 tools/crm_ticket.c allow_modification(const char *ticket_id, GListPtr attr_delete, ticket_id 345 tools/crm_ticket.c ticket_warning(ticket_id, "grant"); ticket_id 349 tools/crm_ticket.c ticket_warning(ticket_id, "revoke"); ticket_id 358 tools/crm_ticket.c ticket_warning(ticket_id, "revoke"); ticket_id 367 tools/crm_ticket.c modify_ticket_state(const char * ticket_id, GListPtr attr_delete, GHashTable * attr_set, ticket_id 383 tools/crm_ticket.c rc = find_ticket_state(cib, ticket_id, &ticket_state_xml); ticket_id 385 tools/crm_ticket.c crm_debug("Found a match state for ticket: id=%s", ticket_id); ticket_id 401 tools/crm_ticket.c crm_xml_add(ticket_state_xml, XML_ATTR_ID, ticket_id); ticket_id 409 tools/crm_ticket.c ticket = find_ticket(ticket_id, data_set); ticket_id 440 tools/crm_ticket.c delete_ticket_state(const char *ticket_id, cib_t * cib) ticket_id 446 tools/crm_ticket.c rc = find_ticket_state(cib, ticket_id, &ticket_state_xml); ticket_id 460 tools/crm_ticket.c fprintf(stdout, "Cleaned up %s\n", ticket_id); ticket_id 753 tools/crm_ticket.c ticket_id = optarg; ticket_id 906 tools/crm_ticket.c if (ticket_id) { ticket_id 907 tools/crm_ticket.c pe_ticket_t *ticket = find_ticket(ticket_id, data_set); ticket_id 910 tools/crm_ticket.c CMD_ERR("No such ticket '%s'", ticket_id); ticket_id 925 tools/crm_ticket.c rc = dump_ticket_xml(cib_conn, ticket_id); ticket_id 932 tools/crm_ticket.c rc = dump_constraints(cib_conn, ticket_id); ticket_id 941 tools/crm_ticket.c if (ticket_id == NULL) { ticket_id 947 tools/crm_ticket.c rc = get_ticket_state_attr(ticket_id, get_attr_name, &value, data_set); ticket_id 957 tools/crm_ticket.c if (ticket_id == NULL) { ticket_id 966 tools/crm_ticket.c ticket = find_ticket(ticket_id, data_set); ticket_id 968 tools/crm_ticket.c CMD_ERR("No such ticket '%s'", ticket_id); ticket_id 974 tools/crm_ticket.c ticket_warning(ticket_id, "revoke"); ticket_id 980 tools/crm_ticket.c rc = delete_ticket_state(ticket_id, cib_conn); ticket_id 987 tools/crm_ticket.c if (ticket_id == NULL) { ticket_id 1007 tools/crm_ticket.c if (allow_modification(ticket_id, attr_delete, attr_set) == FALSE) { ticket_id 1013 tools/crm_ticket.c rc = modify_ticket_state(ticket_id, attr_delete, attr_set, cib_conn, data_set); ticket_id 1031 tools/crm_ticket.c if (ticket_id == NULL) {