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 480 lib/pacemaker/pcmk_sched_transition.c char *ticket_id = (char *)gIter->data; ticket_id 482 lib/pacemaker/pcmk_sched_transition.c out->message(out, "inject-modify-ticket", "Granting", ticket_id); ticket_id 484 lib/pacemaker/pcmk_sched_transition.c rc = set_ticket_state_attr(ticket_id, "granted", "true", ticket_id 491 lib/pacemaker/pcmk_sched_transition.c char *ticket_id = (char *)gIter->data; ticket_id 493 lib/pacemaker/pcmk_sched_transition.c out->message(out, "inject-modify-ticket", "Revoking", ticket_id); ticket_id 495 lib/pacemaker/pcmk_sched_transition.c rc = set_ticket_state_attr(ticket_id, "granted", "false", ticket_id 502 lib/pacemaker/pcmk_sched_transition.c char *ticket_id = (char *)gIter->data; ticket_id 504 lib/pacemaker/pcmk_sched_transition.c out->message(out, "inject-modify-ticket", "Standby", ticket_id); ticket_id 506 lib/pacemaker/pcmk_sched_transition.c rc = set_ticket_state_attr(ticket_id, "standby", "true", ticket_id 513 lib/pacemaker/pcmk_sched_transition.c char *ticket_id = (char *)gIter->data; ticket_id 515 lib/pacemaker/pcmk_sched_transition.c out->message(out, "inject-modify-ticket", "Activating", ticket_id); ticket_id 517 lib/pacemaker/pcmk_sched_transition.c rc = set_ticket_state_attr(ticket_id, "standby", "false", ticket_id 871 lib/pengine/unpack.c const char *ticket_id = NULL; ticket_id 879 lib/pengine/unpack.c ticket_id = ID(xml_ticket); ticket_id 880 lib/pengine/unpack.c if (pcmk__str_empty(ticket_id)) { ticket_id 884 lib/pengine/unpack.c crm_trace("Processing ticket state for %s", ticket_id); ticket_id 886 lib/pengine/unpack.c ticket = g_hash_table_lookup(data_set->tickets, ticket_id); ticket_id 888 lib/pengine/unpack.c ticket = ticket_new(ticket_id, data_set); ticket_id 931 lib/pengine/unpack.c crm_trace("Done with ticket state for %s", ticket_id); ticket_id 1976 lib/pengine/utils.c ticket_new(const char *ticket_id, pe_working_set_t * data_set) ticket_id 1980 lib/pengine/utils.c if (pcmk__str_empty(ticket_id)) { ticket_id 1988 lib/pengine/utils.c ticket = g_hash_table_lookup(data_set->tickets, ticket_id); ticket_id 1993 lib/pengine/utils.c crm_err("Cannot allocate ticket '%s'", ticket_id); ticket_id 1997 lib/pengine/utils.c crm_trace("Creaing ticket entry for %s", ticket_id); ticket_id 1999 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 755 tools/crm_ticket.c ticket_id = optarg; ticket_id 907 tools/crm_ticket.c if (ticket_id) { ticket_id 908 tools/crm_ticket.c pe_ticket_t *ticket = find_ticket(ticket_id, data_set); ticket_id 911 tools/crm_ticket.c CMD_ERR("No such ticket '%s'", ticket_id); ticket_id 926 tools/crm_ticket.c rc = dump_ticket_xml(cib_conn, ticket_id); ticket_id 933 tools/crm_ticket.c rc = dump_constraints(cib_conn, ticket_id); ticket_id 942 tools/crm_ticket.c if (ticket_id == NULL) { ticket_id 948 tools/crm_ticket.c rc = get_ticket_state_attr(ticket_id, get_attr_name, &value, data_set); ticket_id 958 tools/crm_ticket.c if (ticket_id == NULL) { ticket_id 967 tools/crm_ticket.c ticket = find_ticket(ticket_id, data_set); ticket_id 969 tools/crm_ticket.c CMD_ERR("No such ticket '%s'", ticket_id); ticket_id 975 tools/crm_ticket.c ticket_warning(ticket_id, "revoke"); ticket_id 981 tools/crm_ticket.c rc = delete_ticket_state(ticket_id, cib_conn); ticket_id 988 tools/crm_ticket.c if (ticket_id == NULL) { ticket_id 1008 tools/crm_ticket.c if (allow_modification(ticket_id, attr_delete, attr_set) == FALSE) { ticket_id 1014 tools/crm_ticket.c rc = modify_ticket_state(ticket_id, attr_delete, attr_set, cib_conn, data_set); ticket_id 1032 tools/crm_ticket.c if (ticket_id == NULL) {