new_rsc_ticket 154 lib/pacemaker/pcmk_sched_tickets.c rsc_ticket_t *new_rsc_ticket = NULL; new_rsc_ticket 162 lib/pacemaker/pcmk_sched_tickets.c new_rsc_ticket = calloc(1, sizeof(rsc_ticket_t)); new_rsc_ticket 163 lib/pacemaker/pcmk_sched_tickets.c if (new_rsc_ticket == NULL) { new_rsc_ticket 172 lib/pacemaker/pcmk_sched_tickets.c new_rsc_ticket->id = id; new_rsc_ticket 173 lib/pacemaker/pcmk_sched_tickets.c new_rsc_ticket->ticket = ticket; new_rsc_ticket 174 lib/pacemaker/pcmk_sched_tickets.c new_rsc_ticket->rsc = rsc; new_rsc_ticket 175 lib/pacemaker/pcmk_sched_tickets.c new_rsc_ticket->role = text2role(state); new_rsc_ticket 179 lib/pacemaker/pcmk_sched_tickets.c new_rsc_ticket->loss_policy = loss_ticket_fence; new_rsc_ticket 188 lib/pacemaker/pcmk_sched_tickets.c if (new_rsc_ticket->loss_policy == loss_ticket_fence) { new_rsc_ticket 190 lib/pacemaker/pcmk_sched_tickets.c new_rsc_ticket->ticket->id, new_rsc_ticket->rsc->id, new_rsc_ticket 191 lib/pacemaker/pcmk_sched_tickets.c role2text(new_rsc_ticket->role)); new_rsc_ticket 195 lib/pacemaker/pcmk_sched_tickets.c new_rsc_ticket->ticket->id, new_rsc_ticket->rsc->id, new_rsc_ticket 196 lib/pacemaker/pcmk_sched_tickets.c role2text(new_rsc_ticket->role)); new_rsc_ticket 197 lib/pacemaker/pcmk_sched_tickets.c new_rsc_ticket->loss_policy = loss_ticket_freeze; new_rsc_ticket 201 lib/pacemaker/pcmk_sched_tickets.c new_rsc_ticket->ticket->id, new_rsc_ticket->rsc->id, new_rsc_ticket 202 lib/pacemaker/pcmk_sched_tickets.c role2text(new_rsc_ticket->role)); new_rsc_ticket 203 lib/pacemaker/pcmk_sched_tickets.c new_rsc_ticket->loss_policy = loss_ticket_demote; new_rsc_ticket 207 lib/pacemaker/pcmk_sched_tickets.c new_rsc_ticket->ticket->id, new_rsc_ticket->rsc->id, new_rsc_ticket 208 lib/pacemaker/pcmk_sched_tickets.c role2text(new_rsc_ticket->role)); new_rsc_ticket 209 lib/pacemaker/pcmk_sched_tickets.c new_rsc_ticket->loss_policy = loss_ticket_stop; new_rsc_ticket 212 lib/pacemaker/pcmk_sched_tickets.c if (new_rsc_ticket->role == RSC_ROLE_PROMOTED) { new_rsc_ticket 214 lib/pacemaker/pcmk_sched_tickets.c new_rsc_ticket->ticket->id, new_rsc_ticket->rsc->id, new_rsc_ticket 215 lib/pacemaker/pcmk_sched_tickets.c role2text(new_rsc_ticket->role)); new_rsc_ticket 216 lib/pacemaker/pcmk_sched_tickets.c new_rsc_ticket->loss_policy = loss_ticket_demote; new_rsc_ticket 220 lib/pacemaker/pcmk_sched_tickets.c new_rsc_ticket->ticket->id, new_rsc_ticket->rsc->id, new_rsc_ticket 221 lib/pacemaker/pcmk_sched_tickets.c role2text(new_rsc_ticket->role)); new_rsc_ticket 222 lib/pacemaker/pcmk_sched_tickets.c new_rsc_ticket->loss_policy = loss_ticket_stop; new_rsc_ticket 227 lib/pacemaker/pcmk_sched_tickets.c rsc->id, role2text(new_rsc_ticket->role), ticket->id); new_rsc_ticket 229 lib/pacemaker/pcmk_sched_tickets.c rsc->rsc_tickets = g_list_append(rsc->rsc_tickets, new_rsc_ticket); new_rsc_ticket 232 lib/pacemaker/pcmk_sched_tickets.c new_rsc_ticket); new_rsc_ticket 234 lib/pacemaker/pcmk_sched_tickets.c if (!(new_rsc_ticket->ticket->granted) || new_rsc_ticket->ticket->standby) { new_rsc_ticket 235 lib/pacemaker/pcmk_sched_tickets.c constraints_for_ticket(rsc, new_rsc_ticket, data_set);