new_rsc_ticket 139 lib/pacemaker/pcmk_sched_tickets.c rsc_ticket_t *new_rsc_ticket = NULL; new_rsc_ticket 147 lib/pacemaker/pcmk_sched_tickets.c new_rsc_ticket = calloc(1, sizeof(rsc_ticket_t)); new_rsc_ticket 148 lib/pacemaker/pcmk_sched_tickets.c if (new_rsc_ticket == NULL) { new_rsc_ticket 157 lib/pacemaker/pcmk_sched_tickets.c new_rsc_ticket->id = id; new_rsc_ticket 158 lib/pacemaker/pcmk_sched_tickets.c new_rsc_ticket->ticket = ticket; new_rsc_ticket 159 lib/pacemaker/pcmk_sched_tickets.c new_rsc_ticket->rsc_lh = rsc_lh; new_rsc_ticket 160 lib/pacemaker/pcmk_sched_tickets.c new_rsc_ticket->role_lh = text2role(state_lh); new_rsc_ticket 164 lib/pacemaker/pcmk_sched_tickets.c new_rsc_ticket->loss_policy = loss_ticket_fence; new_rsc_ticket 173 lib/pacemaker/pcmk_sched_tickets.c if (new_rsc_ticket->loss_policy == loss_ticket_fence) { new_rsc_ticket 175 lib/pacemaker/pcmk_sched_tickets.c new_rsc_ticket->ticket->id, new_rsc_ticket->rsc_lh->id, new_rsc_ticket 176 lib/pacemaker/pcmk_sched_tickets.c role2text(new_rsc_ticket->role_lh)); new_rsc_ticket 180 lib/pacemaker/pcmk_sched_tickets.c new_rsc_ticket->ticket->id, new_rsc_ticket->rsc_lh->id, new_rsc_ticket 181 lib/pacemaker/pcmk_sched_tickets.c role2text(new_rsc_ticket->role_lh)); new_rsc_ticket 182 lib/pacemaker/pcmk_sched_tickets.c new_rsc_ticket->loss_policy = loss_ticket_freeze; new_rsc_ticket 186 lib/pacemaker/pcmk_sched_tickets.c new_rsc_ticket->ticket->id, new_rsc_ticket->rsc_lh->id, new_rsc_ticket 187 lib/pacemaker/pcmk_sched_tickets.c role2text(new_rsc_ticket->role_lh)); new_rsc_ticket 188 lib/pacemaker/pcmk_sched_tickets.c new_rsc_ticket->loss_policy = loss_ticket_demote; new_rsc_ticket 192 lib/pacemaker/pcmk_sched_tickets.c new_rsc_ticket->ticket->id, new_rsc_ticket->rsc_lh->id, new_rsc_ticket 193 lib/pacemaker/pcmk_sched_tickets.c role2text(new_rsc_ticket->role_lh)); new_rsc_ticket 194 lib/pacemaker/pcmk_sched_tickets.c new_rsc_ticket->loss_policy = loss_ticket_stop; new_rsc_ticket 197 lib/pacemaker/pcmk_sched_tickets.c if (new_rsc_ticket->role_lh == RSC_ROLE_PROMOTED) { new_rsc_ticket 199 lib/pacemaker/pcmk_sched_tickets.c new_rsc_ticket->ticket->id, new_rsc_ticket->rsc_lh->id, new_rsc_ticket 200 lib/pacemaker/pcmk_sched_tickets.c role2text(new_rsc_ticket->role_lh)); new_rsc_ticket 201 lib/pacemaker/pcmk_sched_tickets.c new_rsc_ticket->loss_policy = loss_ticket_demote; new_rsc_ticket 205 lib/pacemaker/pcmk_sched_tickets.c new_rsc_ticket->ticket->id, new_rsc_ticket->rsc_lh->id, new_rsc_ticket 206 lib/pacemaker/pcmk_sched_tickets.c role2text(new_rsc_ticket->role_lh)); new_rsc_ticket 207 lib/pacemaker/pcmk_sched_tickets.c new_rsc_ticket->loss_policy = loss_ticket_stop; new_rsc_ticket 212 lib/pacemaker/pcmk_sched_tickets.c rsc_lh->id, role2text(new_rsc_ticket->role_lh), ticket->id); new_rsc_ticket 214 lib/pacemaker/pcmk_sched_tickets.c rsc_lh->rsc_tickets = g_list_append(rsc_lh->rsc_tickets, new_rsc_ticket); new_rsc_ticket 217 lib/pacemaker/pcmk_sched_tickets.c new_rsc_ticket); new_rsc_ticket 219 lib/pacemaker/pcmk_sched_tickets.c if (!(new_rsc_ticket->ticket->granted) || new_rsc_ticket->ticket->standby) { new_rsc_ticket 220 lib/pacemaker/pcmk_sched_tickets.c constraints_for_ticket(rsc_lh, new_rsc_ticket, data_set);