rsc_ticket 382 lib/pacemaker/pcmk_sched_promotable.c rsc_ticket_t *rsc_ticket = (rsc_ticket_t *) gIter->data; rsc_ticket 384 lib/pacemaker/pcmk_sched_promotable.c if ((rsc_ticket->role_lh == RSC_ROLE_PROMOTED) rsc_ticket 385 lib/pacemaker/pcmk_sched_promotable.c && (rsc_ticket->ticket->granted == FALSE || rsc_ticket->ticket->standby)) { rsc_ticket 31 lib/pacemaker/pcmk_sched_tickets.c ticket_role_matches(pe_resource_t *rsc_lh, rsc_ticket_t *rsc_ticket) rsc_ticket 33 lib/pacemaker/pcmk_sched_tickets.c if ((rsc_ticket->role_lh == RSC_ROLE_UNKNOWN) rsc_ticket 34 lib/pacemaker/pcmk_sched_tickets.c || (rsc_ticket->role_lh == rsc_lh->role)) { rsc_ticket 38 lib/pacemaker/pcmk_sched_tickets.c role2text(rsc_ticket->role_lh)); rsc_ticket 50 lib/pacemaker/pcmk_sched_tickets.c constraints_for_ticket(pe_resource_t *rsc_lh, rsc_ticket_t *rsc_ticket, rsc_ticket 55 lib/pacemaker/pcmk_sched_tickets.c CRM_CHECK((rsc_lh != NULL) && (rsc_ticket != NULL), return); rsc_ticket 57 lib/pacemaker/pcmk_sched_tickets.c if (rsc_ticket->ticket->granted && !rsc_ticket->ticket->standby) { rsc_ticket 64 lib/pacemaker/pcmk_sched_tickets.c constraints_for_ticket((pe_resource_t *) gIter->data, rsc_ticket, rsc_ticket 71 lib/pacemaker/pcmk_sched_tickets.c rsc_lh->id, rsc_ticket->ticket->id, rsc_ticket->id, rsc_ticket 72 lib/pacemaker/pcmk_sched_tickets.c role2text(rsc_ticket->role_lh)); rsc_ticket 74 lib/pacemaker/pcmk_sched_tickets.c if (!rsc_ticket->ticket->granted && (rsc_lh->running_on != NULL)) { rsc_ticket 76 lib/pacemaker/pcmk_sched_tickets.c switch (rsc_ticket->loss_policy) { rsc_ticket 84 lib/pacemaker/pcmk_sched_tickets.c if (rsc_ticket->role_lh != RSC_ROLE_PROMOTED) { rsc_ticket 91 lib/pacemaker/pcmk_sched_tickets.c if (!ticket_role_matches(rsc_lh, rsc_ticket)) { rsc_ticket 106 lib/pacemaker/pcmk_sched_tickets.c if (!ticket_role_matches(rsc_lh, rsc_ticket)) { rsc_ticket 116 lib/pacemaker/pcmk_sched_tickets.c } else if (!rsc_ticket->ticket->granted) { rsc_ticket 118 lib/pacemaker/pcmk_sched_tickets.c if ((rsc_ticket->role_lh != RSC_ROLE_PROMOTED) rsc_ticket 119 lib/pacemaker/pcmk_sched_tickets.c || (rsc_ticket->loss_policy == loss_ticket_stop)) { rsc_ticket 124 lib/pacemaker/pcmk_sched_tickets.c } else if (rsc_ticket->ticket->standby) { rsc_ticket 126 lib/pacemaker/pcmk_sched_tickets.c if ((rsc_ticket->role_lh != RSC_ROLE_PROMOTED) rsc_ticket 127 lib/pacemaker/pcmk_sched_tickets.c || (rsc_ticket->loss_policy == loss_ticket_stop)) {