ticket           1650 lib/pacemaker/pcmk_output.c     const char *ticket = va_arg(args, const char *);
ticket           1657 lib/pacemaker/pcmk_output.c         out->list_item(out, NULL, "Making ticket %s standby", ticket);
ticket           1659 lib/pacemaker/pcmk_output.c         out->list_item(out, NULL, "%s ticket %s", action, ticket);
ticket           1670 lib/pacemaker/pcmk_output.c     const char *ticket = va_arg(args, const char *);
ticket           1678 lib/pacemaker/pcmk_output.c                                  PCMK_XA_TICKET, ticket,
ticket             32 lib/pacemaker/pcmk_sched_tickets.c     pcmk_ticket_t *ticket;
ticket             71 lib/pacemaker/pcmk_sched_tickets.c     if (rsc_ticket->ticket->granted && !rsc_ticket->ticket->standby) {
ticket             84 lib/pacemaker/pcmk_sched_tickets.c                     rsc->id, rsc_ticket->ticket->id, rsc_ticket->id,
ticket             87 lib/pacemaker/pcmk_sched_tickets.c     if (!rsc_ticket->ticket->granted && (rsc->running_on != NULL)) {
ticket            128 lib/pacemaker/pcmk_sched_tickets.c     } else if (!rsc_ticket->ticket->granted) {
ticket            136 lib/pacemaker/pcmk_sched_tickets.c     } else if (rsc_ticket->ticket->standby) {
ticket            147 lib/pacemaker/pcmk_sched_tickets.c rsc_ticket_new(const char *id, pcmk_resource_t *rsc, pcmk_ticket_t *ticket,
ticket            169 lib/pacemaker/pcmk_sched_tickets.c     new_rsc_ticket->ticket = ticket;
ticket            179 lib/pacemaker/pcmk_sched_tickets.c                              "because fencing is not configured", ticket->id);
ticket            186 lib/pacemaker/pcmk_sched_tickets.c                   new_rsc_ticket->ticket->id, new_rsc_ticket->rsc->id,
ticket            191 lib/pacemaker/pcmk_sched_tickets.c                   new_rsc_ticket->ticket->id, new_rsc_ticket->rsc->id,
ticket            197 lib/pacemaker/pcmk_sched_tickets.c                   new_rsc_ticket->ticket->id, new_rsc_ticket->rsc->id,
ticket            203 lib/pacemaker/pcmk_sched_tickets.c                   new_rsc_ticket->ticket->id, new_rsc_ticket->rsc->id,
ticket            210 lib/pacemaker/pcmk_sched_tickets.c                       new_rsc_ticket->ticket->id, new_rsc_ticket->rsc->id,
ticket            216 lib/pacemaker/pcmk_sched_tickets.c                       new_rsc_ticket->ticket->id, new_rsc_ticket->rsc->id,
ticket            223 lib/pacemaker/pcmk_sched_tickets.c                     rsc->id, pcmk_role_text(new_rsc_ticket->role), ticket->id);
ticket            230 lib/pacemaker/pcmk_sched_tickets.c     if (!(new_rsc_ticket->ticket->granted) || new_rsc_ticket->ticket->standby) {
ticket            237 lib/pacemaker/pcmk_sched_tickets.c unpack_rsc_ticket_set(xmlNode *set, pcmk_ticket_t *ticket,
ticket            244 lib/pacemaker/pcmk_sched_tickets.c     CRM_CHECK(ticket != NULL, return EINVAL);
ticket            269 lib/pacemaker/pcmk_sched_tickets.c                         resource->id, ticket->id);
ticket            270 lib/pacemaker/pcmk_sched_tickets.c         rsc_ticket_new(set_id, resource, ticket, role, loss_policy);
ticket            283 lib/pacemaker/pcmk_sched_tickets.c     pcmk_ticket_t *ticket = NULL;
ticket            313 lib/pacemaker/pcmk_sched_tickets.c         ticket = g_hash_table_lookup(scheduler->tickets, ticket_str);
ticket            316 lib/pacemaker/pcmk_sched_tickets.c     if (ticket == NULL) {
ticket            351 lib/pacemaker/pcmk_sched_tickets.c     rsc_ticket_new(id, rsc, ticket, state, loss_policy);
ticket            441 lib/pacemaker/pcmk_sched_tickets.c     pcmk_ticket_t *ticket = NULL;
ticket            464 lib/pacemaker/pcmk_sched_tickets.c         ticket = g_hash_table_lookup(scheduler->tickets, ticket_str);
ticket            467 lib/pacemaker/pcmk_sched_tickets.c     if (ticket == NULL) {
ticket            468 lib/pacemaker/pcmk_sched_tickets.c         ticket = ticket_new(ticket_str, scheduler);
ticket            469 lib/pacemaker/pcmk_sched_tickets.c         if (ticket == NULL) {
ticket            493 lib/pacemaker/pcmk_sched_tickets.c             || (unpack_rsc_ticket_set(set, ticket, loss_policy,
ticket            528 lib/pacemaker/pcmk_sched_tickets.c             && (!rsc_ticket->ticket->granted || rsc_ticket->ticket->standby)) {
ticket             57 lib/pacemaker/pcmk_ticket.c     pcmk_ticket_t *ticket = g_hash_table_lookup(scheduler->tickets, ticket_id);
ticket             64 lib/pacemaker/pcmk_ticket.c             && (ticket == NULL || ticket->granted == FALSE)
ticket            193 lib/pacemaker/pcmk_ticket.c         pcmk_ticket_t *ticket = g_hash_table_lookup(scheduler->tickets, ticket_id);
ticket            195 lib/pacemaker/pcmk_ticket.c         if (ticket == NULL) {
ticket            199 lib/pacemaker/pcmk_ticket.c         if (ticket->granted) {
ticket            265 lib/pacemaker/pcmk_ticket.c     pcmk_ticket_t *ticket = NULL;
ticket            273 lib/pacemaker/pcmk_ticket.c     ticket = g_hash_table_lookup(scheduler->tickets, ticket_id);
ticket            275 lib/pacemaker/pcmk_ticket.c     if (ticket != NULL) {
ticket            276 lib/pacemaker/pcmk_ticket.c         attr_value = g_hash_table_lookup(ticket->state, attr_name);
ticket            321 lib/pacemaker/pcmk_ticket.c         pcmk_ticket_t *ticket = g_hash_table_lookup(scheduler->tickets, ticket_id);
ticket            323 lib/pacemaker/pcmk_ticket.c         if (ticket == NULL) {
ticket            331 lib/pacemaker/pcmk_ticket.c         g_hash_table_insert(tickets, strdup(ticket->id), ticket);
ticket           3200 lib/pengine/pe_output.c     pcmk_ticket_t *ticket = va_arg(args, pcmk_ticket_t *);
ticket           3207 lib/pengine/pe_output.c         out->list_item(out, ticket->id, "%s", ticket->id);
ticket           3211 lib/pengine/pe_output.c     if (details && g_hash_table_size(ticket->state) > 0) {
ticket           3220 lib/pengine/pe_output.c         g_hash_table_iter_init(&iter, ticket->state);
ticket           3245 lib/pengine/pe_output.c     if (ticket->last_granted > -1) {
ticket           3258 lib/pengine/pe_output.c             char *epoch_str = pcmk__epoch2str(&(ticket->last_granted), 0);
ticket           3261 lib/pengine/pe_output.c                            ticket->id,
ticket           3262 lib/pengine/pe_output.c                            (ticket->granted? "granted" : "revoked"),
ticket           3263 lib/pengine/pe_output.c                            (ticket->standby? " [standby]" : ""),
ticket           3268 lib/pengine/pe_output.c                            ticket->id,
ticket           3269 lib/pengine/pe_output.c                            (ticket->granted? "granted" : "revoked"),
ticket           3270 lib/pengine/pe_output.c                            (ticket->standby? " [standby]" : ""),
ticket           3274 lib/pengine/pe_output.c         out->list_item(out, NULL, "%s\t%s%s%s", ticket->id,
ticket           3275 lib/pengine/pe_output.c                        ticket->granted ? "granted" : "revoked",
ticket           3276 lib/pengine/pe_output.c                        ticket->standby ? " [standby]" : "",
ticket           3290 lib/pengine/pe_output.c     pcmk_ticket_t *ticket = va_arg(args, pcmk_ticket_t *);
ticket           3295 lib/pengine/pe_output.c     const char *standby = pcmk__btoa(ticket->standby);
ticket           3302 lib/pengine/pe_output.c     status = ticket->granted? PCMK_VALUE_GRANTED : PCMK_VALUE_REVOKED;
ticket           3305 lib/pengine/pe_output.c                                         PCMK_XA_ID, ticket->id,
ticket           3310 lib/pengine/pe_output.c     if (ticket->last_granted > -1) {
ticket           3311 lib/pengine/pe_output.c         char *buf = pcmk__epoch2str(&ticket->last_granted, 0);
ticket           3317 lib/pengine/pe_output.c     g_hash_table_iter_init(&iter, ticket->state);
ticket           3356 lib/pengine/pe_output.c         pcmk_ticket_t *ticket = (pcmk_ticket_t *) value;
ticket           3357 lib/pengine/pe_output.c         out->message(out, "ticket", ticket, raw, details);
ticket           1006 lib/pengine/unpack.c     pcmk_ticket_t *ticket = NULL;
ticket           1015 lib/pengine/unpack.c     ticket = g_hash_table_lookup(scheduler->tickets, ticket_id);
ticket           1016 lib/pengine/unpack.c     if (ticket == NULL) {
ticket           1017 lib/pengine/unpack.c         ticket = ticket_new(ticket_id, scheduler);
ticket           1018 lib/pengine/unpack.c         if (ticket == NULL) {
ticket           1030 lib/pengine/unpack.c         pcmk__insert_dup(ticket->state, prop_name, prop_value);
ticket           1033 lib/pengine/unpack.c     granted = g_hash_table_lookup(ticket->state, PCMK__XA_GRANTED);
ticket           1035 lib/pengine/unpack.c         ticket->granted = TRUE;
ticket           1036 lib/pengine/unpack.c         crm_info("We have ticket '%s'", ticket->id);
ticket           1038 lib/pengine/unpack.c         ticket->granted = FALSE;
ticket           1039 lib/pengine/unpack.c         crm_info("We do not have ticket '%s'", ticket->id);
ticket           1042 lib/pengine/unpack.c     last_granted = g_hash_table_lookup(ticket->state, PCMK_XA_LAST_GRANTED);
ticket           1047 lib/pengine/unpack.c         ticket->last_granted = (time_t) last_granted_ll;
ticket           1050 lib/pengine/unpack.c     standby = g_hash_table_lookup(ticket->state, PCMK_XA_STANDBY);
ticket           1052 lib/pengine/unpack.c         ticket->standby = TRUE;
ticket           1053 lib/pengine/unpack.c         if (ticket->granted) {
ticket           1054 lib/pengine/unpack.c             crm_info("Granted ticket '%s' is in standby-mode", ticket->id);
ticket           1057 lib/pengine/unpack.c         ticket->standby = FALSE;
ticket            507 lib/pengine/utils.c     pcmk_ticket_t *ticket = data;
ticket            509 lib/pengine/utils.c     if (ticket->state) {
ticket            510 lib/pengine/utils.c         g_hash_table_destroy(ticket->state);
ticket            512 lib/pengine/utils.c     free(ticket->id);
ticket            513 lib/pengine/utils.c     free(ticket);
ticket            519 lib/pengine/utils.c     pcmk_ticket_t *ticket = NULL;
ticket            529 lib/pengine/utils.c     ticket = g_hash_table_lookup(scheduler->tickets, ticket_id);
ticket            530 lib/pengine/utils.c     if (ticket == NULL) {
ticket            532 lib/pengine/utils.c         ticket = calloc(1, sizeof(pcmk_ticket_t));
ticket            533 lib/pengine/utils.c         if (ticket == NULL) {
ticket            540 lib/pengine/utils.c         ticket->id = strdup(ticket_id);
ticket            541 lib/pengine/utils.c         ticket->granted = FALSE;
ticket            542 lib/pengine/utils.c         ticket->last_granted = -1;
ticket            543 lib/pengine/utils.c         ticket->standby = FALSE;
ticket            544 lib/pengine/utils.c         ticket->state = pcmk__strkey_table(free, free);
ticket            546 lib/pengine/utils.c         g_hash_table_insert(scheduler->tickets, strdup(ticket->id), ticket);
ticket            549 lib/pengine/utils.c     return ticket;