injections 107 include/pacemaker.h void pcmk_free_injections(pcmk_injections_t *injections); injections 172 include/pacemaker.h pcmk_injections_t *injections, unsigned int flags, injections 85 include/pcmki/pcmki_simulate.h pcmk_injections_t *injections, unsigned int flags, injections 326 lib/pacemaker/libpacemaker_private.h pcmk_injections_t *injections); injections 603 lib/pacemaker/pcmk_injections.c pcmk_injections_t *injections) injections 610 lib/pacemaker/pcmk_injections.c out->message(out, "inject-modify-config", injections->quorum, injections 611 lib/pacemaker/pcmk_injections.c injections->watchdog); injections 612 lib/pacemaker/pcmk_injections.c if (injections->quorum != NULL) { injections 616 lib/pacemaker/pcmk_injections.c crm_xml_add(top, XML_ATTR_HAVE_QUORUM, injections->quorum); injections 622 lib/pacemaker/pcmk_injections.c if (injections->watchdog != NULL) { injections 625 lib/pacemaker/pcmk_injections.c XML_ATTR_HAVE_WATCHDOG, injections->watchdog, injections 630 lib/pacemaker/pcmk_injections.c for (iter = injections->node_up; iter != NULL; iter = iter->next) { injections 644 lib/pacemaker/pcmk_injections.c for (iter = injections->node_down; iter != NULL; iter = iter->next) { injections 671 lib/pacemaker/pcmk_injections.c for (iter = injections->node_fail; iter != NULL; iter = iter->next) { injections 686 lib/pacemaker/pcmk_injections.c for (iter = injections->ticket_grant; iter != NULL; iter = iter->next) { injections 695 lib/pacemaker/pcmk_injections.c for (iter = injections->ticket_revoke; iter != NULL; iter = iter->next) { injections 704 lib/pacemaker/pcmk_injections.c for (iter = injections->ticket_standby; iter != NULL; iter = iter->next) { injections 713 lib/pacemaker/pcmk_injections.c for (iter = injections->ticket_activate; iter != NULL; iter = iter->next) { injections 722 lib/pacemaker/pcmk_injections.c for (iter = injections->op_inject; iter != NULL; iter = iter->next) { injections 732 lib/pacemaker/pcmk_injections.c pcmk_free_injections(pcmk_injections_t *injections) injections 734 lib/pacemaker/pcmk_injections.c if (injections == NULL) { injections 738 lib/pacemaker/pcmk_injections.c g_list_free_full(injections->node_up, g_free); injections 739 lib/pacemaker/pcmk_injections.c g_list_free_full(injections->node_down, g_free); injections 740 lib/pacemaker/pcmk_injections.c g_list_free_full(injections->node_fail, g_free); injections 741 lib/pacemaker/pcmk_injections.c g_list_free_full(injections->op_fail, g_free); injections 742 lib/pacemaker/pcmk_injections.c g_list_free_full(injections->op_inject, g_free); injections 743 lib/pacemaker/pcmk_injections.c g_list_free_full(injections->ticket_grant, g_free); injections 744 lib/pacemaker/pcmk_injections.c g_list_free_full(injections->ticket_revoke, g_free); injections 745 lib/pacemaker/pcmk_injections.c g_list_free_full(injections->ticket_standby, g_free); injections 746 lib/pacemaker/pcmk_injections.c g_list_free_full(injections->ticket_activate, g_free); injections 747 lib/pacemaker/pcmk_injections.c free(injections->quorum); injections 748 lib/pacemaker/pcmk_injections.c free(injections->watchdog); injections 750 lib/pacemaker/pcmk_injections.c free(injections); injections 782 lib/pacemaker/pcmk_simulate.c pcmk_injections_t *injections, unsigned int flags, injections 825 lib/pacemaker/pcmk_simulate.c if ((injections->node_down != NULL) injections 826 lib/pacemaker/pcmk_simulate.c || (injections->node_fail != NULL) injections 827 lib/pacemaker/pcmk_simulate.c || (injections->node_up != NULL) injections 828 lib/pacemaker/pcmk_simulate.c || (injections->op_inject != NULL) injections 829 lib/pacemaker/pcmk_simulate.c || (injections->ticket_activate != NULL) injections 830 lib/pacemaker/pcmk_simulate.c || (injections->ticket_grant != NULL) injections 831 lib/pacemaker/pcmk_simulate.c || (injections->ticket_revoke != NULL) injections 832 lib/pacemaker/pcmk_simulate.c || (injections->ticket_standby != NULL) injections 833 lib/pacemaker/pcmk_simulate.c || (injections->watchdog != NULL)) { injections 836 lib/pacemaker/pcmk_simulate.c pcmk__inject_scheduler_input(data_set, cib, injections); injections 939 lib/pacemaker/pcmk_simulate.c injections->op_fail) != pcmk__graph_complete) { injections 967 lib/pacemaker/pcmk_simulate.c pcmk_injections_t *injections, unsigned int flags, injections 982 lib/pacemaker/pcmk_simulate.c rc = pcmk__simulate(data_set, out, injections, flags, section_opts, injections 41 tools/crm_simulate.c pcmk_injections_t *injections; injections 105 tools/crm_simulate.c options.injections->node_down = g_list_append(options.injections->node_down, g_strdup(optarg)); injections 111 tools/crm_simulate.c options.injections->node_fail = g_list_append(options.injections->node_fail, g_strdup(optarg)); injections 118 tools/crm_simulate.c options.injections->node_up = g_list_append(options.injections->node_up, g_strdup(optarg)); injections 125 tools/crm_simulate.c options.injections->op_fail = g_list_append(options.injections->op_fail, g_strdup(optarg)); injections 131 tools/crm_simulate.c options.injections->op_inject = g_list_append(options.injections->op_inject, g_strdup(optarg)); injections 149 tools/crm_simulate.c pcmk__str_update(&options.injections->quorum, optarg); injections 181 tools/crm_simulate.c options.injections->ticket_activate = g_list_append(options.injections->ticket_activate, g_strdup(optarg)); injections 187 tools/crm_simulate.c options.injections->ticket_grant = g_list_append(options.injections->ticket_grant, g_strdup(optarg)); injections 193 tools/crm_simulate.c options.injections->ticket_revoke = g_list_append(options.injections->ticket_revoke, g_strdup(optarg)); injections 199 tools/crm_simulate.c options.injections->ticket_standby = g_list_append(options.injections->ticket_standby, g_strdup(optarg)); injections 211 tools/crm_simulate.c pcmk__str_update(&options.injections->watchdog, optarg); injections 463 tools/crm_simulate.c options.injections = calloc(1, sizeof(pcmk_injections_t)); injections 464 tools/crm_simulate.c if (options.injections == NULL) { injections 543 tools/crm_simulate.c rc = pcmk__simulate(data_set, out, options.injections, options.flags, section_opts, injections 559 tools/crm_simulate.c pcmk_free_injections(options.injections);