rsc_ticket 47 lib/pacemaker/pcmk_sched_tickets.c ticket_role_matches(const pcmk_resource_t *rsc, const rsc_ticket_t *rsc_ticket) rsc_ticket 49 lib/pacemaker/pcmk_sched_tickets.c if ((rsc_ticket->role == pcmk_role_unknown) rsc_ticket 50 lib/pacemaker/pcmk_sched_tickets.c || (rsc_ticket->role == rsc->role)) { rsc_ticket 54 lib/pacemaker/pcmk_sched_tickets.c role2text(rsc_ticket->role)); rsc_ticket 65 lib/pacemaker/pcmk_sched_tickets.c constraints_for_ticket(pcmk_resource_t *rsc, const rsc_ticket_t *rsc_ticket) rsc_ticket 69 lib/pacemaker/pcmk_sched_tickets.c CRM_CHECK((rsc != NULL) && (rsc_ticket != NULL), return); rsc_ticket 71 lib/pacemaker/pcmk_sched_tickets.c if (rsc_ticket->ticket->granted && !rsc_ticket->ticket->standby) { rsc_ticket 78 lib/pacemaker/pcmk_sched_tickets.c constraints_for_ticket((pcmk_resource_t *) iter->data, rsc_ticket); rsc_ticket 84 lib/pacemaker/pcmk_sched_tickets.c rsc->id, rsc_ticket->ticket->id, rsc_ticket->id, rsc_ticket 85 lib/pacemaker/pcmk_sched_tickets.c role2text(rsc_ticket->role)); rsc_ticket 87 lib/pacemaker/pcmk_sched_tickets.c if (!rsc_ticket->ticket->granted && (rsc->running_on != NULL)) { rsc_ticket 89 lib/pacemaker/pcmk_sched_tickets.c switch (rsc_ticket->loss_policy) { rsc_ticket 97 lib/pacemaker/pcmk_sched_tickets.c if (rsc_ticket->role != pcmk_role_promoted) { rsc_ticket 104 lib/pacemaker/pcmk_sched_tickets.c if (!ticket_role_matches(rsc, rsc_ticket)) { rsc_ticket 118 lib/pacemaker/pcmk_sched_tickets.c if (!ticket_role_matches(rsc, rsc_ticket)) { rsc_ticket 128 lib/pacemaker/pcmk_sched_tickets.c } else if (!rsc_ticket->ticket->granted) { rsc_ticket 130 lib/pacemaker/pcmk_sched_tickets.c if ((rsc_ticket->role != pcmk_role_promoted) rsc_ticket 131 lib/pacemaker/pcmk_sched_tickets.c || (rsc_ticket->loss_policy == loss_ticket_stop)) { rsc_ticket 136 lib/pacemaker/pcmk_sched_tickets.c } else if (rsc_ticket->ticket->standby) { rsc_ticket 138 lib/pacemaker/pcmk_sched_tickets.c if ((rsc_ticket->role != pcmk_role_promoted) rsc_ticket 139 lib/pacemaker/pcmk_sched_tickets.c || (rsc_ticket->loss_policy == loss_ticket_stop)) { rsc_ticket 523 lib/pacemaker/pcmk_sched_tickets.c rsc_ticket_t *rsc_ticket = (rsc_ticket_t *) item->data; rsc_ticket 525 lib/pacemaker/pcmk_sched_tickets.c if ((rsc_ticket->role == pcmk_role_promoted) rsc_ticket 526 lib/pacemaker/pcmk_sched_tickets.c && (!rsc_ticket->ticket->granted || rsc_ticket->ticket->standby)) {