injections 118 include/pacemaker.h void pcmk_free_injections(pcmk_injections_t *injections); injections 254 include/pacemaker.h const pcmk_injections_t *injections, unsigned int flags, injections 84 include/pcmki/pcmki_simulate.h const pcmk_injections_t *injections, unsigned int flags, injections 444 lib/pacemaker/libpacemaker_private.h const pcmk_injections_t *injections); injections 633 lib/pacemaker/pcmk_injections.c const pcmk_injections_t *injections) injections 640 lib/pacemaker/pcmk_injections.c out->message(out, "inject-modify-config", injections->quorum, injections 641 lib/pacemaker/pcmk_injections.c injections->watchdog); injections 642 lib/pacemaker/pcmk_injections.c if (injections->quorum != NULL) { injections 646 lib/pacemaker/pcmk_injections.c crm_xml_add(top, PCMK_XA_HAVE_QUORUM, injections->quorum); injections 652 lib/pacemaker/pcmk_injections.c if (injections->watchdog != NULL) { injections 656 lib/pacemaker/pcmk_injections.c injections->watchdog, NULL, NULL); injections 660 lib/pacemaker/pcmk_injections.c for (iter = injections->node_up; iter != NULL; iter = iter->next) { injections 674 lib/pacemaker/pcmk_injections.c for (iter = injections->node_down; iter != NULL; iter = iter->next) { injections 705 lib/pacemaker/pcmk_injections.c for (iter = injections->node_fail; iter != NULL; iter = iter->next) { injections 720 lib/pacemaker/pcmk_injections.c for (iter = injections->ticket_grant; iter != NULL; iter = iter->next) { injections 729 lib/pacemaker/pcmk_injections.c for (iter = injections->ticket_revoke; iter != NULL; iter = iter->next) { injections 739 lib/pacemaker/pcmk_injections.c for (iter = injections->ticket_standby; iter != NULL; iter = iter->next) { injections 748 lib/pacemaker/pcmk_injections.c for (iter = injections->ticket_activate; iter != NULL; iter = iter->next) { injections 757 lib/pacemaker/pcmk_injections.c for (iter = injections->op_inject; iter != NULL; iter = iter->next) { injections 767 lib/pacemaker/pcmk_injections.c pcmk_free_injections(pcmk_injections_t *injections) injections 769 lib/pacemaker/pcmk_injections.c if (injections == NULL) { injections 773 lib/pacemaker/pcmk_injections.c g_list_free_full(injections->node_up, g_free); injections 774 lib/pacemaker/pcmk_injections.c g_list_free_full(injections->node_down, g_free); injections 775 lib/pacemaker/pcmk_injections.c g_list_free_full(injections->node_fail, g_free); injections 776 lib/pacemaker/pcmk_injections.c g_list_free_full(injections->op_fail, g_free); injections 777 lib/pacemaker/pcmk_injections.c g_list_free_full(injections->op_inject, g_free); injections 778 lib/pacemaker/pcmk_injections.c g_list_free_full(injections->ticket_grant, g_free); injections 779 lib/pacemaker/pcmk_injections.c g_list_free_full(injections->ticket_revoke, g_free); injections 780 lib/pacemaker/pcmk_injections.c g_list_free_full(injections->ticket_standby, g_free); injections 781 lib/pacemaker/pcmk_injections.c g_list_free_full(injections->ticket_activate, g_free); injections 782 lib/pacemaker/pcmk_injections.c free(injections->quorum); injections 783 lib/pacemaker/pcmk_injections.c free(injections->watchdog); injections 785 lib/pacemaker/pcmk_injections.c free(injections); injections 796 lib/pacemaker/pcmk_simulate.c const pcmk_injections_t *injections, unsigned int flags, injections 850 lib/pacemaker/pcmk_simulate.c if ((injections->node_down != NULL) injections 851 lib/pacemaker/pcmk_simulate.c || (injections->node_fail != NULL) injections 852 lib/pacemaker/pcmk_simulate.c || (injections->node_up != NULL) injections 853 lib/pacemaker/pcmk_simulate.c || (injections->op_inject != NULL) injections 854 lib/pacemaker/pcmk_simulate.c || (injections->ticket_activate != NULL) injections 855 lib/pacemaker/pcmk_simulate.c || (injections->ticket_grant != NULL) injections 856 lib/pacemaker/pcmk_simulate.c || (injections->ticket_revoke != NULL) injections 857 lib/pacemaker/pcmk_simulate.c || (injections->ticket_standby != NULL) injections 858 lib/pacemaker/pcmk_simulate.c || (injections->watchdog != NULL)) { injections 861 lib/pacemaker/pcmk_simulate.c pcmk__inject_scheduler_input(scheduler, cib, injections); injections 964 lib/pacemaker/pcmk_simulate.c if (pcmk__simulate_transition(scheduler, cib, injections->op_fail) injections 993 lib/pacemaker/pcmk_simulate.c const pcmk_injections_t *injections, unsigned int flags, injections 1009 lib/pacemaker/pcmk_simulate.c rc = pcmk__simulate(scheduler, out, injections, flags, section_opts, injections 42 tools/crm_simulate.c pcmk_injections_t *injections; injections 106 tools/crm_simulate.c options.injections->node_down = g_list_append(options.injections->node_down, g_strdup(optarg)); injections 112 tools/crm_simulate.c options.injections->node_fail = g_list_append(options.injections->node_fail, g_strdup(optarg)); injections 119 tools/crm_simulate.c options.injections->node_up = g_list_append(options.injections->node_up, g_strdup(optarg)); injections 126 tools/crm_simulate.c options.injections->op_fail = g_list_append(options.injections->op_fail, g_strdup(optarg)); injections 132 tools/crm_simulate.c options.injections->op_inject = g_list_append(options.injections->op_inject, g_strdup(optarg)); injections 150 tools/crm_simulate.c pcmk__str_update(&options.injections->quorum, optarg); injections 182 tools/crm_simulate.c options.injections->ticket_activate = g_list_append(options.injections->ticket_activate, g_strdup(optarg)); injections 188 tools/crm_simulate.c options.injections->ticket_grant = g_list_append(options.injections->ticket_grant, g_strdup(optarg)); injections 194 tools/crm_simulate.c options.injections->ticket_revoke = g_list_append(options.injections->ticket_revoke, g_strdup(optarg)); injections 200 tools/crm_simulate.c options.injections->ticket_standby = g_list_append(options.injections->ticket_standby, g_strdup(optarg)); injections 212 tools/crm_simulate.c pcmk__str_update(&options.injections->watchdog, optarg); injections 469 tools/crm_simulate.c options.injections = calloc(1, sizeof(pcmk_injections_t)); injections 470 tools/crm_simulate.c if (options.injections == NULL) { injections 550 tools/crm_simulate.c rc = pcmk__simulate(scheduler, out, options.injections, options.flags, injections 566 tools/crm_simulate.c pcmk_free_injections(options.injections);